VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkAngleRepresentation2D Class Reference

represent the vtkAngleWidget More...

#include <vtkAngleRepresentation2D.h>

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

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)
 
- Public Member Functions inherited from vtkAngleRepresentation
void SetHandleRepresentation (vtkHandleRepresentation *handle)
 
void InstantiateHandleRepresentation ()
 
virtual vtkHandleRepresentationGetPoint1Representation ()
 
virtual vtkHandleRepresentationGetCenterRepresentation ()
 
virtual vtkHandleRepresentationGetPoint2Representation ()
 
virtual void SetTolerance (int)
 
virtual int GetTolerance ()
 
virtual void SetLabelFormat (const char *)
 
virtual char * GetLabelFormat ()
 
virtual void SetRay1Visibility (int)
 
virtual int GetRay1Visibility ()
 
virtual void Ray1VisibilityOn ()
 
virtual void Ray1VisibilityOff ()
 
virtual void SetRay2Visibility (int)
 
virtual int GetRay2Visibility ()
 
virtual void Ray2VisibilityOn ()
 
virtual void Ray2VisibilityOff ()
 
virtual void SetArcVisibility (int)
 
virtual int GetArcVisibility ()
 
virtual void ArcVisibilityOn ()
 
virtual void ArcVisibilityOff ()
 
virtual int ComputeInteractionState (int X, int Y, int modify=0)
 
virtual void StartWidgetInteraction (double e[2])
 
virtual void CenterWidgetInteraction (double e[2])
 
virtual void WidgetInteraction (double e[2])
 
vtkAngleRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkWidgetRepresentation
virtual void PickingManagedOn ()
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual void SetRenderer (vtkRenderer *ren)
 
virtual vtkRenderer * GetRenderer ()
 
virtual void PlaceWidget (double *vtkNotUsed(bounds[6]))
 
virtual void EndWidgetInteraction (double newEventPos[2])
 
virtual int GetInteractionState ()
 
virtual void Highlight (int vtkNotUsed(highlightOn))
 
virtual void SetPlaceFactor (double)
 
virtual double GetPlaceFactor ()
 
virtual void SetHandleSize (double)
 
virtual double GetHandleSize ()
 
virtual int GetNeedToRender ()
 
virtual void SetNeedToRender (int)
 
virtual void NeedToRenderOn ()
 
virtual void NeedToRenderOff ()
 
virtual double * GetBounds ()
 
virtual void ShallowCopy (vtkProp *prop)
 
virtual void GetActors (vtkPropCollection *)
 
virtual void GetActors2D (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual int RenderOverlay (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int HasTranslucentPolygonalGeometry ()
 
vtkWidgetRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static vtkAngleRepresentation2DNew ()
 
- Static Public Member Functions inherited from vtkAngleRepresentation
static int IsTypeOf (const char *type)
 
static vtkAngleRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkWidgetRepresentation
static int IsTypeOf (const char *type)
 
static vtkWidgetRepresentationSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

 vtkAngleRepresentation2D ()
 
 ~vtkAngleRepresentation2D ()
 
- Protected Member Functions inherited from vtkAngleRepresentation
 vtkAngleRepresentation ()
 
 ~vtkAngleRepresentation ()
 
- Protected Member Functions inherited from vtkWidgetRepresentation
 vtkWidgetRepresentation ()
 
 ~vtkWidgetRepresentation ()
 
void AdjustBounds (double bounds[6], double newBounds[6], double center[3])
 
virtual void RegisterPickers ()
 
virtual void UnRegisterPickers ()
 
virtual void PickersModified ()
 
vtkPickingManager * GetPickingManager ()
 
double SizeHandlesRelativeToViewport (double factor, double pos[3])
 
double SizeHandlesInPixels (double factor, double pos[3])
 
vtkAssemblyPath * GetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 

Protected Attributes

vtkLeaderActor2D * Ray1
 
vtkLeaderActor2D * Ray2
 
vtkLeaderActor2D * Arc
 
- Protected Attributes inherited from vtkAngleRepresentation
vtkHandleRepresentationHandleRepresentation
 
vtkHandleRepresentationPoint1Representation
 
vtkHandleRepresentationCenterRepresentation
 
vtkHandleRepresentationPoint2Representation
 
int Tolerance
 
int Ray1Visibility
 
int Ray2Visibility
 
int ArcVisibility
 
char * LabelFormat
 
- Protected Attributes inherited from vtkWidgetRepresentation
vtkWeakPointer< vtkRenderer > Renderer
 
int InteractionState
 
double StartEventPosition [3]
 
double PlaceFactor
 
int Placed
 
double InitialBounds [6]
 
double InitialLength
 
int ValidPick
 
bool PickingManaged
 
double HandleSize
 
int NeedToRender
 
vtkTimeStamp BuildTime
 
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 vtkObjectBase * NewInstanceInternal () const
 

Additional Inherited Members

- Public Types inherited from vtkAngleRepresentation
enum  { Outside =0, NearP1, NearCenter, NearP2 }
 
typedef vtkWidgetRepresentation Superclass
 
- Public Types inherited from vtkWidgetRepresentation
typedef vtkProp Superclass
 

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.

Definition at line 54 of file vtkAngleRepresentation2D.h.

Constructor & Destructor Documentation

vtkAngleRepresentation2D::vtkAngleRepresentation2D ( )
protected
vtkAngleRepresentation2D::~vtkAngleRepresentation2D ( )
protected

Member Function Documentation

static vtkAngleRepresentation2D* vtkAngleRepresentation2D::New ( )
static

Instantiate class.

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

Standard VTK methods.

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

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

static vtkAngleRepresentation2D* vtkAngleRepresentation2D::SafeDownCast ( vtkObjectBase *  o)
static

Standard VTK methods.

virtual vtkObjectBase* vtkAngleRepresentation2D::NewInstanceInternal ( ) const
protectedvirtual

Standard VTK methods.

Reimplemented from vtkAngleRepresentation.

vtkAngleRepresentation2D* vtkAngleRepresentation2D::NewInstance ( ) const

Standard VTK methods.

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

Standard VTK methods.

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.

Member Data Documentation

vtkLeaderActor2D* vtkAngleRepresentation2D::Ray1
protected

Definition at line 99 of file vtkAngleRepresentation2D.h.

vtkLeaderActor2D* vtkAngleRepresentation2D::Ray2
protected

Definition at line 100 of file vtkAngleRepresentation2D.h.

vtkLeaderActor2D* vtkAngleRepresentation2D::Arc
protected

Definition at line 101 of file vtkAngleRepresentation2D.h.


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