Section: Visualization Toolkit Widget Classes
To create an instance of class vtkAngleRepresentation2D, simply invoke its constructor as follows
obj = vtkAngleRepresentation2D
obj is an instance of the vtkAngleRepresentation2D class.
string = obj.GetClassName () - Standard VTK methods.
int = obj.IsA (string name) - Standard VTK methods.
vtkAngleRepresentation2D = obj.NewInstance () - Standard VTK methods.
vtkAngleRepresentation2D = obj.SafeDownCast (vtkObject o) - Standard VTK methods.
double = obj.GetAngle () - Satisfy the superclasses API.
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.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.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.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.
vtkLeaderActor2D = obj.GetRay1 () - Set/Get the three leaders used to create this representation.
By obtaining these leaders the user can set the appropriate
properties, etc.
vtkLeaderActor2D = obj.GetRay2 () - Set/Get the three leaders used to create this representation.
By obtaining these leaders the user can set the appropriate
properties, etc.
vtkLeaderActor2D = obj.GetArc () - Set/Get the three leaders used to create this representation.
By obtaining these leaders the user can set the appropriate
properties, etc.
obj.BuildRepresentation () - Method defined by vtkWidgetRepresentation superclass and
needed here.
obj.ReleaseGraphicsResources (vtkWindow w) - Methods required by vtkProp superclass.
int = obj.RenderOverlay (vtkViewport viewport) - Methods required by vtkProp superclass.