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

vtkPVBoxWidget Class Reference

A widget to manipulate a box. More...

#include <vtkPVBoxWidget.h>

Inheritance diagram for vtkPVBoxWidget:

Inheritance graph
[legend]
Collaboration diagram for vtkPVBoxWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVBoxWidget, vtkPV3DWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ResetInternal ()
virtual void Accept ()
virtual void Trace (ofstream *file)
void SetTranslateInternal (double x, double y, double z)
void SetTranslateInternal (double p[3])
void SetTranslate (double p[3])
void SetTranslate (double px, double py, double pz)
void SetOrientationInternal (double px, double py, double pz)
void SetOrientationInternal (double p[3])
void SetOrientation (double p[3])
void SetOrientation (double px, double py, double pz)
virtual void UpdateEnableState ()
vtkSMProxyGetProxyByName (const char *name)
virtual void Update ()
virtual void Initialize ()
virtual void EnableAnimation ()
virtual void DisableAnimation ()
virtual void Create (vtkKWApplication *app)
void SetTranslate ()
void SetOrientation ()
void SetScale ()
void SetScale (double p[3])
void SetScale (double px, double py, double pz)
void SetScaleInternal (double x, double y, double z)
void SetScaleInternal (double p[3])
virtual void SetInputMenu (vtkPVInputMenu *)
virtual vtkPVInputMenuGetInputMenu ()

Static Public Member Functions

vtkPVBoxWidgetNew ()

Protected Member Functions

 vtkPVBoxWidget ()
 ~vtkPVBoxWidget ()
virtual void ChildCreate (vtkPVApplication *)
virtual void ExecuteEvent (vtkObject *, unsigned long, void *)
void UpdateFromBox ()
int ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser)
virtual void SaveInBatchScript (ofstream *file)
double * GetPositionFromGUI ()
double * GetRotationFromGUI ()
double * GetScaleFromGUI ()
virtual void SetPositionGUI (double, double, double)
virtual void SetPositionGUI (double[3])
virtual void SetRotationGUI (double, double, double)
virtual void SetRotationGUI (double[3])
virtual void SetScaleGUI (double, double, double)
virtual void SetScaleGUI (double[3])
void SetupPropertyObservers ()
void UnsetPropertyObservers ()
void RegisterAnimateableProxies ()
void UnregisterAnimateableProxies ()
virtual void PlaceWidget (double bds[6])
virtual void PlaceWidget ()
virtual vtkPVWidgetClonePrototypeInternal (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
void GetPositionInternal (double position[3])
void GetRotationInternal (double rotation[3])
void GetScaleInternal (double scale[3])

Protected Attributes

vtkKWFrameControlFrame
vtkKWLabelTranslateLabel
vtkKWThumbWheelTranslateThumbWheel [3]
vtkKWLabelScaleLabel
vtkKWThumbWheelScaleThumbWheel [3]
vtkKWLabelOrientationLabel
vtkKWScaleWithEntryOrientationScale [3]
vtkPVInputMenuInputMenu
vtkSMProxyBoxProxy
vtkSMProxyBoxTransformProxy
double PositionGUI [3]
double RotationGUI [3]
double ScaleGUI [3]

Detailed Description

A widget to manipulate a box.

This widget creates and manages its own vtkPlanes on each process. I could not decide whether to include the bounds display or not. (I did not.)

Definition at line 38 of file vtkPVBoxWidget.h.


Constructor & Destructor Documentation

vtkPVBoxWidget::vtkPVBoxWidget  )  [protected]
 

vtkPVBoxWidget::~vtkPVBoxWidget  )  [protected]
 


Member Function Documentation

vtkPVBoxWidget* vtkPVBoxWidget::New  )  [static]
 

Reimplemented from vtkPVTracedWidget.

Reimplemented in vtkPVPickBoxWidget.

vtkPVBoxWidget::vtkTypeRevisionMacro vtkPVBoxWidget  ,
vtkPV3DWidget 
 

void vtkPVBoxWidget::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPV3DWidget.

Reimplemented in vtkPVPickBoxWidget.

virtual void vtkPVBoxWidget::ResetInternal  )  [virtual]
 

Called when the PVSources reset button is called.

Reimplemented from vtkPV3DWidget.

virtual void vtkPVBoxWidget::Accept  )  [virtual]
 

Called when the PVSources accept button is called. virtual void AcceptInternal(vtkClientServerID); ETX

Reimplemented from vtkPV3DWidget.

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

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

Reimplemented from vtkPV3DWidget.

Reimplemented in vtkPVPickBoxWidget.

void vtkPVBoxWidget::SetTranslate  ) 
 

