|
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...
|
|
void | widgetVisibilityToggled (bool) |
| Fired whenever setWidgetVisible() changes the widget's visibility. More...
|
|
void | widgetVisibilityUpdated (bool) |
| Fired whenever the widgets visibility is updated for whatever reason, be it because the panel was selected/deselected or the view changed, etc. More...
|
|
void | startInteraction () |
| Signals fired when the interactive widget proxy fires the corresponding events. More...
|
|
void | interaction () |
|
void | endInteraction () |
|
void | dummySignal () |
|
void | viewChanged (pqView *view) |
| This signal is emitted when the current view changes. More...
|
|
void | changeAvailable () |
| This signal is fired as soon as the user starts editing in the widget. More...
|
|
void | changeFinished () |
| This signal is fired as soon as the user is done with making an atomic change. More...
|
|
void | restartRequired () |
| Indicates that a restart of the program is required for the setting to take effect. 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. May return an empty string. More...
|
|
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...
|
|
pqPropertyLinks & | links () |
| Provides access to the pqPropertyLinks instance. More...
|
|
pqSMProxy | dataSource |
|
pqBoxPropertyWidget is a custom property widget that uses "BoxWidgetRepresentation" to help users interactively set the origin, orientation and scale for an oriented bounding box.
To use this widget for a property group (vtkSMPropertyGroup), use "InteractiveBox" as the "panel_widget" in the XML configuration for the proxy. The property group should have properties for following functions (all of which are optional):
Position:
a 3-tuple vtkSMDoubleVectorProperty that will be linked to the translation/position of the box.
Rotation:
a 3-tuple vtkSMDoubleVectorProperty that will be linked to the orientation for the box.
Scale
: a 3-tuple vtkSMDoubleVectorProperty that will be linked to the scale for the box.
Input:
a vtkSMInputProperty that is used to get data information for bounds when placing/resetting the widget.
Note while all of the above are optional, it really doesn't make much sense to use this widget if any of them are not specified.
Definition at line 55 of file pqBoxPropertyWidget.h.