Section: Visualization Toolkit Widget Classes
To create an instance of class vtkAngleRepresentation3D, simply invoke its constructor as follows
obj = vtkAngleRepresentation3D
obj
is an instance of the vtkAngleRepresentation3D class.
string = obj.GetClassName ()
- Standard VTK methods.
int = obj.IsA (string name)
- Standard VTK methods.
vtkAngleRepresentation3D = obj.NewInstance ()
- Standard VTK methods.
vtkAngleRepresentation3D = obj.SafeDownCast (vtkObject o)
- Standard VTK methods.
double = obj.GetAngle ()
- Satisfy the superclasses API. Angle returned is in radians.
obj.GetPoint1WorldPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.GetCenterWorldPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.GetPoint2WorldPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.SetPoint1WorldPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.SetPoint1DisplayPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.SetCenterWorldPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.SetCenterDisplayPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.SetPoint2WorldPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.SetPoint2DisplayPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.GetPoint1DisplayPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.GetCenterDisplayPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
obj.GetPoint2DisplayPosition (double pos[3])
- Methods to Set/Get the coordinates of the two points defining
this representation. Note that methods are available for both
display and world coordinates.
vtkActor = obj.GetRay1 ()
- Set/Get the three leaders used to create this representation.
By obtaining these leaders the user can set the appropriate
properties, etc.
vtkActor = obj.GetRay2 ()
- Set/Get the three leaders used to create this representation.
By obtaining these leaders the user can set the appropriate
properties, etc.
vtkActor = obj.GetArc ()
- Set/Get the three leaders used to create this representation.
By obtaining these leaders the user can set the appropriate
properties, etc.
vtkFollower = obj.GetTextActor ()
- Set/Get the three leaders used to create this representation.
By obtaining these leaders the user can set the appropriate
properties, etc.
obj.SetTextActorScale (double scale[3])
- Scale text.
obj.BuildRepresentation ()
- Method defined by vtkWidgetRepresentation superclass and
needed here.
obj.ReleaseGraphicsResources (vtkWindow w)
- Methods required by vtkProp superclass.
int = obj.RenderOpaqueGeometry (vtkViewport )
- Methods required by vtkProp superclass.
int = obj.RenderTranslucentPolygonalGeometry (vtkViewport )
- Methods required by vtkProp superclass.
int = obj.HasTranslucentPolygonalGeometry ()
- Methods required by vtkProp superclass.