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

represent the vtkAngleWidget More...

#include <vtkAngleRepresentation2D.h>

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

List of all members.

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

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 46 of file vtkAngleRepresentation2D.h.


Member Typedef Documentation

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

Definition at line 54 of file vtkAngleRepresentation2D.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate class.

Reimplemented from vtkObject.

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.

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

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.

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

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

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

Method defined by vtkWidgetRepresentation superclass and needed here.

Reimplemented from vtkAngleRepresentation.

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 99 of file vtkAngleRepresentation2D.h.

Definition at line 100 of file vtkAngleRepresentation2D.h.

Definition at line 101 of file vtkAngleRepresentation2D.h.


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