vtkAngleRepresentation3D Class Reference

#include <vtkAngleRepresentation3D.h>

Inheritance diagram for vtkAngleRepresentation3D:

Inheritance graph
[legend]
Collaboration diagram for vtkAngleRepresentation3D:

Collaboration graph
[legend]

List of all members.


Detailed Description

represent the vtkAngleWidget

The vtkAngleRepresentation3D 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 3D representation, meaning that it draws in the overlay plane.

See also:
vtkAngleWidget vtkHandleRepresentation
Tests:
vtkAngleRepresentation3D (Tests)

Definition at line 48 of file vtkAngleRepresentation3D.h.

typedef vtkAngleRepresentation Superclass
static int IsTypeOf (const char *type)
static vtkAngleRepresentation3DSafeDownCast (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 SetPoint1WorldPosition (double pos[3])
virtual void SetPoint1DisplayPosition (double pos[3])
virtual void SetCenterWorldPosition (double pos[3])
virtual void SetCenterDisplayPosition (double pos[3])
virtual void SetPoint2WorldPosition (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 vtkActorGetRay1 ()
virtual vtkActorGetRay2 ()
virtual void SetTextActorScale (double scale[3])
virtual double * GetTextActorScale ()
virtual void ReleaseGraphicsResources (vtkWindow *w)
virtual int RenderOpaqueGeometry (vtkViewport *)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
virtual int HasTranslucentPolygonalGeometry ()

Static Public Member Functions

static vtkAngleRepresentation3DNew ()

Protected Member Functions

 vtkAngleRepresentation3D ()
 ~vtkAngleRepresentation3D ()

Protected Attributes

vtkLineSourceLine1Source
vtkLineSourceLine2Source
vtkArcSourceArcSource
vtkPolyDataMapperLine1Mapper
vtkPolyDataMapperLine2Mapper
vtkPolyDataMapperArcMapper
vtkActorRay1
vtkActorRay2
vtkActorArc
vtkFollowerTextActor
vtkPolyDataMapperTextMapper
vtkVectorTextTextInput
double Angle
bool ScaleInitialized
double TextPosition [3]

Member Typedef Documentation

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

Definition at line 56 of file vtkAngleRepresentation3D.h.


Constructor & Destructor Documentation

vtkAngleRepresentation3D::vtkAngleRepresentation3D (  )  [protected]

vtkAngleRepresentation3D::~vtkAngleRepresentation3D (  )  [protected]


Member Function Documentation

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

Instantiate class.

Reimplemented from vtkObject.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

virtual double vtkAngleRepresentation3D::GetAngle (  )  [virtual]

Satisfy the superclasses API. Angle returned is in radians.

Implements vtkAngleRepresentation.

virtual void vtkAngleRepresentation3D::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 vtkAngleRepresentation3D::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 vtkAngleRepresentation3D::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 vtkAngleRepresentation3D::SetPoint1WorldPosition ( 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.

virtual void vtkAngleRepresentation3D::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 vtkAngleRepresentation3D::SetCenterWorldPosition ( 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.

virtual void vtkAngleRepresentation3D::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 vtkAngleRepresentation3D::SetPoint2WorldPosition ( 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.

virtual void vtkAngleRepresentation3D::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 vtkAngleRepresentation3D::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 vtkAngleRepresentation3D::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 vtkAngleRepresentation3D::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 vtkActor* vtkAngleRepresentation3D::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 vtkActor* vtkAngleRepresentation3D::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 void vtkAngleRepresentation3D::SetTextActorScale ( double  scale[3]  )  [virtual]

Scale text.

virtual double* vtkAngleRepresentation3D::GetTextActorScale (  )  [virtual]

Scale text.

void vtkAngleRepresentation3D::BuildRepresentation (  )  [virtual]

Method defined by vtkWidgetRepresentation superclass and needed here.

Reimplemented from vtkAngleRepresentation.

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

Methods required by vtkProp superclass.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkAngleRepresentation3D::RenderOpaqueGeometry ( vtkViewport  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkProp.

virtual int vtkAngleRepresentation3D::RenderTranslucentPolygonalGeometry ( vtkViewport  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkProp.

virtual int vtkAngleRepresentation3D::HasTranslucentPolygonalGeometry (  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkWidgetRepresentation.


Member Data Documentation

Definition at line 112 of file vtkAngleRepresentation3D.h.

Definition at line 113 of file vtkAngleRepresentation3D.h.

Definition at line 114 of file vtkAngleRepresentation3D.h.

Definition at line 115 of file vtkAngleRepresentation3D.h.

Definition at line 116 of file vtkAngleRepresentation3D.h.

Definition at line 117 of file vtkAngleRepresentation3D.h.

Definition at line 118 of file vtkAngleRepresentation3D.h.

Definition at line 119 of file vtkAngleRepresentation3D.h.

Definition at line 120 of file vtkAngleRepresentation3D.h.

Definition at line 121 of file vtkAngleRepresentation3D.h.

Definition at line 122 of file vtkAngleRepresentation3D.h.

Definition at line 123 of file vtkAngleRepresentation3D.h.

double vtkAngleRepresentation3D::Angle [protected]

Definition at line 124 of file vtkAngleRepresentation3D.h.

Definition at line 125 of file vtkAngleRepresentation3D.h.

Definition at line 126 of file vtkAngleRepresentation3D.h.


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

Generated on Wed Jun 3 18:53:12 2009 for VTK by  doxygen 1.5.6