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 44 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 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 ()

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

Member Typedef Documentation

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

Definition at line 53 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 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.

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 113 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 114 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 115 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 116 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 117 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 118 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 119 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 120 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 121 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 122 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 123 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 124 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 125 of file vtkPolygonalHandleRepresentation3D.h.

Definition at line 126 of file vtkPolygonalHandleRepresentation3D.h.


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

Generated on Sat Dec 27 13:44:08 2008 for VTK by  doxygen 1.5.6