ParaView
|
#include <vtkGridAxes3DActor.h>
Public Types | |
enum | FaceMasks { MIN_YZ = 0x01, MIN_ZX = 0x02, MIN_XY = 0x04, MAX_YZ = 0x08, MAX_ZX = 0x010, MAX_XY = 0x020 } |
Values for FaceMask. More... | |
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 } |
typedef vtkProp3D | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | ShallowCopy (vtkProp *prop) |
Shallow copy from another vtkGridAxes3DActor. More... | |
void | SetUseCustomLabels (int axis, bool val) |
Set whether the specified axis should use custom labels instead of automatically determined ones. More... | |
void | SetXUseCustomLabels (bool val) |
void | SetYUseCustomLabels (bool val) |
void | SetZUseCustomLabels (bool val) |
void | SetNumberOfLabels (int axis, vtkIdType val) |
void | SetNumberOfXLabels (vtkIdType val) |
void | SetNumberOfYLabels (vtkIdType val) |
void | SetNumberOfZLabels (vtkIdType val) |
void | SetLabel (int axis, vtkIdType index, double value) |
void | SetXLabel (vtkIdType index, double value) |
void | SetYLabel (vtkIdType index, double value) |
void | SetZLabel (vtkIdType index, double value) |
virtual double * | GetBounds () |
Returns the prop bounds. More... | |
virtual int | RenderOpaqueGeometry (vtkViewport *) |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) |
virtual int | RenderOverlay (vtkViewport *viewport) |
virtual int | HasTranslucentPolygonalGeometry () |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
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 | SetFaceMask (unsigned int mask) |
Set the mask to select faces. More... | |
virtual unsigned int | GetFaceMask () |
Set the mask to select faces. More... | |
virtual void | SetLabelMask (unsigned int mask) |
Set the axis to label. More... | |
unsigned int | GetLabelMask () |
Set the axis to label. More... | |
virtual void | SetLabelUniqueEdgesOnly (bool) |
Set to true to only label edges shared with 1 face. More... | |
virtual bool | GetLabelUniqueEdgesOnly () |
Set to true to only label edges shared with 1 face. More... | |
void | SetGenerateGrid (bool val) |
Turn off to not generate polydata for the plane's grid. More... | |
bool | GetGenerateGrid () |
Turn off to not generate polydata for the plane's grid. More... | |
virtual void | GenerateGridOn () |
Turn off to not generate polydata for the plane's grid. More... | |
virtual void | GenerateGridOff () |
Turn off to not generate polydata for the plane's grid. More... | |
void | SetGenerateEdges (bool val) |
Turn off to not generate the polydata for the plane's edges. More... | |
bool | GetGenerateEdges () |
Turn off to not generate the polydata for the plane's edges. More... | |
virtual void | GenerateEdgesOn () |
Turn off to not generate the polydata for the plane's edges. More... | |
virtual void | GenerateEdgesOff () |
Turn off to not generate the polydata for the plane's edges. More... | |
void | SetGenerateTicks (bool val) |
Turn off to not generate the markers for the tick positions. More... | |
bool | GetGenerateTicks () |
Turn off to not generate the markers for the tick positions. More... | |
virtual void | GenerateTicksOn () |
Turn off to not generate the markers for the tick positions. More... | |
virtual void | GenerateTicksOff () |
Turn off to not generate the markers for the tick positions. 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 vtkTextProperty for the title for each the axes. More... | |
void | SetXTitleTextProperty (vtkTextProperty *prop) |
Get/Set the vtkTextProperty for the title for each the axes. More... | |
void | SetYTitleTextProperty (vtkTextProperty *prop) |
Get/Set the vtkTextProperty for the title for each the axes. More... | |
void | SetZTitleTextProperty (vtkTextProperty *prop) |
Get/Set the vtkTextProperty for the title for each the axes. More... | |
vtkTextProperty * | GetTitleTextProperty (int axis) |
Get/Set the vtkTextProperty for the title for each the axes. More... | |
void | SetTitle (int axis, const vtkStdString &title) |
Get/Set the text to use for titles for the axis. More... | |
void | SetXTitle (const vtkStdString &title) |
Get/Set the text to use for titles for the axis. More... | |
void | SetYTitle (const vtkStdString &title) |
Get/Set the text to use for titles for the axis. More... | |
void | SetZTitle (const vtkStdString &title) |
Get/Set the text to use for titles for the axis. More... | |
const vtkStdString & | GetTitle (int axis) |
Get/Set the text to use for titles for the axis. More... | |
void | SetLabelTextProperty (int axis, vtkTextProperty *) |
Get/Set the vtkTextProperty that governs how the axis labels are displayed. More... | |
void | SetXLabelTextProperty (vtkTextProperty *prop) |
Get/Set the vtkTextProperty that governs how the axis labels are displayed. More... | |
void | SetYLabelTextProperty (vtkTextProperty *prop) |
Get/Set the vtkTextProperty that governs how the axis labels are displayed. More... | |
void | SetZLabelTextProperty (vtkTextProperty *prop) |
Get/Set the vtkTextProperty that governs how the axis labels are displayed. More... | |
vtkTextProperty * | GetLabelTextProperty (int axis) |
Get/Set the vtkTextProperty that governs how the axis labels are displayed. More... | |
void | SetNotation (int axis, int notation) |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2). More... | |
void | SetXNotation (int notation) |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2). More... | |
void | SetYNotation (int notation) |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2). More... | |
void | SetZNotation (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... | |
void | SetXPrecision (int val) |
Get/set the numerical precision to use, default is 2. More... | |
void | SetYPrecision (int val) |
Get/set the numerical precision to use, default is 2. More... | |
void | SetZPrecision (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... | |
void | SetEnableLayerSupport (bool val) |
Enable/Disable layer support. More... | |
bool | GetEnableLayerSupport () |
Enable/Disable layer support. More... | |
virtual void | EnableLayerSupportOn () |
Enable/Disable layer support. More... | |
virtual void | EnableLayerSupportOff () |
Enable/Disable layer support. More... | |
void | SetBackgroundLayer (int val) |
Get/Set the layer in which to render all background actors/text when EnableLayerSupport is ON. More... | |
int | GetBackgroundLayer () |
Get/Set the layer in which to render all background actors/text when EnableLayerSupport is ON. More... | |
void | SetGeometryLayer (int val) |
Get/Set the layer in which to render all 3D actors when EnableLayerSupport is ON. More... | |
int | GetGeometryLayer () |
Get/Set the layer in which to render all 3D actors when EnableLayerSupport is ON. More... | |
void | SetForegroundLayer (int val) |
Get/Set the layer in which to render all foreground actors/text when EnableLayerSupport is ON. More... | |
int | GetForegroundLayer () |
Get/Set the layer in which to render all foreground actors/text when EnableLayerSupport is ON. More... | |
Static Public Member Functions | |
static vtkGridAxes3DActor * | New () |
static int | IsTypeOf (const char *type) |
static vtkGridAxes3DActor * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGridAxes3DActor () | |
~vtkGridAxes3DActor () | |
virtual void | Update (vtkViewport *viewport) |
Protected Attributes | |
double | GridBounds [6] |
unsigned int | FaceMask |
unsigned int | LabelMask |
bool | LabelUniqueEdgesOnly |
vtkTuple< bool, 3 > | UseCustomLabels |
vtkTuple< vtkNew< vtkDoubleArray >, 3 > | CustomLabels |
vtkMTimeType | CustomLabelsMTime |
vtkTuple< vtkNew< vtkGridAxes2DActor >, 6 > | GridAxes2DActors |
Definition at line 35 of file vtkGridAxes3DActor.h.
typedef vtkProp3D vtkGridAxes3DActor::Superclass |
Definition at line 39 of file vtkGridAxes3DActor.h.
Values for FaceMask.
Developer note: these are deliberately in the same order as vtkGridAxesHelper::Faces which is same order as faces in vtkVoxel.
Enumerator | |
---|---|
MIN_YZ | |
MIN_ZX | |
MIN_XY | |
MAX_YZ | |
MAX_ZX | |
MAX_XY |
Definition at line 62 of file vtkGridAxes3DActor.h.
Enumerator | |
---|---|
MIN_X | |
MIN_Y | |
MIN_Z | |
MAX_X | |
MAX_Y | |
MAX_Z |
Definition at line 82 of file vtkGridAxes3DActor.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented in vtkPVGridAxes3DActor.
|
static |
|
virtual |
Reimplemented in vtkPVGridAxes3DActor.
|
static |
void vtkGridAxes3DActor::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Shallow copy from another vtkGridAxes3DActor.
Reimplemented in vtkPVGridAxes3DActor.
|
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 |
Set the mask to select faces.
The faces rendered can be a subset of the faces selected using the FaceMask based on the BackfaceCulling and FrontfaceCulling flags set on the Property.
|
virtual |
Set the mask to select faces.
The faces rendered can be a subset of the faces selected using the FaceMask based on the BackfaceCulling and FrontfaceCulling flags set on the Property.
|
virtual |
Set the axis to label.
unsigned int vtkGridAxes3DActor::GetLabelMask | ( | ) |
Set the axis to label.
|
virtual |
Set to true to only label edges shared with 1 face.
Note that if all faces are being rendered, this will generate no labels.
|
virtual |
Set to true to only label edges shared with 1 face.
Note that if all faces are being rendered, this will generate no labels.
void vtkGridAxes3DActor::SetGenerateGrid | ( | bool | val | ) |
Turn off to not generate polydata for the plane's grid.
bool vtkGridAxes3DActor::GetGenerateGrid | ( | ) |
Turn off to not generate polydata for the plane's grid.
|
virtual |
Turn off to not generate polydata for the plane's grid.
|
virtual |
Turn off to not generate polydata for the plane's grid.
void vtkGridAxes3DActor::SetGenerateEdges | ( | bool | val | ) |
Turn off to not generate the polydata for the plane's edges.
Which edges are rendered is defined by the EdgeMask.
bool vtkGridAxes3DActor::GetGenerateEdges | ( | ) |
Turn off to not generate the polydata for the plane's edges.
Which edges are rendered is defined by the EdgeMask.
|
virtual |
Turn off to not generate the polydata for the plane's edges.
Which edges are rendered is defined by the EdgeMask.
|
virtual |
Turn off to not generate the polydata for the plane's edges.
Which edges are rendered is defined by the EdgeMask.
void vtkGridAxes3DActor::SetGenerateTicks | ( | bool | val | ) |
Turn off to not generate the markers for the tick positions.
Which egdes are rendered is defined by the TickMask.
bool vtkGridAxes3DActor::GetGenerateTicks | ( | ) |
Turn off to not generate the markers for the tick positions.
Which egdes are rendered is defined by the TickMask.
|
virtual |
Turn off to not generate the markers for the tick positions.
Which egdes are rendered is defined by the TickMask.
|
virtual |
Turn off to not generate the markers for the tick positions.
Which egdes are rendered is defined by the TickMask.
void vtkGridAxes3DActor::SetProperty | ( | vtkProperty * | ) |
Get/Set the property used to control the appearance of the rendered grid.
vtkProperty* vtkGridAxes3DActor::GetProperty | ( | ) |
Get/Set the property used to control the appearance of the rendered grid.
void vtkGridAxes3DActor::SetTitleTextProperty | ( | int | axis, |
vtkTextProperty * | |||
) |
Get/Set the vtkTextProperty for the title for each the axes.
Note that the alignment properties are not used.
|
inline |
Get/Set the vtkTextProperty for the title for each the axes.
Note that the alignment properties are not used.
Definition at line 155 of file vtkGridAxes3DActor.h.
|
inline |
Get/Set the vtkTextProperty for the title for each the axes.
Note that the alignment properties are not used.
Definition at line 156 of file vtkGridAxes3DActor.h.
|
inline |
Get/Set the vtkTextProperty for the title for each the axes.
Note that the alignment properties are not used.
Definition at line 157 of file vtkGridAxes3DActor.h.
vtkTextProperty* vtkGridAxes3DActor::GetTitleTextProperty | ( | int | axis | ) |
Get/Set the vtkTextProperty for the title for each the axes.
Note that the alignment properties are not used.
void vtkGridAxes3DActor::SetTitle | ( | int | axis, |
const vtkStdString & | title | ||
) |
Get/Set the text to use for titles for the axis.
Setting the title to an empty string will hide the title label for that axis.
|
inline |
Get/Set the text to use for titles for the axis.
Setting the title to an empty string will hide the title label for that axis.
Definition at line 167 of file vtkGridAxes3DActor.h.
|
inline |
Get/Set the text to use for titles for the axis.
Setting the title to an empty string will hide the title label for that axis.
Definition at line 168 of file vtkGridAxes3DActor.h.
|
inline |
Get/Set the text to use for titles for the axis.
Setting the title to an empty string will hide the title label for that axis.
Definition at line 169 of file vtkGridAxes3DActor.h.
const vtkStdString& vtkGridAxes3DActor::GetTitle | ( | int | axis | ) |
Get/Set the text to use for titles for the axis.
Setting the title to an empty string will hide the title label for that axis.
void vtkGridAxes3DActor::SetUseCustomLabels | ( | int | axis, |
bool | val | ||
) |
Set whether the specified axis should use custom labels instead of automatically determined ones.
|
inline |
Definition at line 178 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 179 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 180 of file vtkGridAxes3DActor.h.
void vtkGridAxes3DActor::SetNumberOfLabels | ( | int | axis, |
vtkIdType | val | ||
) |
|
inline |
Definition at line 183 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 184 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 185 of file vtkGridAxes3DActor.h.
void vtkGridAxes3DActor::SetLabel | ( | int | axis, |
vtkIdType | index, | ||
double | value | ||
) |
|
inline |
Definition at line 188 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 189 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 190 of file vtkGridAxes3DActor.h.
void vtkGridAxes3DActor::SetLabelTextProperty | ( | int | axis, |
vtkTextProperty * | |||
) |
Get/Set the vtkTextProperty that governs how the axis labels are displayed.
Note that the alignment properties are not used.
|
inline |
Get/Set the vtkTextProperty that governs how the axis labels are displayed.
Note that the alignment properties are not used.
Definition at line 201 of file vtkGridAxes3DActor.h.
|
inline |
Get/Set the vtkTextProperty that governs how the axis labels are displayed.
Note that the alignment properties are not used.
Definition at line 202 of file vtkGridAxes3DActor.h.
|
inline |
Get/Set the vtkTextProperty that governs how the axis labels are displayed.
Note that the alignment properties are not used.
Definition at line 203 of file vtkGridAxes3DActor.h.
vtkTextProperty* vtkGridAxes3DActor::GetLabelTextProperty | ( | int | axis | ) |
Get/Set the vtkTextProperty that governs how the axis labels are displayed.
Note that the alignment properties are not used.
void vtkGridAxes3DActor::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.
|
inline |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
Accepted values are vtkAxis::AUTO, vtkAxis::FIXED, vtkAxis::CUSTOM.
Definition at line 213 of file vtkGridAxes3DActor.h.
|
inline |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
Accepted values are vtkAxis::AUTO, vtkAxis::FIXED, vtkAxis::CUSTOM.
Definition at line 214 of file vtkGridAxes3DActor.h.
|
inline |
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
Accepted values are vtkAxis::AUTO, vtkAxis::FIXED, vtkAxis::CUSTOM.
Definition at line 215 of file vtkGridAxes3DActor.h.
int vtkGridAxes3DActor::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 vtkGridAxes3DActor::SetPrecision | ( | int | axis, |
int | val | ||
) |
Get/set the numerical precision to use, default is 2.
|
inline |
Get/set the numerical precision to use, default is 2.
Definition at line 224 of file vtkGridAxes3DActor.h.
|
inline |
Get/set the numerical precision to use, default is 2.
Definition at line 225 of file vtkGridAxes3DActor.h.
|
inline |
Get/set the numerical precision to use, default is 2.
Definition at line 226 of file vtkGridAxes3DActor.h.
int vtkGridAxes3DActor::GetPrecision | ( | int | axis | ) |
Get/set the numerical precision to use, default is 2.
void vtkGridAxes3DActor::SetEnableLayerSupport | ( | bool | val | ) |
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. bool vtkGridAxes3DActor::GetEnableLayerSupport | ( | ) |
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. void vtkGridAxes3DActor::SetBackgroundLayer | ( | int | val | ) |
Get/Set the layer in which to render all background actors/text when EnableLayerSupport is ON.
Default is 0.
int vtkGridAxes3DActor::GetBackgroundLayer | ( | ) |
Get/Set the layer in which to render all background actors/text when EnableLayerSupport is ON.
Default is 0.
void vtkGridAxes3DActor::SetGeometryLayer | ( | int | val | ) |
Get/Set the layer in which to render all 3D actors when EnableLayerSupport is ON.
Default is 0.
int vtkGridAxes3DActor::GetGeometryLayer | ( | ) |
Get/Set the layer in which to render all 3D actors when EnableLayerSupport is ON.
Default is 0.
void vtkGridAxes3DActor::SetForegroundLayer | ( | int | val | ) |
Get/Set the layer in which to render all foreground actors/text when EnableLayerSupport is ON.
Default is 0.
int vtkGridAxes3DActor::GetForegroundLayer | ( | ) |
Get/Set the layer in which to render all foreground actors/text when EnableLayerSupport is ON.
Default is 0.
|
virtual |
Returns the prop bounds.
Reimplemented in vtkPVGridAxes3DActor.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Reimplemented in vtkPVGridAxes3DActor.
|
protected |
Definition at line 291 of file vtkGridAxes3DActor.h.
|
protected |
Definition at line 292 of file vtkGridAxes3DActor.h.
|
protected |
Definition at line 293 of file vtkGridAxes3DActor.h.
|
protected |
Definition at line 294 of file vtkGridAxes3DActor.h.
|
protected |
Definition at line 295 of file vtkGridAxes3DActor.h.
|
protected |
Definition at line 296 of file vtkGridAxes3DActor.h.
|
protected |
Definition at line 297 of file vtkGridAxes3DActor.h.
|
protected |
Definition at line 299 of file vtkGridAxes3DActor.h.