#include <vtkPVLabeledToggle.h>
Inheritance diagram for vtkPVLabeledToggle:
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVLabeledToggle, vtkPVObjectWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *pvApp) |
virtual void | SetBalloonHelpString (const char *str) |
void | Disable () |
virtual void | UpdateEnableState () |
virtual void | Initialize () |
virtual void | SaveInBatchScript (ofstream *file) |
void | SetLabel (const char *str) |
const char * | GetLabel () |
void | SetSelectedState (int val) |
int | GetSelectedState () |
vtkPVLabeledToggle * | ClonePrototype (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
Static Public Member Functions | |
vtkPVLabeledToggle * | New () |
Protected Member Functions | |
vtkPVLabeledToggle () | |
~vtkPVLabeledToggle () | |
virtual void | Accept () |
virtual void | ResetInternal () |
virtual void | Trace (ofstream *file) |
virtual void | CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
int | ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser) |
Protected Attributes | |
vtkKWLabel * | Label |
vtkKWCheckButton * | CheckButton |
|
|
|
|
|
Reimplemented from vtkPVTracedWidget. |
|
|
|
Reimplemented from vtkPVObjectWidget. |
|
Setting the label also sets the name. |
|
Setting the label also sets the name. |
|
Create the widget. Reimplemented from vtkPVWidget. |
|
This method allows scripts to modify the widgets value. |
|
This method allows scripts to modify the widgets value. |
|
This class redefines SetBalloonHelpString since it has to forward the call to a widget it contains. Reimplemented from vtkKWWidget. |
|
Disables the checkbutton. |
|
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. |
|
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. |
|
Initialize the widget after creation. Implements vtkPVWidget. |
|
Save this widget to a file. Implements vtkPVObjectWidget. |
|
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. Implements vtkPVWidget. |
|
Called by Reset() if PVSource is set. Reimplemented from vtkPVWidget. |
|
Used by subclasses to save this widgets state into a PVScript. This method does not initialize trace variable or check modified. Implements vtkPVWidget. |
|
Reimplemented from vtkPVObjectWidget. |
|
Called by vtkPVXMLPackageParser to configure the widget from XML attributes. Reimplemented from vtkPVObjectWidget. |
|
Definition at line 99 of file vtkPVLabeledToggle.h. |
|
Definition at line 100 of file vtkPVLabeledToggle.h. |