Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPVLineWidget Class Reference

#include <vtkPVLineWidget.h>

Inheritance diagram for vtkPVLineWidget:

Inheritance graph
[legend]
Collaboration diagram for vtkPVLineWidget:

Collaboration graph
[legend]
List of all members.

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 ()
vtkPVLineWidgetClonePrototype (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
virtual void Accept ()

Static Public Member Functions

vtkPVLineWidgetNew ()

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

vtkKWEntryPoint1 [3]
vtkKWEntryPoint2 [3]
vtkKWLabelLabels [2]
vtkKWLabelCoordinateLabel [3]
vtkKWLabelResolutionLabel
vtkKWEntryResolutionEntry
vtkKWLabelLengthLabel
vtkKWLabelLengthValue
char * Point1Variable
char * Point2Variable
char * ResolutionVariable
char * Point1LabelText
char * Point2LabelText
char * ResolutionLabelText
int ShowResolution

Friends

class vtkLineWidgetObserver

Detailed Description

Todo: Cleanup GUI: Visibility Resolution

Definition at line 33 of file vtkPVLineWidget.h.


Constructor & Destructor Documentation

vtkPVLineWidget::vtkPVLineWidget  )  [protected]
 

vtkPVLineWidget::~vtkPVLineWidget  )  [protected]
 


Member Function Documentation

vtkPVLineWidget* vtkPVLineWidget::New  )  [static]
 

Reimplemented from vtkPVTracedWidget.

Reimplemented in vtkPVLineSourceWidget.

vtkPVLineWidget::vtkTypeRevisionMacro vtkPVLineWidget  ,
vtkPV3DWidget 
 

void vtkPVLineWidget::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPV3DWidget.

Reimplemented in vtkPVLineSourceWidget.

virtual void vtkPVLineWidget::Create vtkKWApplication app  )  [virtual]
 

Create the widget. Overridden to set up control dependencies among properties.

Reimplemented from vtkPV3DWidget.

Reimplemented in vtkPVLineSourceWidget.

void vtkPVLineWidget::SetPoint1  ) 
 

Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>.

void vtkPVLineWidget::SetPoint2  ) 
 

Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>.

void vtkPVLineWidget::SetPoint1 double  x,
double  y,
double  z
 

Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>.

void vtkPVLineWidget::SetPoint2 double  x,
double  y,
double  z
 

Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>.

void vtkPVLineWidget::GetPoint1 double  pt[3]  ) 
 

Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>.

void vtkPVLineWidget::GetPoint2 double  pt[3]  ) 
 

Callbacks to set the points of the 3D widget from the entry values. Bound to <KeyPress-Return>.

void vtkPVLineWidget::SetResolution  ) 
 

Set the resolution of the line widget.

void vtkPVLineWidget::SetResolution int  f  ) 
 

Set the resolution of the line widget.

int vtkPVLineWidget::GetResolution  ) 
 

Set the resolution of the line widget.

void vtkPVLineWidget::SetPoint1VariableName const char *  varname  ) 
 

Set the tcl variables that are modified when accept is called.

void vtkPVLineWidget::SetPoint2VariableName const char *  varname  ) 
 

Set the tcl variables that are modified when accept is called.

void vtkPVLineWidget::SetResolutionVariableName const char *  varname  ) 
 

Set the tcl variables that are modified when accept is called.

virtual char* vtkPVLineWidget::GetPoint1Variable  )  [virtual]
 

virtual char* vtkPVLineWidget::GetPoint2Variable  )  [virtual]
 

virtual char* vtkPVLineWidget::GetResolutionVariable  )  [virtual]
 

void vtkPVLineWidget::SetPoint1LabelTextName const char *  varname  ) 
 

Set the tcl labels that are modified when accept is called.

void vtkPVLineWidget::SetPoint2LabelTextName const char *  varname  ) 
 

Set the tcl labels that are modified when accept is called.

void vtkPVLineWidget::SetResolutionLabelTextName const char *  varname  ) 
 

Set the tcl labels that are modified when accept is called.

virtual char* vtkPVLineWidget::GetPoint1LabelText  )  [virtual]
 

Labels for entries

virtual char* vtkPVLineWidget::GetPoint2LabelText  )  [virtual]
 

Labels for entries

virtual char* vtkPVLineWidget::GetResolutionLabelText  )  [virtual]
 

Labels for entries

virtual int vtkPVLineWidget::GetShowResolution  )  [virtual]
 

Determines whether the Resolution entry is shown.

virtual void vtkPVLineWidget::SetShowResolution int   )  [virtual]
 

Determines whether the Resolution entry is shown.

virtual void vtkPVLineWidget::ShowResolutionOn  )  [virtual]
 

Determines whether the Resolution entry is shown.

virtual void vtkPVLineWidget::ShowResolutionOff  )  [virtual]
 

Determines whether the Resolution entry is shown.

virtual void vtkPVLineWidget::ActualPlaceWidget  )  [virtual]
 

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.

vtkPVLineWidget* vtkPVLineWidget::ClonePrototype vtkPVSource pvSource,
vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *  map
 

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.

virtual void vtkPVLineWidget::SetBalloonHelpString const char *  str  )  [virtual]
 

This class redefines SetBalloonHelpString since it has to forward the call to a widget it contains.

Reimplemented from vtkKWWidget.

virtual void vtkPVLineWidget::Accept  )  [virtual]
 

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.

virtual void vtkPVLineWidget::Initialize  )  [virtual]
 

Initialize widget after creation

Reimplemented from vtkPV3DWidget.

