ParaView
|
#include <vtkGridAxes2DActor.h>
Inherits vtkProp3D.
Public Types | |
enum | Faces { MIN_YZ = vtkGridAxesHelper::MIN_YZ, MIN_ZX = vtkGridAxesHelper::MIN_ZX, MIN_XY = vtkGridAxesHelper::MIN_XY, MAX_YZ = vtkGridAxesHelper::MAX_YZ, MAX_ZX = vtkGridAxesHelper::MAX_ZX, MAX_XY = vtkGridAxesHelper::MAX_XY } |
enum | LabelMasks { MIN_X = vtkGridAxesHelper::MIN_X, MIN_Y = vtkGridAxesHelper::MIN_Y, MIN_Z = vtkGridAxesHelper::MIN_Z, MAX_X = vtkGridAxesHelper::MAX_X, MAX_Y = vtkGridAxesHelper::MAX_Y, MAX_Z = vtkGridAxesHelper::MAX_Z } |
Valid values for LabelMask. More... | |
typedef vtkProp3D | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetCustomTickPositions (int axis, vtkDoubleArray *positions) |
Set custom tick positions for each of the axes. More... | |
void | SetGenerateGrid (bool val) |
Turn off to not generate polydata for the plane's grid. More... | |
bool | GetGenerateGrid () |
virtual void | GenerateGridOn () |
virtual void | GenerateGridOff () |
void | SetGenerateEdges (bool val) |
Turn off to not generate the polydata for the plane's edges. More... | |
bool | GetGenerateEdges () |
virtual void | GenerateEdgesOn () |
virtual void | GenerateEdgesOff () |
void | SetGenerateTicks (bool val) |
bool | GetGenerateTicks () |
virtual void | GenerateTicksOn () |
virtual void | GenerateTicksOff () |
virtual int | RenderOpaqueGeometry (vtkViewport *) |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) |
virtual int | RenderOverlay (vtkViewport *viewport) |
virtual int | HasTranslucentPolygonalGeometry () |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
vtkMTimeType | GetMTime () |
Overridden to include the mtime for the text properties. More... | |
virtual void | SetGridBounds (double, double, double, double, double, double) |
Set the bounding box defining the grid space. More... | |
virtual void | SetGridBounds (double [6]) |
Set the bounding box defining the grid space. More... | |
virtual double * | GetGridBounds () |
Set the bounding box defining the grid space. More... | |
virtual void | GetGridBounds (double &, double &, double &, double &, double &, double &) |
Set the bounding box defining the grid space. More... | |
virtual void | GetGridBounds (double [6]) |
Set the bounding box defining the grid space. More... | |
virtual void | SetFace (int) |
Indicate which face of the specified bounds is this class operating with. More... | |
virtual int | GetFace () |
Indicate which face of the specified bounds is this class operating with. More... | |
virtual void | SetLabelMask (unsigned int) |
Set the axes to label. More... | |
virtual unsigned int | GetLabelMask () |
Set the axes to label. More... | |
virtual void | SetEnableLayerSupport (bool) |
Enable/Disable layer support. More... | |
virtual bool | GetEnableLayerSupport () |
Enable/Disable layer support. More... | |
virtual void | EnableLayerSupportOn () |
Enable/Disable layer support. More... | |
virtual void | EnableLayerSupportOff () |
Enable/Disable layer support. More... | |
virtual void | SetBackgroundLayer (int) |
Get/Set the layer in which to render all background actors/text when EnableLayerSupport is ON. More... | |
virtual int | GetBackgroundLayer () |
Get/Set the layer in which to render all background actors/text when EnableLayerSupport is ON. More... | |
virtual void | SetGeometryLayer (int) |
Get/Set the layer in which to render all 3D actors when EnableLayerSupport is ON. More... | |
virtual int | GetGeometryLayer () |
Get/Set the layer in which to render all 3D actors when EnableLayerSupport is ON. More... | |
virtual void | SetForegroundLayer (int) |
Get/Set the layer in which to render all foreground actors/text when EnableLayerSupport is ON. More... | |
virtual int | GetForegroundLayer () |
Get/Set the layer in which to render all foreground actors/text when EnableLayerSupport is ON. More... | |
void | SetProperty (vtkProperty *) |
Get/Set the property used to control the appearance of the rendered grid. More... | |
vtkProperty * | GetProperty () |
Get/Set the property used to control the appearance of the rendered grid. More... | |
void | SetTitleTextProperty (int axis, vtkTextProperty *) |
Get/Set the title text properties for each of the coordinate axes. More... | |
vtkTextProperty * | GetTitleTextProperty (int axis) |
Get/Set the title text properties for each of the coordinate axes. More... | |
void | SetLabelTextProperty (int axis, vtkTextProperty *) |
Get/Set the label text properties for each of the coordinate axes. More... | |
vtkTextProperty * | GetLabelTextProperty (int axis) |
Get/Set the label text properties for each of the coordinate axes. More... | |
void | SetTitle (int axis, const vtkStdString &title) |
Set titles for each of the axes. More... | |
const vtkStdString & | GetTitle (int axis) |
Set titles for each of the axes. More... | |
void | SetNotation (int axis, int notation) |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2). More... | |
int | GetNotation (int axis) |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2). More... | |
void | SetPrecision (int axis, int val) |
Get/set the numerical precision to use, default is 2. More... | |
int | GetPrecision (int axis) |
Get/set the numerical precision to use, default is 2. More... | |
virtual double * | GetBounds () |
Returns the prop bounds. More... | |
Static Public Member Functions | |
static vtkGridAxes2DActor * | New () |
static int | IsTypeOf (const char *type) |
static vtkGridAxes2DActor * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGridAxes2DActor () | |
~vtkGridAxes2DActor () | |
bool | Update (vtkViewport *viewport) |
void | UpdateTextProperties (vtkViewport *viewport) |
void | UpdateLabelPositions (vtkViewport *viewport) |
void | UpdateTextActors (vtkViewport *viewport) |
Protected Attributes | |
double | GridBounds [6] |
int | Face |
unsigned int | LabelMask |
bool | EnableLayerSupport |
int | BackgroundLayer |
int | ForegroundLayer |
int | GeometryLayer |
vtkTuple< vtkSmartPointer< vtkTextProperty >, 3 > | TitleTextProperty |
vtkTuple< vtkSmartPointer< vtkTextProperty >, 3 > | LabelTextProperty |
vtkTuple< vtkStdString, 3 > | Titles |
vtkNew< vtkGridAxesHelper > | Helper |
vtkSmartPointer< vtkGridAxesPlane2DActor > | PlaneActor |
vtkNew< vtkAxis > | AxisHelpers [3] |
vtkNew< vtkContextScene > | AxisHelperScene |
vtkTimeStamp | UpdateLabelTextPropertiesMTime |
Friends | |
class | vtkGridAxes3DActor |
class | vtkLabels |
Definition at line 38 of file vtkGridAxes2DActor.h.
typedef vtkProp3D vtkGridAxes2DActor::Superclass |
Definition at line 42 of file vtkGridAxes2DActor.h.
Enumerator | |
---|---|
MIN_YZ | |
MIN_ZX | |
MIN_XY | |
MAX_YZ | |
MAX_ZX | |
MAX_XY |
Definition at line 56 of file vtkGridAxes2DActor.h.
Valid values for LabelMask.
Enumerator | |
---|---|
MIN_X | |
MIN_Y | |
MIN_Z | |
MAX_X | |
MAX_Y | |
MAX_Z |
Definition at line 77 of file vtkGridAxes2DActor.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkGridAxes2DActor::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set the bounding box defining the grid space.
This, together with the Face
identify which planar surface this class is interested in. This class is designed to work with a single planar surface.
|
virtual |
Set the bounding box defining the grid space.
This, together with the Face
identify which planar surface this class is interested in. This class is designed to work with a single planar surface.
|
virtual |
Set the bounding box defining the grid space.
This, together with the Face
identify which planar surface this class is interested in. This class is designed to work with a single planar surface.
|
virtual |
Set the bounding box defining the grid space.
This, together with the Face
identify which planar surface this class is interested in. This class is designed to work with a single planar surface.
|
virtual |
Set the bounding box defining the grid space.
This, together with the Face
identify which planar surface this class is interested in. This class is designed to work with a single planar surface.
|
virtual |
Indicate which face of the specified bounds is this class operating with.
|
virtual |
Indicate which face of the specified bounds is this class operating with.
|
virtual |
Set the axes to label.
|
virtual |
Set the axes to label.
|
virtual |
Enable/Disable layer support.
Default is off. When enabled, the prop can render in there separate layers:
BackgroundLayer
for all text labels and titles on the back faces, GeometryLayer
for all 3D geometry e.g the grid wireframe, and ForegroundLayer
for all text labels and titles on the front faces.
|
virtual |
Enable/Disable layer support.
Default is off. When enabled, the prop can render in there separate layers:
BackgroundLayer
for all text labels and titles on the back faces, GeometryLayer
for all 3D geometry e.g the grid wireframe, and ForegroundLayer
for all text labels and titles on the front faces.
|
virtual |
Enable/Disable layer support.
Default is off. When enabled, the prop can render in there separate layers:
BackgroundLayer
for all text labels and titles on the back faces, GeometryLayer
for all 3D geometry e.g the grid wireframe, and ForegroundLayer
for all text labels and titles on the front faces.
|
virtual |
Enable/Disable layer support.
Default is off. When enabled, the prop can render in there separate layers:
BackgroundLayer
for all text labels and titles on the back faces, GeometryLayer
for all 3D geometry e.g the grid wireframe, and ForegroundLayer
for all text labels and titles on the front faces.
|
virtual |
Get/Set the layer in which to render all background actors/text when EnableLayerSupport is ON.
Default is 0.
|
virtual |
Get/Set the layer in which to render all background actors/text when EnableLayerSupport is ON.
Default is 0.
|
virtual |
Get/Set the layer in which to render all 3D actors when EnableLayerSupport is ON.
Default is 0.
|
virtual |
Get/Set the layer in which to render all 3D actors when EnableLayerSupport is ON.
Default is 0.
|
virtual |
Get/Set the layer in which to render all foreground actors/text when EnableLayerSupport is ON.
Default is 0.
|
virtual |
Get/Set the layer in which to render all foreground actors/text when EnableLayerSupport is ON.
Default is 0.
void vtkGridAxes2DActor::SetProperty | ( | vtkProperty * | ) |
Get/Set the property used to control the appearance of the rendered grid.
vtkProperty* vtkGridAxes2DActor::GetProperty | ( | ) |
Get/Set the property used to control the appearance of the rendered grid.
void vtkGridAxes2DActor::SetTitleTextProperty | ( | int | axis, |
vtkTextProperty * | |||
) |
Get/Set the title text properties for each of the coordinate axes.
Which properties will be used depends on the selected Face being rendered.
vtkTextProperty* vtkGridAxes2DActor::GetTitleTextProperty | ( | int | axis | ) |
Get/Set the title text properties for each of the coordinate axes.
Which properties will be used depends on the selected Face being rendered.
void vtkGridAxes2DActor::SetLabelTextProperty | ( | int | axis, |
vtkTextProperty * | |||
) |
Get/Set the label text properties for each of the coordinate axes.
Which properties will be used depends on the selected Face being rendered.
vtkTextProperty* vtkGridAxes2DActor::GetLabelTextProperty | ( | int | axis | ) |
Get/Set the label text properties for each of the coordinate axes.
Which properties will be used depends on the selected Face being rendered.
void vtkGridAxes2DActor::SetTitle | ( | int | axis, |
const vtkStdString & | title | ||
) |
Set titles for each of the axes.
const vtkStdString& vtkGridAxes2DActor::GetTitle | ( | int | axis | ) |
Set titles for each of the axes.
void vtkGridAxes2DActor::SetNotation | ( | int | axis, |
int | notation | ||
) |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
Accepted values are vtkAxis::AUTO, vtkAxis::FIXED, vtkAxis::CUSTOM.
int vtkGridAxes2DActor::GetNotation | ( | int | axis | ) |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
Accepted values are vtkAxis::AUTO, vtkAxis::FIXED, vtkAxis::CUSTOM.
void vtkGridAxes2DActor::SetPrecision | ( | int | axis, |
int | val | ||
) |
Get/set the numerical precision to use, default is 2.
int vtkGridAxes2DActor::GetPrecision | ( | int | axis | ) |
Get/set the numerical precision to use, default is 2.
void vtkGridAxes2DActor::SetCustomTickPositions | ( | int | axis, |
vtkDoubleArray * | positions | ||
) |
Set custom tick positions for each of the axes.
The positions are deep copied. Set to NULL to not use custom tick positions for the axis.
|
inline |
Turn off to not generate polydata for the plane's grid.
Definition at line 200 of file vtkGridAxes2DActor.h.
|
inline |
Definition at line 201 of file vtkGridAxes2DActor.h.
|
virtual |
|
virtual |
|
inline |
Turn off to not generate the polydata for the plane's edges.
Which edges are rendered is defined by the EdgeMask.
Definition at line 208 of file vtkGridAxes2DActor.h.
|
inline |
Definition at line 209 of file vtkGridAxes2DActor.h.
|
virtual |
|
virtual |
|
inline |
Definition at line 214 of file vtkGridAxes2DActor.h.
|
inline |
Definition at line 215 of file vtkGridAxes2DActor.h.
|
virtual |
|
virtual |
|
inlinevirtual |
Returns the prop bounds.
Definition at line 226 of file vtkGridAxes2DActor.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
vtkMTimeType vtkGridAxes2DActor::GetMTime | ( | ) |
Overridden to include the mtime for the text properties.
|
protected |
|
protected |
|
protected |
|
protected |
|
friend |
Definition at line 252 of file vtkGridAxes2DActor.h.
|
friend |
Definition at line 279 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 254 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 255 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 256 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 258 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 259 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 260 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 261 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 263 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 264 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 265 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 267 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 268 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 269 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 270 of file vtkGridAxes2DActor.h.
|
protected |
Definition at line 271 of file vtkGridAxes2DActor.h.