vtkPointHandleRepresentation2D Class Reference

#include <vtkPointHandleRepresentation2D.h>

Inheritance diagram for vtkPointHandleRepresentation2D:

Inheritance graph
[legend]
Collaboration diagram for vtkPointHandleRepresentation2D:

Collaboration graph
[legend]

List of all members.


Detailed Description

represent the position of a point in display coordinates

This class is used to represent a vtkHandleWidget. It represents a position in 2D world coordinates using a x-y cursor (the cursor defined by an instance of vtkPolyData and generated by a vtkPolyDataAlgorithm).

See also:
vtkHandleRepresentation vtkHandleWidget
Tests:
vtkPointHandleRepresentation2D (Tests)

Definition at line 43 of file vtkPointHandleRepresentation2D.h.

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

Public Member Functions

virtual void SetDisplayPosition (double xyz[3])
void Highlight (int highlight)
virtual void SetPointPlacer (vtkPointPlacer *)
void SetCursorShape (vtkPolyData *cursorShape)
vtkPolyDataGetCursorShape ()
void SetProperty (vtkProperty2D *)
void SetSelectedProperty (vtkProperty2D *)
virtual vtkProperty2DGetProperty ()
virtual vtkProperty2DGetSelectedProperty ()
virtual double * GetBounds ()
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 DeepCopy (vtkProp *prop)
virtual void GetActors2D (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOverlay (vtkViewport *viewport)

Static Public Member Functions

static
vtkPointHandleRepresentation2D
New ()

Protected Member Functions

 vtkPointHandleRepresentation2D ()
 ~vtkPointHandleRepresentation2D ()
void Translate (double eventPos[2])
void Scale (double eventPos[2])
void CreateDefaultProperties ()
int DetermineConstraintAxis (int constraint, double eventPos[2])

Protected Attributes

vtkActor2DActor
vtkPolyDataMapper2DMapper
vtkGlyph2DGlypher
vtkPolyDataCursorShape
vtkPolyDataFocalData
vtkPointsFocalPoint
double LastPickPosition [3]
double LastEventPosition [2]
int ConstraintAxis
vtkProperty2DProperty
vtkProperty2DSelectedProperty
int WaitingForMotion
int WaitCount

Member Typedef Documentation

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

Definition at line 51 of file vtkPointHandleRepresentation2D.h.


Constructor & Destructor Documentation

vtkPointHandleRepresentation2D::vtkPointHandleRepresentation2D (  )  [protected]

vtkPointHandleRepresentation2D::~vtkPointHandleRepresentation2D (  )  [protected]


Member Function Documentation

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

Instantiate this class.

Reimplemented from vtkObject.

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

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

void vtkPointHandleRepresentation2D::SetCursorShape ( vtkPolyData cursorShape  ) 

Specify the cursor shape with an instance of vtkPolyData. Note that shape is assumed to be defined in the display coordinate system. By default a vtkCursor2D shape is used.

vtkPolyData* vtkPointHandleRepresentation2D::GetCursorShape (  ) 

Specify the cursor shape with an instance of vtkPolyData. Note that shape is assumed to be defined in the display coordinate system. By default a vtkCursor2D shape is used.

virtual void vtkPointHandleRepresentation2D::SetDisplayPosition ( double  xyz[3]  )  [virtual]

Set/Get the position of the point in display coordinates. This overloads the superclasses SetDisplayPosition in order to set the focal point of the cursor.

Reimplemented from vtkHandleRepresentation.

void vtkPointHandleRepresentation2D::SetProperty ( vtkProperty2D  ) 

Set/Get the handle properties when unselected and selected.

void vtkPointHandleRepresentation2D::SetSelectedProperty ( vtkProperty2D  ) 

Set/Get the handle properties when unselected and selected.

virtual vtkProperty2D* vtkPointHandleRepresentation2D::GetProperty (  )  [virtual]

Set/Get the handle properties when unselected and selected.

virtual vtkProperty2D* vtkPointHandleRepresentation2D::GetSelectedProperty (  )  [virtual]

Set/Get the handle properties when unselected and selected.

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

Subclasses of vtkPointHandleRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkPointHandleRepresentation2D::BuildRepresentation (  )  [virtual]

Subclasses of vtkPointHandleRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Implements vtkWidgetRepresentation.

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

Subclasses of vtkPointHandleRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Reimplemented from vtkWidgetRepresentation.

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

Subclasses of vtkPointHandleRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Reimplemented from vtkWidgetRepresentation.

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

Subclasses of vtkPointHandleRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Reimplemented from vtkWidgetRepresentation.

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

Methods to make this class behave as a vtkProp.

Reimplemented from vtkHandleRepresentation.

virtual void vtkPointHandleRepresentation2D::DeepCopy ( vtkProp prop  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkHandleRepresentation.

virtual void vtkPointHandleRepresentation2D::GetActors2D ( vtkPropCollection  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

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

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkPointHandleRepresentation2D::RenderOverlay ( vtkViewport viewport  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkProp.

void vtkPointHandleRepresentation2D::Highlight ( int  highlight  ) 

virtual void vtkPointHandleRepresentation2D::SetPointPlacer ( vtkPointPlacer  )  [virtual]

Override the superclass implementation. This class does not use a point placer. Point placers dictate the placement of points in 3D space. Since this class constrains points to lie in an overlay plane anyway, we don't care. Just returns.

Reimplemented from vtkHandleRepresentation.

void vtkPointHandleRepresentation2D::Translate ( double  eventPos[2]  )  [protected]

void vtkPointHandleRepresentation2D::Scale ( double  eventPos[2]  )  [protected]

void vtkPointHandleRepresentation2D::CreateDefaultProperties (  )  [protected]

int vtkPointHandleRepresentation2D::DetermineConstraintAxis ( int  constraint,
double  eventPos[2] 
) [protected]


Member Data Documentation

Definition at line 109 of file vtkPointHandleRepresentation2D.h.

Definition at line 110 of file vtkPointHandleRepresentation2D.h.

Definition at line 111 of file vtkPointHandleRepresentation2D.h.

Definition at line 112 of file vtkPointHandleRepresentation2D.h.

Definition at line 113 of file vtkPointHandleRepresentation2D.h.

Definition at line 114 of file vtkPointHandleRepresentation2D.h.

Definition at line 117 of file vtkPointHandleRepresentation2D.h.

Definition at line 118 of file vtkPointHandleRepresentation2D.h.

Definition at line 121 of file vtkPointHandleRepresentation2D.h.

Definition at line 130 of file vtkPointHandleRepresentation2D.h.

Definition at line 131 of file vtkPointHandleRepresentation2D.h.

Definition at line 136 of file vtkPointHandleRepresentation2D.h.

Definition at line 137 of file vtkPointHandleRepresentation2D.h.


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

Generated on Wed Aug 24 11:56:06 2011 for VTK by  doxygen 1.5.6