#include <vtkPVWidget.h>
Inheritance diagram for vtkPVWidget:
vtkPVWidget is a superclass for widgets that can be used to build interfaces for vtkPVSources. These widgets combine the UI of vtkKWWidgets, but can synchronize themselves with vtkObjects. When the "Accept" method is called, this widgets sets the vtkObjects ivars based on the widgets value. When the "Reset" method is called, the vtkObjects state is used to set the widgets value. When the widget has been modified, and the "Accept" method is called, the widget will save the transition in the trace file.
Definition at line 48 of file vtkPVWidget.h.
|
|
|
|
|
|
|
|
|
|
These methods are called when the Accept and Reset buttons are pressed. The copy state from VTK/PV objects to the widget and back. Most subclasses do not have to implement these methods. They implement AcceptInternal and ResetInternal instead. Only methods that copy state from PV object need to override these methods. Accept needs to add to the trace (call trace), but AcceptInternal does not. Reimplemented in vtkPVArraySelection, vtkPVContainerWidget, vtkPVItemSelection, and vtkPVSelectWidget. Definition at line 69 of file vtkPVWidget.h. |
|
These methods are called when the Accept and Reset buttons are pressed. The copy state from VTK/PV objects to the widget and back. Most subclasses do not have to implement these methods. They implement AcceptInternal and ResetInternal instead. Only methods that copy state from PV object need to override these methods. Accept needs to add to the trace (call trace), but AcceptInternal does not. Reimplemented in vtkPVSelectWidget. |
|
Called right after the widgets are created, this virtual method allows widgets to set appropriate initial values, 3d widgets to place themselves etc. Implemented in vtkPV3DWidget, vtkPVArrayMenu, vtkPVArraySelection, vtkPVBasicDSPFilterWidget, vtkPVBoundsDisplay, vtkPVBoxWidget, vtkPVCalculatorWidget, vtkPVContainerWidget, vtkPVContourEntry, vtkPVDummyWidget, vtkPVExtentEntry, vtkPVExtractDataSetsWidget, vtkPVExtractPartsWidget, vtkPVFieldMenu, vtkPVFileEntry, vtkPVGroupInputsWidget, vtkPVImplicitPlaneWidget, vtkPVInputMenu, vtkPVItemSelection, vtkPVLabeledToggle, vtkPVLineSourceWidget, vtkPVLineWidget, vtkPVMinMax, vtkPVOrientScaleWidget, vtkPVPointSourceWidget, vtkPVPointWidget, vtkPVScalarRangeLabel, vtkPVScale, vtkPVScaleFactorEntry, vtkPVSelectArrays, vtkPVSelectionList, vtkPVSelectTimeSet, vtkPVSelectWidget, vtkPVSphereWidget, vtkPVStringEntry, vtkPVTempTessellatorEntry, vtkPVThumbWheel, vtkPVVectorEntry, and vtkPVXDMFParameters. |
|
The methods get called when reset is called. It can also get called on its own. If the widget has options or configuration values dependent on the VTK object, this method set these configuation object using the VTK object. Reimplemented in vtkPVArrayMenu, vtkPVBoundsDisplay, vtkPVBoxWidget, vtkPVExtentEntry, vtkPVFieldMenu, vtkPVImplicitPlaneWidget, vtkPVInputMenu, vtkPVLineSourceWidget, vtkPVMinMax, vtkPVOrientScaleWidget, vtkPVPointSourceWidget, vtkPVScalarRangeLabel, vtkPVScaleFactorEntry, vtkPVSelectArrays, vtkPVSphereWidget, vtkPVTempTessellatorEntry, and vtkPVValueList. |
|
Overwritten by sub-classes. Any widget that contains a proxy should call UpdateVTKObjects on it in this method. Reimplemented in vtkPVImplicitPlaneWidget, and vtkPVSelectWidget. Definition at line 86 of file vtkPVWidget.h. |
|
Widgets that depend on the value of this widget can set up a dependance here. When ModifedCallback or Update is called on this widget, it will call Update on widgets in this list. I could have used event callbacks, but descided it would be easier to just keep a collection of dependances. |
|
Remove a dependent |
|
Remove all the dependents |
|
This method is called when the source that contains this widget is selected. This is empty implementation but subclasses can overwrite it. Reimplemented in vtkPV3DWidget, vtkPVContainerWidget, vtkPVInputMenu, and vtkPVSelectWidget. Definition at line 104 of file vtkPVWidget.h. |
|
This method is called when the source that contains this widget is deselected. This is empty implementation but subclasses can overwrite it. Reimplemented in vtkPV3DWidget, vtkPVContainerWidget, and vtkPVSelectWidget. Definition at line 109 of file vtkPVWidget.h. |
|
This commands is an optional action that will be called when the widget is modified. Really we should change "ModifiedFlag" to some other name, because is gets confused with vtkObject::Modified(). |
|
This commands is an optional action that will be called when the widget is modified. Really we should change "ModifiedFlag" to some other name, because is gets confused with vtkObject::Modified(). |
|
This callback gets called when the user changes the widgets value, or a script changes the widgets value. Ideally, this method should be protected. Reimplemented in vtkPVInputMenu. |
|
This callback gets called when the widget is accepted. |
|
Access to the flag that indicates whether the widgets has been modified and is out of sync with its VTK object. Reimplemented in vtkPVContainerWidget, vtkPVPointSourceWidget, and vtkPVSelectWidget. |
|
Conveniance method that casts the application to a PV application. |
|
|
This method calls "Trace" to save this widget into a state file. This method is not virtual and sublclasses do not have to implement this method. Subclasses define the interal "Trace" which works for saving state and tracing. |
|
Need the source to get the input. I would like to get rid of this ivar. It is not reference counted for fear of loops. Definition at line 148 of file vtkPVWidget.h. |
|
Need the source to get the input. I would like to get rid of this ivar. It is not reference counted for fear of loops. Definition at line 149 of file vtkPVWidget.h. |
|
Creates and returns a copy of this widget. It will create a new instance of the same type as the current object using NewInstance() and then copy some necessary state parameters. Reimplemented in vtkPVArrayMenu, vtkPVArraySelection, vtkPVBoundsDisplay, vtkPVContainerWidget, vtkPVDummyWidget, vtkPVExtentEntry, vtkPVFieldMenu, vtkPVFileEntry, vtkPVInputMenu, vtkPVItemSelection, vtkPVLabeledToggle, vtkPVLineWidget, vtkPVMinMax, vtkPVObjectWidget, vtkPVScalarRangeLabel, vtkPVScale, vtkPVSelectArrays, vtkPVSelectionList, vtkPVSelectTimeSet, vtkPVSelectWidget, vtkPVStringEntry, vtkPVThumbWheel, vtkPVVectorEntry, and vtkPVXDMFParameters. Definition at line 157 of file vtkPVWidget.h. |
|
|
Get the tcl object and the method that will be called when accepting or reseting the source. |
|
Get the tcl object and the method that will be called when accepting or reseting the source. |
|
Used by subclasses to save this widgets state into a PVScript. This method does not initialize trace variable or check modified. Implemented in vtkPV3DWidget, vtkPVArrayMenu, vtkPVArraySelection, vtkPVBasicDSPFilterWidget, vtkPVBoundsDisplay, vtkPVBoxWidget, vtkPVCalculatorWidget, vtkPVContainerWidget, vtkPVDummyWidget, vtkPVExtentEntry, vtkPVExtractDataSetsWidget, vtkPVExtractPartsWidget, vtkPVFieldMenu, vtkPVFileEntry, vtkPVGroupInputsWidget, vtkPVImplicitPlaneWidget, vtkPVInputMenu, vtkPVItemSelection, vtkPVLabeledToggle, vtkPVLineWidget, vtkPVMinMax, vtkPVOrientScaleWidget, vtkPVPickBoxWidget, vtkPVPickSphereWidget, vtkPVPointSourceWidget, vtkPVPointWidget, vtkPVScalarRangeLabel, vtkPVScale, vtkPVSelectArrays, vtkPVSelectionList, vtkPVSelectTimeSet, vtkPVSelectWidget, vtkPVSphereWidget, vtkPVStringEntry, vtkPVTempTessellatorEntry, vtkPVThumbWheel, vtkPVValueList, vtkPVVectorEntry, and vtkPVXDMFParameters. |
|
|
Set/get the SM property to use with this widget.. |
|
Set/get the SM property to use with this widget.. |
|
Need access to these so that container-type widgets can set the property name on the widgets they contain (e.g., vtkPVPointSourceWidget). |
|
Need access to these so that container-type widgets can set the property name on the widgets they contain (e.g., vtkPVPointSourceWidget). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If HideGUI is true, the widget is not shown in the property page. |
|
If true, indicates that for the vtkPVReaderModule, this is a widget that keeps the timestep. Note that a vtkPVReaderModule can have atmost one widget that keeps the timestep. |
|
|
|
|
|
|
|
|
|
Reimplemented in vtkPVArrayMenu, vtkPVBoundsDisplay, vtkPVBoxWidget, vtkPVContainerWidget, vtkPVFieldMenu, vtkPVImplicitPlaneWidget, vtkPVSelectWidget, and vtkPVSphereWidget. |
|
|
|
|
|
|
Reimplemented in vtkPVSelectTimeSet, and vtkPVTempTessellatorEntry. |
|
Reimplemented in vtkPV3DWidget, vtkPVBoxWidget, vtkPVFileEntry, vtkPVImplicitPlaneWidget, vtkPVLineWidget, vtkPVPointWidget, and vtkPVSphereWidget. |
|
|
|
|
|
Definition at line 274 of file vtkPVWidget.h. |
|
Definition at line 224 of file vtkPVWidget.h. |
|
Definition at line 225 of file vtkPVWidget.h. |
|
Definition at line 229 of file vtkPVWidget.h. |
|
Definition at line 230 of file vtkPVWidget.h. |
|
Definition at line 236 of file vtkPVWidget.h. |
|
Definition at line 241 of file vtkPVWidget.h. |
|
Definition at line 243 of file vtkPVWidget.h. |
|
Definition at line 245 of file vtkPVWidget.h. |
|
Definition at line 246 of file vtkPVWidget.h. |
|
Definition at line 248 of file vtkPVWidget.h. |
|
Definition at line 258 of file vtkPVWidget.h. |
|
Definition at line 261 of file vtkPVWidget.h. |
|
Reimplemented in vtkPV3DWidget, and vtkPVFileEntry. Definition at line 275 of file vtkPVWidget.h. |