#include <vtkActor2D.h>
Inheritance diagram for vtkActor2D:
vtkActor2D is similar to vtkActor, but it is made to be used with two dimensional images and annotation. vtkActor2D has a position but does not use a transformation matrix like vtkActor (see the superclass vtkProp for information on positioning vtkActor2D). vtkActor2D has a reference to a vtkMapper2D object which does the rendering.
Definition at line 60 of file vtkActor2D.h.
Public Types | |
typedef vtkProp | Superclass |
Public Methods | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
vtkProperty2D * | GetProperty () |
virtual void | SetProperty (vtkProperty2D *) |
void | SetDisplayPosition (int, int) |
unsigned long | GetMTime () |
virtual void | GetActors2D (vtkPropCollection *pc) |
void | ShallowCopy (vtkProp *prop) |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
int | RenderOverlay (vtkViewport *viewport) |
int | RenderOpaqueGeometry (vtkViewport *viewport) |
int | RenderTranslucentGeometry (vtkViewport *viewport) |
virtual void | SetMapper (vtkMapper2D *mapper) |
virtual vtkMapper2D * | GetMapper () |
virtual void | SetLayerNumber (int) |
virtual int | GetLayerNumber () |
virtual vtkCoordinate * | GetPositionCoordinate () |
virtual void | SetPosition (float x[2]) |
virtual void | SetPosition (float x, float y) |
virtual float * | GetPosition () |
virtual vtkCoordinate * | GetPosition2Coordinate () |
virtual void | SetPosition2 (float x[2]) |
virtual void | SetPosition2 (float x, float y) |
virtual float * | GetPosition2 () |
void | SetWidth (float w) |
float | GetWidth () |
void | SetHeight (float h) |
float | GetHeight () |
virtual vtkCoordinate * | GetActualPositionCoordinate (void) |
virtual vtkCoordinate * | GetActualPosition2Coordinate (void) |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkActor2D * | SafeDownCast (vtkObject *o) |
vtkActor2D * | New () |
Protected Methods | |
vtkActor2D () | |
~vtkActor2D () | |
Protected Attributes | |
vtkMapper2D * | Mapper |
int | LayerNumber |
vtkProperty2D * | Property |
vtkCoordinate * | PositionCoordinate |
vtkCoordinate * | Position2Coordinate |
|
Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, vtkScaledTextActor, and vtkTextActor. Definition at line 64 of file vtkActor2D.h. |
|
|
|
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, vtkScaledTextActor, and vtkTextActor. |
|
Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, vtkScaledTextActor, and vtkTextActor. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, vtkScaledTextActor, and vtkTextActor. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, vtkScaledTextActor, and vtkTextActor. |
|
Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, vtkScaledTextActor, and vtkTextActor. |
|
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at layer 0. Reimplemented from vtkObject. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, vtkScaledTextActor, and vtkTextActor. |
|
Support the standard render methods. Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkTextActor. |
|
Support the standard render methods. Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkTextActor. |
|
Support the standard render methods. Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkTextActor. |
|
Set/Get the vtkMapper2D which defines the data to be drawn. Reimplemented in vtkTextActor. |
|
Set/Get the vtkMapper2D which defines the data to be drawn. |
|
Set/Get the layer number in the overlay planes into which to render. |
|
Set/Get the layer number in the overlay planes into which to render. |
|
Returns this actor's vtkProperty2D. Creates a property if one doesn't already exist. |
|
Set this vtkProp's vtkProperty2D. |
|
Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning. The position variable controls the lower left corner of the Actor2D Referenced by vtkAxisActor2D::GetPoint1Coordinate(). |
|
Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning. The position variable controls the lower left corner of the Actor2D Referenced by vtkAxisActor2D::SetPoint1(). |
|
Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning. The position variable controls the lower left corner of the Actor2D |
|
Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning. The position variable controls the lower left corner of the Actor2D Referenced by vtkAxisActor2D::GetPoint1(). |
|
Set the Prop2D's position in display coordinates. |
|
Access the Position2 instance variable. This variable controls the upper right corner of the Actor2D. It is by default relative to Position and in normalized viewport coordinates. Some 2D actor subclasses ignore the position2 variable Referenced by vtkAxisActor2D::GetPoint2Coordinate(). |
|
Access the Position2 instance variable. This variable controls the upper right corner of the Actor2D. It is by default relative to Position and in normalized viewport coordinates. Some 2D actor subclasses ignore the position2 variable Referenced by vtkAxisActor2D::SetPoint2(). |
|
Access the Position2 instance variable. This variable controls the upper right corner of the Actor2D. It is by default relative to Position and in normalized viewport coordinates. Some 2D actor subclasses ignore the position2 variable |
|
Access the Position2 instance variable. This variable controls the upper right corner of the Actor2D. It is by default relative to Position and in normalized viewport coordinates. Some 2D actor subclasses ignore the position2 variable Referenced by vtkAxisActor2D::GetPoint2(). |
|
Set/Get the height and width of the Actor2D. The value is expressed as a fraction of the viewport. This really is just another way of setting the Position2 instance variable. |
|
Set/Get the height and width of the Actor2D. The value is expressed as a fraction of the viewport. This really is just another way of setting the Position2 instance variable. |
|
Set/Get the height and width of the Actor2D. The value is expressed as a fraction of the viewport. This really is just another way of setting the Position2 instance variable. |
|
Set/Get the height and width of the Actor2D. The value is expressed as a fraction of the viewport. This really is just another way of setting the Position2 instance variable. |
|
Return this objects MTime. Reimplemented from vtkObject. Reimplemented in vtkXYPlotActor. |
|
For some exporters and other other operations we must be able to collect all the actors or volumes. These methods are used in that process. Reimplemented from vtkProp. |
|
Shallow copy of this vtkActor2D. Overloads the virtual vtkProp method. Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkLegendBoxActor, vtkAxisActor2D, vtkScalarBarActor, and vtkTextActor. |
|
Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release. Reimplemented from vtkProp. Reimplemented in vtkCaptionActor2D, vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkTextActor. |
|
Return the actual vtkCoordinate reference that the mapper should use to position the actor. This is used internally by the mappers and should be overridden in specialized subclasses and otherwise ignored. Reimplemented in vtkTextActor. Definition at line 145 of file vtkActor2D.h. |
|
Return the actual vtkCoordinate reference that the mapper should use to position the actor. This is used internally by the mappers and should be overridden in specialized subclasses and otherwise ignored. Definition at line 153 of file vtkActor2D.h. |
|
Definition at line 161 of file vtkActor2D.h. |
|
Definition at line 162 of file vtkActor2D.h. |
|
Definition at line 163 of file vtkActor2D.h. |
|
Definition at line 164 of file vtkActor2D.h. |
|
Definition at line 165 of file vtkActor2D.h. |