#include <vtkAngleRepresentation2D.h>
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.
Definition at line 42 of file vtkAngleRepresentation2D.h.
typedef vtkAngleRepresentation | Superclass |
static int | IsTypeOf (const char *type) |
static vtkAngleRepresentation2D * | SafeDownCast (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 vtkLeaderActor2D * | GetRay1 () |
virtual vtkLeaderActor2D * | GetRay2 () |
virtual vtkLeaderActor2D * | GetArc () |
virtual void | ReleaseGraphicsResources (vtkWindow *w) |
virtual int | RenderOverlay (vtkViewport *viewport) |
Static Public Member Functions | |
static vtkAngleRepresentation2D * | New () |
Protected Member Functions | |
vtkAngleRepresentation2D () | |
~vtkAngleRepresentation2D () | |
Protected Attributes | |
vtkLeaderActor2D * | Ray1 |
vtkLeaderActor2D * | Ray2 |
vtkLeaderActor2D * | Arc |
Standard VTK methods.
Reimplemented from vtkAngleRepresentation.
Definition at line 50 of file vtkAngleRepresentation2D.h.
vtkAngleRepresentation2D::vtkAngleRepresentation2D | ( | ) | [protected] |
vtkAngleRepresentation2D::~vtkAngleRepresentation2D | ( | ) | [protected] |
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] |
vtkLeaderActor2D* vtkAngleRepresentation2D::Ray1 [protected] |
Definition at line 95 of file vtkAngleRepresentation2D.h.
vtkLeaderActor2D* vtkAngleRepresentation2D::Ray2 [protected] |
Definition at line 96 of file vtkAngleRepresentation2D.h.
vtkLeaderActor2D* vtkAngleRepresentation2D::Arc [protected] |
Definition at line 97 of file vtkAngleRepresentation2D.h.