|
| | pqAnglePropertyWidget (vtkSMProxy *proxy, vtkSMPropertyGroup *smgroup, QWidget *parent=nullptr) |
| |
| | ~pqAnglePropertyWidget () override |
| |
|
| QList< QVariant > | points () const |
| | Get/Set the points that form the angle. More...
|
| |
| void | setPoints (const QList< QVariant > &points) |
| | Get/Set the points that form the angle. More...
|
| |
| | pqInteractivePropertyWidget (const char *widget_smgroup, const char *widget_smname, vtkSMProxy *proxy, vtkSMPropertyGroup *smgroup, QWidget *parent=nullptr) |
| |
| | ~pqInteractivePropertyWidget () override |
| |
| vtkSMNewWidgetRepresentationProxy * | widgetProxy () const |
| | Returns the proxy for the 3D interactive widget. More...
|
| |
| | pqInteractivePropertyWidgetAbstract (const char *widget_smgroup, const char *widget_smname, vtkSMProxy *proxy, vtkSMPropertyGroup *smgroup, QWidget *parent=nullptr) |
| |
| | ~pqInteractivePropertyWidgetAbstract () override |
| |
| void | reset () override |
| | Overridden to call this->render() to ensure that the widget is redrawn. More...
|
| |
| void | setView (pqView *view) override |
| | Overridden to show the widget proxy in the new view. More...
|
| |
| bool | isWidgetVisible () const |
| | Returns the interactive widget's visibility. More...
|
| |
| vtkSMProxy * | dataSource () const |
| | Returns the data source. More...
|
| |
| vtkBoundingBox | dataBounds (bool visibleOnly=false) const |
| | Returns bounds from the dataSource, if possible. More...
|
| |
| vtkSMPropertyGroup * | propertyGroup () const |
| | Returns the vtkSMPropertyGroup pass to the constructor. More...
|
| |
| void | hideEvent (QHideEvent *) override |
| | Overriden in order to hide the VTK widget. More...
|
| |
| void | showEvent (QShowEvent *) override |
| | Overriden in order to show the VTK widget. More...
|
| |
| void | select () override |
| | In these methods, we show/hide the widget since the interactive widget is not supposed to be visible except when the panel is "active" or "selected". More...
|
| |
| void | deselect () override |
| | In these methods, we show/hide the widget since the interactive widget is not supposed to be visible except when the panel is "active" or "selected". More...
|
| |
| void | selectPort (int portIndex) final |
| | In these methods, we show/hide the widget since the interactive widget is not supposed to be visible except when the panel is "active" or "selected". More...
|
| |
| | pqPropertyWidget (vtkSMProxy *proxy, QWidget *parent=nullptr) |
| |
| | ~pqPropertyWidget () override |
| |
| virtual void | apply () |
| |
| virtual void | updateWidget (bool showing_advanced_properties) |
| |
| pqView * | view () const |
| |
| vtkSMProxy * | proxy () const |
| |
| vtkSMProperty * | property () const |
| |
| virtual char * | panelVisibility () const |
| | Forward calls to vtkSMProperty. More...
|
| |
| virtual void | setPanelVisibility (const char *vis) |
| |
| virtual bool | isSingleRowItem () const |
| | Determines if the PropertyWidget must be constructed using a single row. More...
|
| |
| bool | showLabel () const |
| |
| const QList< QPointer< pqPropertyWidgetDecorator > > & | decorators () const |
| | Provides access to the decorators for this widget. More...
|
| |
| virtual void | setReadOnly (bool readOnly) |
| | Set widget in read-only mode. More...
|
| |
| void | setProperty (vtkSMProperty *property) |
| |
| bool | isSelected () const |
| | These methods are called by pqPropertiesPanel when the panel for proxy becomes active/deactive. More...
|
| |
|
| virtual void | setWidgetVisible (bool val) |
| | Toggle the interactive widget's visibility. More...
|
| |
| void | setDataSource (vtkSMProxy *dataSource) |
| | DataSource is used by interactive widgets to determine now to place the widget in the view e.g. More...
|
| |
| template<class T > |
| static QString | getXMLName (T *object) |
| | Description: This static utility method returns the XML name for an object as a QString. More...
|
| |
| static QString | getTooltip (vtkSMProperty *property) |
| | Returns the tooltip to use for the property. More...
|
| |
| static int | hintsWidgetHeightNumberOfRows (vtkPVXMLElement *hints, int defaultValue=10) |
| | Helper method to return value from WidgetHeight XML hint, if any. More...
|
| |
| static std::vector< std::string > | parseComponentLabels (vtkPVXMLElement *hints, unsigned int elemCount=0) |
| | Parse a XML element as a list of label to use for this widget. More...
|
| |
| vtkSMNewWidgetRepresentationProxyAbstract * | internalWidgetProxy () final |
| | Get the internal instance of the widget proxy. More...
|
| |
| void | setupConnections (vtkSMNewWidgetRepresentationProxyAbstract *widget, vtkSMPropertyGroup *smgroup, vtkSMProxy *smproxy) |
| | Setup all the links and events for the given widget and SM property group. More...
|
| |
| void | setupUserObserver (vtkSMProxy *smproxy) |
| |
| void | addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1) |
| |
| void | addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1) |
| |
| void | removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1) |
| |
| void | removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1) |
| |
| void | setShowLabel (bool show) |
| |
| void | setChangeAvailableAsChangeFinished (bool status) |
| | For most pqPropertyWidget subclasses a changeAvailable() signal, corresponds to a changeFinished() signal. More...
|
| |
| void | addDecorator (pqPropertyWidgetDecorator *) |
| | Register a decorator. More...
|
| |
| void | removeDecorator (pqPropertyWidgetDecorator *) |
| | Unregisters a decorator. More...
|
| |
| pqPropertyLinks & | links () |
| | Provides access to the pqPropertyLinks instance. More...
|
| |
| bool | VisibleState = true |
| |
| bool | WidgetVisibility = false |
| |
| int | LinkedPortIndex = -1 |
| |
pqAnglePropertyWidget is a custom property widget that uses "PolyLineWidgetRepresentation" to help users interactively set points that form an angle defined by 3 point.
To use this widget for a property group (vtkSMPropertyGroup), use "InteractiveAngle" as the "panel_widget" in the XML configuration. The property group can have properties for following functions:
HandlePositions: a repeatable 3-tuple vtkSMDoubleVectorProperty that corresponds to the property used to set the selected spline points.
Definition at line 22 of file pqAnglePropertyWidget.h.