VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPointHandleRepresentation2D Class Reference

represent the position of a point in display coordinates More...

#include <vtkPointHandleRepresentation2D.h>

Inheritance diagram for vtkPointHandleRepresentation2D:
Inheritance graph
[legend]
Collaboration diagram for vtkPointHandleRepresentation2D:
Collaboration graph
[legend]

List of all members.

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 doubleGetBounds ()
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
typedef vtkHandleRepresentation Superclass
static int IsTypeOf (const char *type)
static
vtkPointHandleRepresentation2D
SafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkPointHandleRepresentation2DNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

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
Examples:
vtkPointHandleRepresentation2D (Examples)
Tests:
vtkPointHandleRepresentation2D (Tests)

Definition at line 47 of file vtkPointHandleRepresentation2D.h.


Member Typedef Documentation

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

Definition at line 55 of file vtkPointHandleRepresentation2D.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate this class.

Reimplemented from vtkObject.

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.

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

virtual vtkObjectBase* vtkPointHandleRepresentation2D::NewInstanceInternal ( ) const [protected, virtual]

Standard methods for instances of this class.

Reimplemented from vtkHandleRepresentation.

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.

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.

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.

Set/Get the handle properties when unselected and selected.

Set/Get the handle properties when unselected and selected.

Set/Get the handle properties when unselected and selected.

Set/Get the handle properties when unselected and selected.

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.

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.

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

Methods to make this class behave as a vtkProp.

Reimplemented from vtkProp.

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]
int vtkPointHandleRepresentation2D::DetermineConstraintAxis ( int  constraint,
double  eventPos[2] 
) [protected]

Member Data Documentation

Definition at line 113 of file vtkPointHandleRepresentation2D.h.

Definition at line 114 of file vtkPointHandleRepresentation2D.h.

Definition at line 115 of file vtkPointHandleRepresentation2D.h.

Definition at line 116 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 122 of file vtkPointHandleRepresentation2D.h.

Definition at line 125 of file vtkPointHandleRepresentation2D.h.

Definition at line 134 of file vtkPointHandleRepresentation2D.h.

Definition at line 135 of file vtkPointHandleRepresentation2D.h.

Definition at line 140 of file vtkPointHandleRepresentation2D.h.

Definition at line 141 of file vtkPointHandleRepresentation2D.h.


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