Documentation for vtkCoordinate

vtkCoordinate

Super Class: vtkObject

Description:

vtkCoordinate represents a location or position. It supports multiple coordinate systems and relative positioning.

 

Methods:

void vtkCoordinate ()
void vtkCoordinate ()
static vtkCoordinate *New ()
void PrintSelf (unknown & ,vtkIndent )
const char *GetClassName ()
void SetCoordinateSystem (int )
int GetCoordinateSystem ()
void SetCoordinateSystemToDisplay ()
void SetCoordinateSystemToNormalizedDisplay ()
void SetCoordinateSystemToViewport ()
void SetCoordinateSystemToNormalizedViewport ()
void SetCoordinateSystemToView ()
void SetCoordinateSystemToWorld ()
void SetValue (float ,float ,float )
void SetValue (float *)
float *GetValue ()
void SetValue (float ,float )
void SetReferenceCoordinate (vtkCoordinate *)
vtkCoordinate *GetReferenceCoordinate ()
void SetViewport (vtkViewport *)
vtkViewport *GetViewport ()
float *GetComputedWorldValue (vtkViewport *)
int *GetComputedViewportValue (vtkViewport *)
int *GetComputedDisplayValue (vtkViewport *)
int *GetComputedLocalDisplayValue (vtkViewport *)
float *GetComputedValue (vtkViewport *)

 

Detailed Method Descriptions:

Creates an Coordinate with the following defaults: value of 0, 0, 0 in world coordinates

void vtkCoordinate ()

Destroy a Coordinate.

void vtkCoordinate ()

Set/get the coordinate system which this corrdinate is defined in. The options are Display, Normalized Display, Viewport, Normalized Viewport, View, and World.

void SetCoordinateSystem (int )
int GetCoordinateSystem ()
void SetCoordinateSystemToDisplay ()
void SetCoordinateSystemToNormalizedDisplay ()
void SetCoordinateSystemToViewport ()
void SetCoordinateSystemToNormalizedViewport ()
void SetCoordinateSystemToView ()

Set/get the value of this coordinate. This can be thought of as the position of this coordinate in its coordinate system.

void SetCoordinateSystemToWorld ()
void SetValue (float ,float ,float )
void SetValue (float *)
float *GetValue ()

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.

void SetValue (float ,float )
void SetReferenceCoordinate (vtkCoordinate *)
vtkCoordinate *GetReferenceCoordinate ()

If you want this coordinate to be relative to a specific vtkViewport (vtkRenderer, vtkImager) then you can specify that here.

void SetViewport (vtkViewport *)
vtkViewport *GetViewport ()

Return the computed value in a specified coordinate system.

float *GetComputedWorldValue (vtkViewport *)
int *GetComputedViewportValue (vtkViewport *)
int *GetComputedDisplayValue (vtkViewport *)
int *GetComputedLocalDisplayValue (vtkViewport *)