vtkAngleRepresentation2D Class Reference

#include <vtkAngleRepresentation2D.h>

Inheritance diagram for vtkAngleRepresentation2D:

Inheritance graph
[legend]
Collaboration diagram for vtkAngleRepresentation2D:

Collaboration graph
[legend]

List of all members.


Detailed Description

represent the vtkAngleWidget

The vtkAngleRepresentation2D is a representation for the vtkAngleWidget. This representation consists of two rays and three vtkHandleRepresentations to place and manipulate the three points defining the angle representation. (Note: the three points are referred to as Point1, Center, and Point2, at the two end points (Point1 and Point2) and Center (around which the angle is measured). This particular implementation is a 2D representation, meaning that it draws in the overlay plane.

See also:
vtkAngleWidget vtkHandleRepresentation
Examples:
vtkAngleRepresentation2D (Examples)
Tests:
vtkAngleRepresentation2D (Tests)

Definition at line 45 of file vtkAngleRepresentation2D.h.

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

Public Member Functions

virtual double GetAngle ()
void BuildRepresentation ()
virtual void GetPoint1WorldPosition (double pos[3])
virtual void GetCenterWorldPosition (double pos[3])
virtual void GetPoint2WorldPosition (double pos[3])
virtual void SetPoint1DisplayPosition (double pos[3])
virtual void SetCenterDisplayPosition (double pos[3])
virtual void SetPoint2DisplayPosition (double pos[3])
virtual void GetPoint1DisplayPosition (double pos[3])
virtual void GetCenterDisplayPosition (double pos[3])
virtual void GetPoint2DisplayPosition (double pos[3])
virtual vtkLeaderActor2DGetRay1 ()
virtual vtkLeaderActor2DGetRay2 ()
virtual vtkLeaderActor2DGetArc ()
virtual void ReleaseGraphicsResources (vtkWindow *w)
virtual int RenderOverlay (vtkViewport *viewport)

Static Public Member Functions

static vtkAngleRepresentation2DNew ()

Protected Member Functions

 vtkAngleRepresentation2D ()
 ~vtkAngleRepresentation2D ()

Protected Attributes

vtkLeaderActor2DRay1
vtkLeaderActor2DRay2
vtkLeaderActor2DArc

Member Typedef Documentation

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

Definition at line 53 of file vtkAngleRepresentation2D.h.


Constructor & Destructor Documentation

vtkAngleRepresentation2D::vtkAngleRepresentation2D (  )  [protected]

vtkAngleRepresentation2D::~vtkAngleRepresentation2D (  )  [protected]


Member Function Documentation

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

Instantiate class.

Reimplemented from vtkObject.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

virtual double vtkAngleRepresentation2D::GetAngle (  )  [virtual]

Satisfy the superclasses API.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::GetPoint1WorldPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::GetCenterWorldPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::GetPoint2WorldPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::SetPoint1DisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::SetCenterDisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::SetPoint2DisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::GetPoint1DisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::GetCenterDisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::GetPoint2DisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkAngleRepresentation.

virtual vtkLeaderActor2D* vtkAngleRepresentation2D::GetRay1 (  )  [virtual]

Set/Get the three leaders used to create this representation. By obtaining these leaders the user can set the appropriate properties, etc.

virtual vtkLeaderActor2D* vtkAngleRepresentation2D::GetRay2 (  )  [virtual]

Set/Get the three leaders used to create this representation. By obtaining these leaders the user can set the appropriate properties, etc.

virtual vtkLeaderActor2D* vtkAngleRepresentation2D::GetArc (  )  [virtual]

Set/Get the three leaders used to create this representation. By obtaining these leaders the user can set the appropriate properties, etc.

void vtkAngleRepresentation2D::BuildRepresentation (  )  [virtual]

Method defined by vtkWidgetRepresentation superclass and needed here.

Reimplemented from vtkAngleRepresentation.

virtual void vtkAngleRepresentation2D::ReleaseGraphicsResources ( vtkWindow w  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkWidgetRepresentation.

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

Methods required by vtkProp superclass.

Reimplemented from vtkProp.


Member Data Documentation

Definition at line 98 of file vtkAngleRepresentation2D.h.

Definition at line 99 of file vtkAngleRepresentation2D.h.

Definition at line 100 of file vtkAngleRepresentation2D.h.


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

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