#include <vtkActor2D.h>
Inheritance diagram for vtkActor2D:
Public Methods | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
int | RenderOverlay (vtkViewport *viewport) |
int | RenderOpaqueGeometry (vtkViewport *viewport) |
int | RenderTranslucentGeometry (vtkViewport *viewport) |
void | SetMapper (vtkMapper2D *mapper) |
virtual vtkMapper2D * | GetMapper () |
virtual void | SetLayerNumber (int) |
virtual int | GetLayerNumber () |
vtkProperty2D * | GetProperty () |
virtual void | SetProperty (vtkProperty2D *) |
virtual vtkCoordinate * | GetPositionCoordinate () |
virtual void | SetPosition (float x[2]) |
virtual void | SetPosition (float x, float y) |
virtual float * | GetPosition () |
void | SetDisplayPosition (int, int) |
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 () |
unsigned long | GetMTime () |
virtual void | GetActors2D (vtkPropCollection *pc) |
void | ShallowCopy (vtkProp *prop) |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkActor2D * | SafeDownCast (vtkObject *o) |
vtkActor2D * | New () |
Protected Methods | |
vtkActor2D () | |
~vtkActor2D () | |
vtkActor2D (const vtkActor2D &) | |
void | operator= (const vtkActor2D &) |
Protected Attributes | |
vtkMapper2D * | Mapper |
int | LayerNumber |
vtkProperty2D * | Property |
vtkCoordinate * | PositionCoordinate |
vtkCoordinate * | Position2Coordinate |
Definition at line 67 of file vtkActor2D.h.
|
|
|
|
|
Definition at line 139 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 vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkProp. Reimplemented in vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkProp. Reimplemented in vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkProp. Reimplemented in vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkProp. Reimplemented in vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. Referenced by vtkActor2DCollection::GetLastActor2D(), and vtkActor2DCollection::GetNextActor2D().
|
|
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at layer 0. Reimplemented from vtkProp. Reimplemented in vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
Support the standard render methods. Reimplemented from vtkProp. Reimplemented in vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS All concrete subclasses must be able to render themselves. There are five key render methods in vtk and they correspond to five different points in the rendering cycle. Any given prop may implement one or more of these methods. The first two methods are designed to render 3D geometry such as polygons lines, triangles. We render the opaque first then the transparent. Ray casting is different from the other methods in that the rendering process is driven not by the mapper but by the ray caster. Two methods are required to support ray casting - one for initialization, and the other to cast a ray (in viewing coordinates.) The next three methods are primarily intended for volume rendering and supports any technique that returns an image to be composited. The RenderIntoImage() method causes the rendering to occur, and the GetRGBAImage() and GetZImage() methods are used to gather results. The last method is to render any 2D annotation or overlays. Except for the ray casting methods, these methods return an integer value indicating whether or not this render method was applied to this data. For the ray cast initialization, the integer indicated whether or not the initialization was successful. For ray casting, the integer return value indicates whether or not the ray intersected something. Reimplemented from vtkProp. Reimplemented in vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
Reimplemented from vtkProp. Reimplemented in vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
Set/Get the vtkMapper2D which defines the data to be drawn. Referenced by vtkScaledTextActor::LastOrigin().
|
|
|
|
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 |
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
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 vtkLegendBoxActor, vtkAxisActor2D, vtkScalarBarActor, and vtkScaledTextActor. |
|
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 vtkCubeAxesActor2D, vtkLegendBoxActor, vtkXYPlotActor, vtkAxisActor2D, vtkParallelCoordinatesActor, vtkScalarBarActor, and vtkScaledTextActor. |
|
Definition at line 140 of file vtkActor2D.h. |
|
Definition at line 142 of file vtkActor2D.h. |
|
Definition at line 143 of file vtkActor2D.h. |
|
Definition at line 144 of file vtkActor2D.h. |
|
Definition at line 145 of file vtkActor2D.h. |
|
Definition at line 146 of file vtkActor2D.h. |