vtkPolygonalHandleRepresentation3D Class Reference

#include <vtkPolygonalHandleRepresentation3D.h>

Inheritance diagram for vtkPolygonalHandleRepresentation3D:

Inheritance graph
[legend]
Collaboration diagram for vtkPolygonalHandleRepresentation3D:

Collaboration graph
[legend]

List of all members.


Detailed Description

represent the position of a handle in 3D space

This class serves as the geometrical representation of a vtkHandleWidget. The handle can be represented by an arbitrary polygonal data (vtkPolyData), set via SetHandle(vtkPolyData *). The actual position of the handle will be initially assumed to be (0,0,0). You can specify an offset from this position if desired.

See also:
vtkPointHandleRepresentation3D vtkHandleRepresentation vtkHandleWidget
Tests:
vtkPolygonalHandleRepresentation3D (Tests)

Definition at line 47 of file vtkPolygonalHandleRepresentation3D.h.

typedef vtkHandleRepresentation Superclass
static int IsTypeOf (const char *type)
static
vtkPolygonalHandleRepresentation3D
SafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Public Member Functions

virtual vtkAbstractTransformGetTransform ()
virtual void SetWorldPosition (double p[3])
virtual void SetDisplayPosition (double p[3])
void SetHandle (vtkPolyData *)
vtkPolyDataGetHandle ()
virtual void SetOffset (double, double, double)
virtual void SetOffset (double[3])
virtual double * GetOffset ()
virtual void GetOffset (double &, double &, double &)
virtual void GetOffset (double[3])
void SetProperty (vtkProperty *)
void SetSelectedProperty (vtkProperty *)
virtual vtkPropertyGetProperty ()
virtual vtkPropertyGetSelectedProperty ()
virtual void BuildRepresentation ()
virtual void StartWidgetInteraction (double eventPos[2])
virtual void WidgetInteraction (double eventPos[2])
virtual int ComputeInteractionState (int X, int Y, int modify=0)
virtual void ShallowCopy (vtkProp *prop)
virtual void GetActors (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
virtual int HasTranslucentPolygonalGeometry ()
virtual double * GetBounds ()
virtual void SetLabelVisibility (int)
virtual int GetLabelVisibility ()
virtual void LabelVisibilityOn ()
virtual void LabelVisibilityOff ()
virtual void SetLabelText (const char *label)
virtual void SetLabelTextScale (double scale[3])
virtual double * GetLabelTextScale ()

Static Public Member Functions

static
vtkPolygonalHandleRepresentation3D
New ()

Protected Member Functions

 vtkPolygonalHandleRepresentation3D ()
 ~vtkPolygonalHandleRepresentation3D ()
void Highlight (int highlight)
void Translate (double *p1, double *p2)
void Scale (double *p1, double *p2, double eventPos[2])
void MoveFocus (double *p1, double *p2)
void CreateDefaultProperties ()
void MoveFocusRequest (double *p1, double *p2, double requestedDisplayPos[3])
int DetermineConstraintAxis (int constraint, double *x, double *startPickPos)

Protected Attributes

vtkActorActor
vtkPolyDataMapperMapper
vtkTransformPolyDataFilterHandleTransformFilter
vtkMatrixToLinearTransformHandleTransform
vtkMatrix4x4HandleTransformMatrix
vtkCellPickerHandlePicker
double LastPickPosition [3]
double LastEventPosition [2]
double Offset [3]
int ConstraintAxis
vtkPropertyProperty
vtkPropertySelectedProperty
int WaitingForMotion
int WaitCount
int LabelVisibility
vtkFollowerLabelTextActor
vtkPolyDataMapperLabelTextMapper
vtkVectorTextLabelTextInput
bool LabelAnnotationTextScaleInitialized

Member Typedef Documentation

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

Definition at line 56 of file vtkPolygonalHandleRepresentation3D.h.


Constructor & Destructor Documentation

vtkPolygonalHandleRepresentation3D::vtkPolygonalHandleRepresentation3D (  )  [protected]

vtkPolygonalHandleRepresentation3D::~vtkPolygonalHandleRepresentation3D (  )  [protected]


Member Function Documentation

static vtkPolygonalHandleRepresentation3D* vtkPolygonalHandleRepresentation3D::New (  )  [static]

Instantiate this class.

Reimplemented from vtkObject.

virtual const char* vtkPolygonalHandleRepresentation3D::GetClassName (  )  [virtual]

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

static int vtkPolygonalHandleRepresentation3D::IsTypeOf ( const char *  type  )  [static]

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

virtual int vtkPolygonalHandleRepresentation3D::IsA ( const char *  type  )  [virtual]

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

static vtkPolygonalHandleRepresentation3D* vtkPolygonalHandleRepresentation3D::SafeDownCast ( vtkObject o  )  [static]

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

void vtkPolygonalHandleRepresentation3D::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

virtual void vtkPolygonalHandleRepresentation3D::SetWorldPosition ( double  p[3]  )  [virtual]

Set the position of the point in world and display coordinates. Note that if the position is set outside of the bounding box, it will be clamped to the boundary of the bounding box. This method overloads the superclasses' SetWorldPosition() and SetDisplayPosition() in order to set the focal point of the cursor properly.

Reimplemented from vtkHandleRepresentation.

virtual void vtkPolygonalHandleRepresentation3D::SetDisplayPosition ( double  p[3]  )  [virtual]

Set the position of the point in world and display coordinates. Note that if the position is set outside of the bounding box, it will be clamped to the boundary of the bounding box. This method overloads the superclasses' SetWorldPosition() and SetDisplayPosition() in order to set the focal point of the cursor properly.

Reimplemented from vtkHandleRepresentation.

void vtkPolygonalHandleRepresentation3D::SetHandle ( vtkPolyData  ) 

Set/get the handle polydata.

vtkPolyData* vtkPolygonalHandleRepresentation3D::GetHandle (  ) 

Set/get the handle polydata.

virtual void vtkPolygonalHandleRepresentation3D::SetOffset ( double  ,
double  ,
double   
) [virtual]

Set/get the offset of the handle position with respect to the handle center, assumed to be the origin.

virtual void vtkPolygonalHandleRepresentation3D::SetOffset ( double  [3]  )  [virtual]

Set/get the offset of the handle position with respect to the handle center, assumed to be the origin.

virtual double* vtkPolygonalHandleRepresentation3D::GetOffset (  )  [virtual]

Set/get the offset of the handle position with respect to the handle center, assumed to be the origin.

virtual void vtkPolygonalHandleRepresentation3D::GetOffset ( double &  ,
double &  ,
double &   
) [virtual]

Set/get the offset of the handle position with respect to the handle center, assumed to be the origin.

virtual void vtkPolygonalHandleRepresentation3D::GetOffset ( double  [3]  )  [virtual]

Set/get the offset of the handle position with respect to the handle center, assumed to be the origin.

void vtkPolygonalHandleRepresentation3D::SetProperty ( vtkProperty  ) 

Set/Get the handle properties when unselected and selected.

void vtkPolygonalHandleRepresentation3D::SetSelectedProperty ( vtkProperty  ) 

Set/Get the handle properties when unselected and selected.

virtual vtkProperty* vtkPolygonalHandleRepresentation3D::GetProperty (  )  [virtual]

Set/Get the handle properties when unselected and selected.

virtual vtkProperty* vtkPolygonalHandleRepresentation3D::GetSelectedProperty (  )  [virtual]

Set/Get the handle properties when unselected and selected.

virtual vtkAbstractTransform* vtkPolygonalHandleRepresentation3D::GetTransform (  )  [virtual]

Get the transform used to place the generic handle polydata in the render window

virtual void vtkPolygonalHandleRepresentation3D::BuildRepresentation (  )  [virtual]

Methods to make this class properly act like a vtkWidgetRepresentation.

Implements vtkWidgetRepresentation.

virtual void vtkPolygonalHandleRepresentation3D::StartWidgetInteraction ( double  eventPos[2]  )  [virtual]

Methods to make this class properly act like a vtkWidgetRepresentation.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkPolygonalHandleRepresentation3D::WidgetInteraction ( double  eventPos[2]  )  [virtual]

Methods to make this class properly act like a vtkWidgetRepresentation.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkPolygonalHandleRepresentation3D::ComputeInteractionState ( int  X,
int  Y,
int  modify = 0 
) [virtual]

Methods to make this class properly act like a vtkWidgetRepresentation.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkPolygonalHandleRepresentation3D::ShallowCopy ( vtkProp prop  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkHandleRepresentation.

virtual void vtkPolygonalHandleRepresentation3D::GetActors ( vtkPropCollection  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkPolygonalHandleRepresentation3D::ReleaseGraphicsResources ( vtkWindow  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkPolygonalHandleRepresentation3D::RenderOpaqueGeometry ( vtkViewport viewport  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkProp.

virtual int vtkPolygonalHandleRepresentation3D::RenderTranslucentPolygonalGeometry ( vtkViewport viewport  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkProp.

virtual int vtkPolygonalHandleRepresentation3D::HasTranslucentPolygonalGeometry (  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

virtual double* vtkPolygonalHandleRepresentation3D::GetBounds (  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkPolygonalHandleRepresentation3D::SetLabelVisibility ( int   )  [virtual]

A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.

virtual int vtkPolygonalHandleRepresentation3D::GetLabelVisibility (  )  [virtual]

A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.

virtual void vtkPolygonalHandleRepresentation3D::LabelVisibilityOn (  )  [virtual]

A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.

virtual void vtkPolygonalHandleRepresentation3D::LabelVisibilityOff (  )  [virtual]

A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.

virtual void vtkPolygonalHandleRepresentation3D::SetLabelText ( const char *  label  )  [virtual]

A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.

virtual void vtkPolygonalHandleRepresentation3D::SetLabelTextScale ( double  scale[3]  )  [virtual]

Scale text (font size along each dimension).

virtual double* vtkPolygonalHandleRepresentation3D::GetLabelTextScale (  )  [virtual]

Scale text (font size along each dimension).

void vtkPolygonalHandleRepresentation3D::Highlight ( int  highlight  )  [protected]

void vtkPolygonalHandleRepresentation3D::Translate ( double *  p1,
double *  p2 
) [protected]

void vtkPolygonalHandleRepresentation3D::Scale ( double *  p1,
double *  p2,
double  eventPos[2] 
) [protected]

void vtkPolygonalHandleRepresentation3D::MoveFocus ( double *  p1,
double *  p2 
) [protected]

void vtkPolygonalHandleRepresentation3D::CreateDefaultProperties (  )  [protected]

void vtkPolygonalHandleRepresentation3D::MoveFocusRequest ( double *  p1,
double *  p2,
double  requestedDisplayPos[3] 
) [protected]

int vtkPolygonalHandleRepresentation3D::DetermineConstraintAxis ( int  constraint,
double *  x,
double *  startPickPos 
) [protected]


Member Data Documentation

Definition at line 134 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 135 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 136 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 137 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 138 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 139 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 140 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 141 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 142 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 143 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 144 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 145 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 146 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 147 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 170 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 171 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 172 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 173 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 174 of file vtkPolygonalHandleRepresentation3D.h.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:26:19 2009 for VTK by  doxygen 1.5.6