#include <vtkPVSelectWidget.h>
Inheritance diagram for vtkPVSelectWidget:
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVSelectWidget, vtkPVObjectWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
void | AddItem (const char *labelVal, vtkPVWidget *pvw, const char *vtkVal) |
vtkPVWidget * | GetPVWidget (const char *label) |
void | SetLabel (const char *label) |
virtual int | GetModifiedFlag () |
virtual void | Select () |
virtual void | Deselect () |
void | MenuCallback () |
vtkKWWidget * | GetFrame () |
virtual void | Initialize () |
virtual void | Trace (ofstream *file) |
virtual void | UpdateEnableState () |
virtual void | SaveInBatchScript (ofstream *file) |
virtual void | UpdateVTKObjects () |
const char * | GetCurrentValue () |
void | SetCurrentValue (const char *val) |
const char * | GetCurrentVTKValue () |
const char * | GetVTKValue (int i) |
vtkPVSelectWidget * | ClonePrototype (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
virtual void | Accept () |
virtual void | PostAccept () |
virtual void | Reset () |
virtual void | ResetInternal () |
Static Public Member Functions | |
vtkPVSelectWidget * | New () |
Protected Member Functions | |
vtkPVSelectWidget () | |
~vtkPVSelectWidget () | |
int | FindIndex (const char *str, vtkStringList *list) |
void | SetCurrentIndex (int idx) |
virtual void | SetEntryLabel (const char *) |
virtual char * | GetEntryLabel () |
virtual vtkPVWidget * | ClonePrototypeInternal (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
virtual void | CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
int | ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser) |
Protected Attributes | |
vtkKWFrameWithLabel * | LabeledFrame |
vtkKWMenuButton * | Menu |
char * | EntryLabel |
vtkStringList * | Labels |
vtkStringList * | Values |
vtkPVWidgetCollection * | Widgets |
int | CurrentIndex |
This widget has a selection menu which will pack different pvWidgets associated with selection values. There is also an object varible assumed to have different string values for each of the entries. This widget was made for selecting clip functions or clip by scalar values.
Definition at line 42 of file vtkPVSelectWidget.h.
|
|
|
|
|
Reimplemented from vtkPVTracedWidget. |
|
|
|
Reimplemented from vtkPVObjectWidget. |
|
Create the widget. Reimplemented from vtkPVWidget. |
|
Add widgets to the possible selection. The vtkValue is value used to set the vtk object variable. |
|
Access to the widgets for tracing. |
|
Set the label of the menu. |
|
Looks at children to determine modified state. Reimplemented from vtkPVWidget. |
|
This method is called when the source that contains this widget is selected. Reimplemented from vtkPVWidget. |
|
This method is called when the source that contains this widget is deselected. Reimplemented from vtkPVWidget. |
|
This is how the user can query the state of the selection. The value is the label of the widget item. |
|
This is how the user can query the state of the selection. The value is the label of the widget item. |
|
This method gets called when the menu changes. |
|
All sub widgets should have this frame as their parent. |
|
Methods used internally by accept and reset to Set and Get the widget selection. |
|
Methods used internally by accept and reset to Set and Get the widget selection. |
|
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 vtkPVObjectWidget. |
|
Called when accept button is pushed. Sets the objects variable from UI. Implements vtkPVWidget. |
|
Called when accept button is pushed. Sets the objects variable from UI. Reimplemented from vtkPVWidget. |
|
Called when reset button is pushed. Sets UI current value from objects variable. Reimplemented from vtkPVWidget. |
|
Called when reset button is pushed. Sets UI current value from objects variable. Reimplemented from vtkPVWidget. |
|
Calls Initialiaze() on currently selected widget. Implements 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. |
|
Save this widget to a file. Implements vtkPVObjectWidget. |
|
Forwards UpdateVTKObjects to the currently selected widget. Reimplemented from vtkPVWidget. |
|
|
|
|
|
|
|
|
|
Reimplemented from vtkPVWidget. |
|
Reimplemented from vtkPVObjectWidget. |
|
Called by vtkPVXMLPackageParser to configure the widget from XML attributes. Reimplemented from vtkPVObjectWidget. |
|
Definition at line 147 of file vtkPVSelectWidget.h. |
|
Definition at line 148 of file vtkPVSelectWidget.h. |
|
Definition at line 152 of file vtkPVSelectWidget.h. |
|
Definition at line 155 of file vtkPVSelectWidget.h. |
|
Definition at line 156 of file vtkPVSelectWidget.h. |
|
Definition at line 157 of file vtkPVSelectWidget.h. |
|
Definition at line 159 of file vtkPVSelectWidget.h. |