Callbacks to update the values from the GUI. These methods do nothing is this->ValueChanged is not set

void vtkPVBoxWidget::SetOrientation  ) 
 

Callbacks to update the values from the GUI. These methods do nothing is this->ValueChanged is not set

void vtkPVBoxWidget::SetScale  ) 
 

Callbacks to update the values from the GUI. These methods do nothing is this->ValueChanged is not set

void vtkPVBoxWidget::SetScale double  p[3]  )  [inline]
 

Set the box

Definition at line 67 of file vtkPVBoxWidget.h.

void vtkPVBoxWidget::SetScale double  px,
double  py,
double  pz
 

Set the box

void vtkPVBoxWidget::SetScaleInternal double  x,
double  y,
double  z
 

Set the box

void vtkPVBoxWidget::SetScaleInternal double  p[3]  )  [inline]
 

Set the box

Definition at line 70 of file vtkPVBoxWidget.h.

void vtkPVBoxWidget::SetTranslateInternal double  x,
double  y,
double  z
 

void vtkPVBoxWidget::SetTranslateInternal double  p[3]  )  [inline]
 

Definition at line 74 of file vtkPVBoxWidget.h.

void vtkPVBoxWidget::SetTranslate double  p[3]  )  [inline]
 

Definition at line 75 of file vtkPVBoxWidget.h.

void vtkPVBoxWidget::SetTranslate double  px,
double  py,
double  pz
 

void vtkPVBoxWidget::SetOrientationInternal double  px,
double  py,
double  pz
 

void vtkPVBoxWidget::SetOrientationInternal double  p[3]  )  [inline]
 

Definition at line 79 of file vtkPVBoxWidget.h.

void vtkPVBoxWidget::SetOrientation double  p[3]  )  [inline]
 

Definition at line 80 of file vtkPVBoxWidget.h.

void vtkPVBoxWidget::SetOrientation double  px,
double  py,
double  pz
 

virtual void vtkPVBoxWidget::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.

Reimplemented in vtkPVPickBoxWidget.

vtkSMProxy* vtkPVBoxWidget::GetProxyByName const char *  name  )  [virtual]
 

Provide access to the proxies used by this widget. BoxTransform == BoxTransformProxy Box == BoxProxy

Reimplemented from vtkPV3DWidget.

virtual void vtkPVBoxWidget::SetInputMenu vtkPVInputMenu  )  [virtual]
 

The input from the input menu is used to place the widget.

virtual vtkPVInputMenu* vtkPVBoxWidget::GetInputMenu  )  [virtual]
 

The input from the input menu is used to place the widget.

virtual void vtkPVBoxWidget::Update  )  [virtual]
 

Called when the input changes (before accept).

Reimplemented from vtkPVWidget.

virtual void vtkPVBoxWidget::Initialize  )  [virtual]
 

Place the widget

Reimplemented from vtkPV3DWidget.

virtual void vtkPVBoxWidget::EnableAnimation  )  [inline, virtual]
 

Register the animatable proxies and make them avaiblable for animation. Called by vtkPVSelectWidget when the widget is selected.

Reimplemented from vtkPV3DWidget.

Definition at line 109 of file vtkPVBoxWidget.h.

virtual void vtkPVBoxWidget::DisableAnimation  )  [inline, virtual]
 

Unregister animatable proxies so that they are not available for animation. Called by vtkPVSelectWidget when this widget is deselected.

Reimplemented from vtkPV3DWidget.

Definition at line 114 of file vtkPVBoxWidget.h.

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

Create the widget. Overloaded to create the ImplicitFunction proxy

Reimplemented from vtkPV3DWidget.

virtual void vtkPVBoxWidget::PlaceWidget double  bds[6]  )  [protected, virtual]
 

PlaceWidget is overloaded since, this class has to position the bounds on the BoxProxy(vtkBox) as well.

Reimplemented from vtkPV3DWidget.

virtual void vtkPVBoxWidget::PlaceWidget  )  [inline, protected, virtual]
 

PlaceWidget is overloaded since, this class has to position the bounds on the BoxProxy(vtkBox) as well.

Reimplemented from vtkPV3DWidget.

Definition at line 127 of file vtkPVBoxWidget.h.

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

Call creation on the child.

Implements vtkPV3DWidget.

Reimplemented in vtkPVPickBoxWidget.

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

Execute event of the 3D Widget.

Reimplemented from vtkPV3DWidget.

void vtkPVBoxWidget::UpdateFromBox  )  [protected]
 

Get iVar values from vtkSMBoxWidgetProxy object and update the GUI.

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

Called by vtkPVXMLPackageParser to configure the widget from XML attributes.

