#include <vtkPVLineWidget.h>
Inheritance diagram for vtkPVLineWidget:
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVLineWidget, vtkPV3DWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual char * | GetPoint1Variable () |
virtual char * | GetPoint2Variable () |
virtual char * | GetResolutionVariable () |
virtual void | ActualPlaceWidget () |
virtual void | SetBalloonHelpString (const char *str) |
virtual void | Initialize () |
virtual void | ResetInternal () |
virtual void | Trace (ofstream *file) |
virtual void | UpdateEnableState () |
virtual void | SaveInBatchScript (ofstream *file) |
void | SetPoint1 () |
void | SetPoint2 () |
void | SetPoint1 (double x, double y, double z) |
void | SetPoint2 (double x, double y, double z) |
void | GetPoint1 (double pt[3]) |
void | GetPoint2 (double pt[3]) |
void | SetResolution () |
void | SetResolution (int f) |
int | GetResolution () |
void | SetPoint1VariableName (const char *varname) |
void | SetPoint2VariableName (const char *varname) |
void | SetResolutionVariableName (const char *varname) |
void | SetPoint1LabelTextName (const char *varname) |
void | SetPoint2LabelTextName (const char *varname) |
void | SetResolutionLabelTextName (const char *varname) |
virtual char * | GetPoint1LabelText () |
virtual char * | GetPoint2LabelText () |
virtual char * | GetResolutionLabelText () |
virtual int | GetShowResolution () |
virtual void | SetShowResolution (int) |
virtual void | ShowResolutionOn () |
virtual void | ShowResolutionOff () |
vtkPVLineWidget * | ClonePrototype (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
virtual void | Accept () |
Static Public Member Functions | |
vtkPVLineWidget * | New () |
Protected Member Functions | |
vtkPVLineWidget () | |
~vtkPVLineWidget () | |
virtual void | CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
int | ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser) |
virtual void | ChildCreate (vtkPVApplication *) |
virtual void | ExecuteEvent (vtkObject *, unsigned long, void *) |
void | SetPoint1Internal (double x, double y, double z) |
void | SetPoint2Internal (double x, double y, double z) |
void | SetResolutionInternal (int res) |
void | DisplayLength (double len) |
virtual void | SetPoint1Variable (const char *) |
virtual void | SetPoint2Variable (const char *) |
virtual void | SetResolutionVariable (const char *) |
virtual void | SetPoint1LabelText (const char *) |
virtual void | SetPoint2LabelText (const char *) |
virtual void | SetResolutionLabelText (const char *) |
void | GetPoint1Internal (double pt[3]) |
void | GetPoint2Internal (double pt[3]) |
int | GetResolutionInternal () |
Protected Attributes | |
vtkKWEntry * | Point1 [3] |
vtkKWEntry * | Point2 [3] |
vtkKWLabel * | Labels [2] |
vtkKWLabel * | CoordinateLabel [3] |
vtkKWLabel * | ResolutionLabel |
vtkKWEntry * | ResolutionEntry |
vtkKWLabel * | LengthLabel |
vtkKWLabel * | LengthValue |
char * | Point1Variable |
char * | Point2Variable |
char * | ResolutionVariable |
char * | Point1LabelText |
char * | Point2LabelText |
char * | ResolutionLabelText |
int | ShowResolution |
Friends | |
class | vtkLineWidgetObserver |
Definition at line 33 of file vtkPVLineWidget.h.
|
|
|
|
|
Reimplemented from vtkPVTracedWidget. Reimplemented in vtkPVLineSourceWidget. |
|
|
|
Reimplemented from vtkPV3DWidget. Reimplemented in vtkPVLineSourceWidget. |
|
Create the widget. Overridden to set up control dependencies among properties. Reimplemented from vtkPV3DWidget. Reimplemented in vtkPVLineSourceWidget. |
|
Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>. |
|
Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>. |
|
Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>. |
|
Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>. |
|
Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>. |
|
Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>. |
|
Set the resolution of the line widget. |
|
Set the resolution of the line widget. |
|
Set the resolution of the line widget. |
|
Set the tcl variables that are modified when accept is called. |
|
Set the tcl variables that are modified when accept is called. |
|
Set the tcl variables that are modified when accept is called. |
|
|
|
|
|
|
|
Set the tcl labels that are modified when accept is called. |
|
Set the tcl labels that are modified when accept is called. |
|
Set the tcl labels that are modified when accept is called. |
|
Labels for entries |
|
Labels for entries |
|
Labels for entries |
|
Determines whether the Resolution entry is shown. |
|
Determines whether the Resolution entry is shown. |
|
Determines whether the Resolution entry is shown. |
|
Determines whether the Resolution entry is shown. |
|
This method does the actual placing. It sets the first point at (bounds[0]+bounds[1])/2, bounds[2], (bounds[4]+bounds[5])/2 and the second point at (bounds[0]+bounds[1])/2, bounds[3], (bounds[4]+bounds[5])/2 Reimplemented from vtkPV3DWidget. |
|
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. |
|
This class redefines SetBalloonHelpString since it has to forward the call to a widget it contains. Reimplemented from vtkKWWidget. |
|
Called when accept button is pushed. Sets objects variable to the widgets value. Side effect is to turn modified flag off. Reimplemented from vtkPV3DWidget. Reimplemented in vtkPVLineSourceWidget. |
|
Initialize widget after creation Reimplemented from vtkPV3DWidget. Reimplemented in vtkPVLineSourceWidget. |
|
Called when the reset button is pushed. Sets widget's value to the object-variable's value. Side effect is to turn the modified flag off. Reimplemented from vtkPV3DWidget. Reimplemented in vtkPVLineSourceWidget. |
|
This serves a dual purpose. For tracing and for saving state. Reimplemented from vtkPV3DWidget. |
|
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 vtkPV3DWidget. |
|
Save this widget to a file. Implements vtkPVObjectWidget. Reimplemented in vtkPVLineSourceWidget. |
|
Reimplemented from vtkPV3DWidget. Reimplemented in vtkPVLineSourceWidget. |
|
Called by vtkPVXMLPackageParser to configure the widget from XML attributes. Reimplemented from vtkPV3DWidget. Reimplemented in vtkPVLineSourceWidget. |
|
Call creation on the child. Implements vtkPV3DWidget. |
|
Execute event of the RM3DWidget. Reimplemented from vtkPV3DWidget. |
|
|
|
|
|
|
|
These methods assume that the Property has been updated before calling them; i.e. Property->UpdateInformation has been invoked. |
|
These methods assume that the Property has been updated before calling them; i.e. Property->UpdateInformation has been invoked. |
|
These methods assume that the Property has been updated before calling them; i.e. Property->UpdateInformation has been invoked. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 153 of file vtkPVLineWidget.h. |
|
Definition at line 181 of file vtkPVLineWidget.h. |
|
Definition at line 182 of file vtkPVLineWidget.h. |
|
Definition at line 183 of file vtkPVLineWidget.h. |
|
Definition at line 184 of file vtkPVLineWidget.h. |
|
Definition at line 185 of file vtkPVLineWidget.h. |
|
Definition at line 186 of file vtkPVLineWidget.h. |
|
Definition at line 187 of file vtkPVLineWidget.h. |
|
Definition at line 188 of file vtkPVLineWidget.h. |
|
Definition at line 194 of file vtkPVLineWidget.h. |
|
Definition at line 195 of file vtkPVLineWidget.h. |
|
Definition at line 196 of file vtkPVLineWidget.h. |
|
Definition at line 202 of file vtkPVLineWidget.h. |
|
Definition at line 203 of file vtkPVLineWidget.h. |
|
Definition at line 204 of file vtkPVLineWidget.h. |
|
Definition at line 206 of file vtkPVLineWidget.h. |