Reimplemented in vtkPVLineSourceWidget.

virtual void vtkPVLineWidget::ResetInternal  )  [virtual]
 

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.

virtual void vtkPVLineWidget::Trace ofstream *  file  )  [virtual]
 

This serves a dual purpose. For tracing and for saving state.

Reimplemented from vtkPV3DWidget.

virtual void vtkPVLineWidget::UpdateEnableState  )  [virtual]
 

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.

virtual void vtkPVLineWidget::SaveInBatchScript ofstream *  file  )  [virtual]
 

Save this widget to a file.

Implements vtkPVObjectWidget.

Reimplemented in vtkPVLineSourceWidget.

virtual void vtkPVLineWidget::CopyProperties vtkPVWidget clone,
vtkPVSource pvSource,
vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *  map
[protected, virtual]
 

Reimplemented from vtkPV3DWidget.

Reimplemented in vtkPVLineSourceWidget.

int vtkPVLineWidget::ReadXMLAttributes vtkPVXMLElement element,
vtkPVXMLPackageParser parser
[protected, virtual]
 

Called by vtkPVXMLPackageParser to configure the widget from XML attributes.

Reimplemented from vtkPV3DWidget.

Reimplemented in vtkPVLineSourceWidget.

virtual void vtkPVLineWidget::ChildCreate vtkPVApplication  )  [protected, virtual]
 

Call creation on the child.

Implements vtkPV3DWidget.

virtual void vtkPVLineWidget::ExecuteEvent vtkObject *  ,
unsigned  long,
void * 
[protected, virtual]
 

Execute event of the RM3DWidget.

Reimplemented from vtkPV3DWidget.

void vtkPVLineWidget::SetPoint1Internal double  x,
double  y,
double  z
[protected]
 

void vtkPVLineWidget::SetPoint2Internal double  x,
double  y,
double  z
[protected]
 

void vtkPVLineWidget::SetResolutionInternal int  res  )  [protected]
 

void vtkPVLineWidget::GetPoint1Internal double  pt[3]  )  [protected]
 

These methods assume that the Property has been updated before calling them; i.e. Property->UpdateInformation has been invoked.

void vtkPVLineWidget::GetPoint2Internal double  pt[3]  )  [protected]
 

These methods assume that the Property has been updated before calling them; i.e. Property->UpdateInformation has been invoked.

int vtkPVLineWidget::GetResolutionInternal  )  [protected]
 

These methods assume that the Property has been updated before calling them; i.e. Property->UpdateInformation has been invoked.

void vtkPVLineWidget::DisplayLength double  len  )  [protected]
 

virtual void vtkPVLineWidget::SetPoint1Variable const char *   )  [protected, virtual]
 

virtual void vtkPVLineWidget::SetPoint2Variable const char *   )  [protected, virtual]
 

virtual void vtkPVLineWidget::SetResolutionVariable const char *   )  [protected, virtual]
 

virtual void vtkPVLineWidget::SetPoint1LabelText const char *   )  [protected, virtual]
 

virtual void vtkPVLineWidget::SetPoint2LabelText const char *   )  [protected, virtual]
 

virtual void vtkPVLineWidget::SetResolutionLabelText const char *   )  [protected, virtual]
 


Friends And Related Function Documentation

friend class vtkLineWidgetObserver [friend]
 

Definition at line 153 of file vtkPVLineWidget.h.


Member Data Documentation

vtkKWEntry* vtkPVLineWidget::Point1[3] [protected]
 

Definition at line 181 of file vtkPVLineWidget.h.

vtkKWEntry* vtkPVLineWidget::Point2[3] [protected]
 

Definition at line 182 of file vtkPVLineWidget.h.

vtkKWLabel* vtkPVLineWidget::Labels[2] [protected]
 

Definition at line 183 of file vtkPVLineWidget.h.

vtkKWLabel* vtkPVLineWidget::CoordinateLabel[3] [protected]
 

Definition at line 184 of file vtkPVLineWidget.h.

vtkKWLabel* vtkPVLineWidget::ResolutionLabel [protected]
 

Definition at line 185 of file vtkPVLineWidget.h.

vtkKWEntry* vtkPVLineWidget::ResolutionEntry [protected]
 

Definition at line 186 of file vtkPVLineWidget.h.

vtkKWLabel* vtkPVLineWidget::LengthLabel [protected]
 

Definition at line 187 of file vtkPVLineWidget.h.

vtkKWLabel* vtkPVLineWidget::LengthValue [protected]
 

Definition at line 188 of file vtkPVLineWidget.h.

char* vtkPVLineWidget::Point1Variable [protected]
 

Definition at line 194 of file vtkPVLineWidget.h.

char* vtkPVLineWidget::Point2Variable [protected]
 

Definition at line 195 of file vtkPVLineWidget.h.

char* vtkPVLineWidget::ResolutionVariable [protected]
 

Definition at line 196 of file vtkPVLineWidget.h.

char* vtkPVLineWidget::Point1LabelText [protected]
 

Definition at line 202 of file vtkPVLineWidget.h.

char* vtkPVLineWidget::Point2LabelText [protected]
 

Definition at line 203 of file vtkPVLineWidget.h.

char* vtkPVLineWidget::ResolutionLabelText [protected]
 

Definition at line 204 of file vtkPVLineWidget.h.

int vtkPVLineWidget::ShowResolution [protected]
 

Definition at line 206 of file vtkPVLineWidget.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:39:48 2006 for ParaView by doxygen 1.3.5