#include <vtkPVInputMenu.h>
Inheritance diagram for vtkPVInputMenu:
Definition at line 35 of file vtkPVInputMenu.h.
|
|
|
|
|
|
|
Reimplemented from vtkPVTracedWidget. |
|
|
|
Reimplemented from vtkPVWidget. |
|
Create the widget. Reimplemented from vtkPVWidget. |
|
Set the label. The label can be used to get this widget from a script. |
|
Set the label. The label can be used to get this widget from a script. |
|
This is the source collection as possible inputs. If the collection gets modified, it will be reflected in the menu on the next Reset call. The collection is not referce counted for fear of loops and memory leaks. We may wnet to fix his later. |
|
This is the source collection as possible inputs. If the collection gets modified, it will be reflected in the menu on the next Reset call. The collection is not referce counted for fear of loops and memory leaks. We may wnet to fix his later. |
|
This method is called when the source that contains this widget is selected. Updates the menu in case more sources have been created Reimplemented from vtkPVWidget. |
|
|
|
|
|
The input name is usually "Input", but can be something else (i.e. Source). Used to format commands in accept and reset methods. |
|
This method gets called when the user changes the widgets value, or a script changes the widgets value. Ideally, this method should be protected. Input menus have the specifie behaviour that the widgets Accept method is called when ever the input menu is changed. Reimplemented from vtkPVWidget. |
|
Set the menus value as a string. Used by the Accept and Reset callbacks. |
|
Set the menus value as a string. Used by the Accept and Reset callbacks. Definition at line 86 of file vtkPVInputMenu.h. |
|
Set the menus value as a string. Used by the Accept and Reset callbacks. |
|
Menu callback when an item is selected. |
|
Save this widget to a file. Reimplemented from vtkPVWidget. |
|
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 from vtkPVWidget. |
|
Gets called when the accept button is pressed. This method may add an entry to the trace file. Implements vtkPVWidget. |
|
Initializes the input. Implements vtkPVWidget. |
|
Gets called when the reset button is pressed. Reimplemented from vtkPVWidget. |
|
This serves a dual purpose. For tracing and for saving state. Implements vtkPVWidget. |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWWidget. |
|
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 from vtkPVWidget. |
|
Reset the menu by taking all entries out. |
|
Add an entry to the menu. If the source is not the right type, then this does nothing. Returns 1 if a new entry was created, 0 if not the right type. |
|
When setting input, we have to be carefull not to cause the loop. This code will determine if the operation would cause the loop. |
|
This converts the InputName into an index. SetSource -> SetNthPVInput(idx, ...); |
|
Get the property for this input. |
|
Adds a collection of sources to the menu. The sources are filtered by "InputType". |
|
|
|
Reimplemented from vtkPVWidget. |
|
Called by vtkPVXMLPackageParser to configure the widget from XML attributes. Reimplemented from vtkPVWidget. |
|
Definition at line 141 of file vtkPVInputMenu.h. |
|
Definition at line 143 of file vtkPVInputMenu.h. |
|
Definition at line 145 of file vtkPVInputMenu.h. |
|
Definition at line 146 of file vtkPVInputMenu.h. |
|
Definition at line 148 of file vtkPVInputMenu.h. |
|
Definition at line 149 of file vtkPVInputMenu.h. |