Reimplemented from vtkPV3DWidget.

virtual void vtkPVBoxWidget::SaveInBatchScript ofstream *  file  )  [protected, virtual]
 

For saving the widget into a VTK tcl script. This saves the implicit sphere. Parts will share this one sphere.

Implements vtkPVObjectWidget.

virtual vtkPVWidget* vtkPVBoxWidget::ClonePrototypeInternal vtkPVSource pvSource,
vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *  map
[protected, virtual]
 

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.

void vtkPVBoxWidget::GetPositionInternal double  position[3]  )  [protected]
 

Methods to obtain the position/rotation/scale values from the vtkSMBoxWidgetProxy object. These methods do not call UpdateInformation(), hence, it is expeceted that the information properties have been updated before calling these methods.

void vtkPVBoxWidget::GetRotationInternal double  rotation[3]  )  [protected]
 

Methods to obtain the position/rotation/scale values from the vtkSMBoxWidgetProxy object. These methods do not call UpdateInformation(), hence, it is expeceted that the information properties have been updated before calling these methods.

void vtkPVBoxWidget::GetScaleInternal double  scale[3]  )  [protected]
 

Methods to obtain the position/rotation/scale values from the vtkSMBoxWidgetProxy object. These methods do not call UpdateInformation(), hence, it is expeceted that the information properties have been updated before calling these methods.

double* vtkPVBoxWidget::GetPositionFromGUI  )  [protected]
 

double* vtkPVBoxWidget::GetRotationFromGUI  )  [protected]
 

double* vtkPVBoxWidget::GetScaleFromGUI  )  [protected]
 

virtual void vtkPVBoxWidget::SetPositionGUI double  ,
double  ,
double 
[protected, virtual]
 

virtual void vtkPVBoxWidget::SetPositionGUI double  [3]  )  [protected, virtual]
 

virtual void vtkPVBoxWidget::SetRotationGUI double  ,
double  ,
double 
[protected, virtual]
 

virtual void vtkPVBoxWidget::SetRotationGUI double  [3]  )  [protected, virtual]
 

virtual void vtkPVBoxWidget::SetScaleGUI double  ,
double  ,
double 
[protected, virtual]
 

virtual void vtkPVBoxWidget::SetScaleGUI double  [3]  )  [protected, virtual]
 

void vtkPVBoxWidget::SetupPropertyObservers  )  [protected]
 

void vtkPVBoxWidget::UnsetPropertyObservers  )  [protected]
 

void vtkPVBoxWidget::RegisterAnimateableProxies  )  [protected]
 

void vtkPVBoxWidget::UnregisterAnimateableProxies  )  [protected]
 


Member Data Documentation

vtkKWFrame* vtkPVBoxWidget::ControlFrame [protected]
 

Definition at line 139 of file vtkPVBoxWidget.h.

vtkKWLabel* vtkPVBoxWidget::TranslateLabel [protected]
 

Definition at line 140 of file vtkPVBoxWidget.h.

vtkKWThumbWheel* vtkPVBoxWidget::TranslateThumbWheel[3] [protected]
 

Definition at line 141 of file vtkPVBoxWidget.h.

vtkKWLabel* vtkPVBoxWidget::ScaleLabel [protected]
 

Definition at line 142 of file vtkPVBoxWidget.h.

vtkKWThumbWheel* vtkPVBoxWidget::ScaleThumbWheel[3] [protected]
 

Definition at line 143 of file vtkPVBoxWidget.h.

vtkKWLabel* vtkPVBoxWidget::OrientationLabel [protected]
 

Definition at line 144 of file vtkPVBoxWidget.h.

vtkKWScaleWithEntry* vtkPVBoxWidget::OrientationScale[3] [protected]
 

Definition at line 145 of file vtkPVBoxWidget.h.

vtkPVInputMenu* vtkPVBoxWidget::InputMenu [protected]
 

Definition at line 147 of file vtkPVBoxWidget.h.

vtkSMProxy* vtkPVBoxWidget::BoxProxy [protected]
 

Definition at line 149 of file vtkPVBoxWidget.h.

vtkSMProxy* vtkPVBoxWidget::BoxTransformProxy [protected]
 

Definition at line 150 of file vtkPVBoxWidget.h.

double vtkPVBoxWidget::PositionGUI[3] [protected]
 

Definition at line 188 of file vtkPVBoxWidget.h.

double vtkPVBoxWidget::RotationGUI[3] [protected]
 

Definition at line 189 of file vtkPVBoxWidget.h.

double vtkPVBoxWidget::ScaleGUI[3] [protected]
 

Definition at line 190 of file vtkPVBoxWidget.h.


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