Documentation for vtkProp2D

vtkProp2D - abstract superclass for 2D actors

Super Class: vtkObject

Description:

vtkProp2D is an abstract superclass for 2D actors. Instances of vtkProp draw into the image or overlay plane in a viewport. You can control whether the the 2D actor is visible, which overlay plane to draw into (vtkProp2D has a layer property which allows two dimensional actors to be rendered on top of each other in a certain order), and control its position on the screen.

 

See Also:

vtkActor2D vtkMapper2D

 

Methods:

void vtkProp2D ()
void vtkProp2D ()
void PrintSelf (unknown & ,vtkIndent )
const char *GetClassName ()
void Render (vtkViewport *)
void SetLayerNumber (int )
int GetLayerNumber ()
void SetVisibility (int )
int GetVisibility ()
void VisibilityOn ()
void VisibilityOff ()
vtkProperty2D *GetProperty ()
void SetProperty (vtkProperty2D *)
vtkCoordinate *GetPositionCoordinate ()
void SetPosition (float ,float )
void SetPosition (float *)
float *GetPosition ()
void SetDisplayPosition (int ,int )
unsigned long GetMTime ()

 

Detailed Method Descriptions:

Creates an Prop2D with the following defaults: position -1, -1 (view coordinates), layer 0, and visibility on.

void vtkProp2D ()

Destroy an Prop2D. If the Prop2D created it's own property, that property is deleted.

void vtkProp2D ()

All concrete subclasses must be able to render themselves.

void Render (vtkViewport *)

Set/Get the layer number in the overlay planes into which to render.

void SetLayerNumber (int )
int GetLayerNumber ()

Set/Get visibility of this vtkProp.

void SetVisibility (int )
int GetVisibility ()
void VisibilityOn ()
void VisibilityOff ()

Returns an Prop2D's property2D. Creates a property if one doesn't already exist.

vtkProperty2D *GetProperty ()

Set this vtkProp's vtkProperty2D.

void SetProperty (vtkProperty2D *)

Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning.

vtkCoordinate *GetPositionCoordinate ()
void SetPosition (float ,float )
void SetPosition (float *)
float *GetPosition ()

Set the Prop2D's position in display coordinates.

void SetDisplayPosition (int ,int )

Return this objects MTime.

unsigned long GetMTime ()