Section: Visualization Toolkit Filtering Classes
If you cascade vtkCoordinate objects, you refer to another vtkCoordinate object which in turn can refer to others, and so on. This allows you to create composite groups of things like vtkActor2D that are positioned relative to one another. Note that in cascaded sequences, each vtkCoordinate object may be specified in different coordinate systems!
To create an instance of class vtkCoordinate, simply invoke its constructor as follows
obj = vtkCoordinate
obj
is an instance of the vtkCoordinate class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkCoordinate = obj.NewInstance ()
vtkCoordinate = obj.SafeDownCast (vtkObject o)
obj.SetCoordinateSystem (int )
- Set/get the coordinate system which this coordinate
is defined in. The options are Display, Normalized Display,
Viewport, Normalized Viewport, View, and World.
int = obj.GetCoordinateSystem ()
- Set/get the coordinate system which this coordinate
is defined in. The options are Display, Normalized Display,
Viewport, Normalized Viewport, View, and World.
obj.SetCoordinateSystemToDisplay ()
- Set/get the coordinate system which this coordinate
is defined in. The options are Display, Normalized Display,
Viewport, Normalized Viewport, View, and World.
obj.SetCoordinateSystemToNormalizedDisplay ()
- Set/get the coordinate system which this coordinate
is defined in. The options are Display, Normalized Display,
Viewport, Normalized Viewport, View, and World.
obj.SetCoordinateSystemToViewport ()
- Set/get the coordinate system which this coordinate
is defined in. The options are Display, Normalized Display,
Viewport, Normalized Viewport, View, and World.
obj.SetCoordinateSystemToNormalizedViewport ()
- Set/get the coordinate system which this coordinate
is defined in. The options are Display, Normalized Display,
Viewport, Normalized Viewport, View, and World.
obj.SetCoordinateSystemToView ()
- Set/get the coordinate system which this coordinate
is defined in. The options are Display, Normalized Display,
Viewport, Normalized Viewport, View, and World.
obj.SetCoordinateSystemToWorld ()
string = obj.GetCoordinateSystemAsString ()
obj.SetValue (double , double , double )
- Set/get the value of this coordinate. This can be thought of as
the position of this coordinate in its coordinate system.
obj.SetValue (double a[3])
- Set/get the value of this coordinate. This can be thought of as
the position of this coordinate in its coordinate system.
double = obj. GetValue ()
- Set/get the value of this coordinate. This can be thought of as
the position of this coordinate in its coordinate system.
obj.SetValue (double a, double b)
- If this coordinate is relative to another coordinate,
then specify that coordinate as the ReferenceCoordinate.
If this is NULL the coordinate is assumed to be absolute.
obj.SetReferenceCoordinate (vtkCoordinate )
- If this coordinate is relative to another coordinate,
then specify that coordinate as the ReferenceCoordinate.
If this is NULL the coordinate is assumed to be absolute.
vtkCoordinate = obj.GetReferenceCoordinate ()
- If this coordinate is relative to another coordinate,
then specify that coordinate as the ReferenceCoordinate.
If this is NULL the coordinate is assumed to be absolute.
obj.SetViewport (vtkViewport viewport)
- If you want this coordinate to be relative to a specific
vtkViewport (vtkRenderer) then you can specify
that here.
NOTE: this is a raw pointer, not a weak pointer not a reference counted
object to avoid reference cycle loop between rendering classes and filter
classes.
vtkViewport = obj.GetViewport ()
- If you want this coordinate to be relative to a specific
vtkViewport (vtkRenderer) then you can specify
that here.
NOTE: this is a raw pointer, not a weak pointer not a reference counted
object to avoid reference cycle loop between rendering classes and filter
classes.
double = obj.GetComputedWorldValue (vtkViewport )
- Return the computed value in a specified coordinate system.
int = obj.GetComputedViewportValue (vtkViewport )
- Return the computed value in a specified coordinate system.
int = obj.GetComputedDisplayValue (vtkViewport )
- Return the computed value in a specified coordinate system.
int = obj.GetComputedLocalDisplayValue (vtkViewport )
- Return the computed value in a specified coordinate system.
double = obj.GetComputedDoubleViewportValue (vtkViewport )
double = obj.GetComputedDoubleDisplayValue (vtkViewport )