actor for a cube-axes like prop in the 3D view. More...
#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 Types inherited from vtkProp3D | |
typedef vtkProp | Superclass |
Public Types inherited from vtkProp | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | ShallowCopy (vtkProp *prop) override |
Shallow copy from another vtkGridAxes3DActor. More... | |
void | GetActors (vtkPropCollection *) override |
For some exporters and other other operations we must be able to collect all the actors or volumes. More... | |
void | UpdateGeometry (vtkViewport *vp) |
Updates the billboard geometry without performing any rendering, to assist GetActors(). 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 void | GetRenderedBounds (double bounds[6]) |
Get an bounding box that is expected to contain all rendered elements, since GetBounds() returns the bounding box the grid axes describes. More... | |
int | RenderOpaqueGeometry (vtkViewport *) override |
int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override |
int | RenderOverlay (vtkViewport *viewport) override |
int | HasTranslucentPolygonalGeometry () override |
void | ReleaseGraphicsResources (vtkWindow *) override |
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 std::string &title) |
Get/Set the text to use for titles for the axis. More... | |
void | SetXTitle (const std::string &title) |
Get/Set the text to use for titles for the axis. More... | |
void | SetYTitle (const std::string &title) |
Get/Set the text to use for titles for the axis. More... | |
void | SetZTitle (const std::string &title) |
Get/Set the text to use for titles for the axis. More... | |
const std::string & | 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 | SetTickLabelFunction (int axis, std::function< double(double)> func) |
Get/Set the function that will be applied to the tick label of each axis. More... | |
std::function< double(double)> | GetTickLabelFunction (int axis) |
Get/Set the function that will be applied to the tick label of each axis. More... | |
double * | GetBounds () override |
Returns the prop bounds. More... | |
virtual void | SetForceOpaque (bool) |
If true, the actor will always be rendered during the opaque pass. More... | |
virtual bool | GetForceOpaque () |
If true, the actor will always be rendered during the opaque pass. More... | |
virtual void | ForceOpaqueOn () |
If true, the actor will always be rendered during the opaque pass. More... | |
virtual void | ForceOpaqueOff () |
If true, the actor will always be rendered during the opaque pass. More... | |
Public Member Functions inherited from vtkProp3D | |
vtkProp3D * | NewInstance () const |
virtual void | SetPosition (double pos[3]) |
virtual double * | GetPosition () |
virtual void | GetPosition (double data[3]) |
void | AddPosition (double deltaPosition[3]) |
void | AddPosition (double deltaX, double deltaY, double deltaZ) |
double * | GetCenter () |
double * | GetXRange () |
double * | GetYRange () |
double * | GetZRange () |
double | GetLength () |
void | RotateX (double) |
void | RotateY (double) |
void | RotateZ (double) |
void | RotateWXYZ (double w, double x, double y, double z) |
void | SetOrientation (double x, double y, double z) |
void | SetOrientation (double orientation[3]) |
double * | GetOrientationWXYZ () |
void | AddOrientation (double x, double y, double z) |
void | AddOrientation (double orentation[3]) |
void | PokeMatrix (vtkMatrix4x4 *matrix) |
void | InitPathTraversal () |
vtkMTimeType | GetMTime () |
vtkMTimeType | GetUserTransformMatrixMTime () |
virtual void | ComputeMatrix () |
virtual void | SetPosition (double x, double y, double z) |
virtual void | SetOrigin (double x, double y, double z) |
virtual void | SetOrigin (const double pos[3]) |
virtual double * | GetOrigin () |
virtual void | GetOrigin (double data[3]) |
virtual void | SetScale (double x, double y, double z) |
virtual void | SetScale (double scale[3]) |
virtual double * | GetScale () |
virtual void | GetScale (double data[3]) |
void | SetScale (double s) |
void | SetUserTransform (vtkLinearTransform *transform) |
virtual vtkLinearTransform * | GetUserTransform () |
void | SetUserMatrix (vtkMatrix4x4 *matrix) |
vtkMatrix4x4 * | GetUserMatrix () |
virtual void | GetMatrix (vtkMatrix4x4 *m) |
virtual void | GetMatrix (double m[16]) |
void | GetBounds (double bounds[6]) |
double * | GetOrientation () |
void | GetOrientation (double orentation[3]) |
vtkMatrix4x4 * | GetMatrix () |
virtual int | GetIsIdentity () |
virtual void | SetPosition (double x, double y, double z) |
virtual void | SetOrigin (double x, double y, double z) |
virtual void | SetOrigin (const double pos[3]) |
virtual double * | GetOrigin () |
virtual void | GetOrigin (double data[3]) |
virtual void | SetScale (double x, double y, double z) |
virtual void | SetScale (double scale[3]) |
virtual double * | GetScale () |
virtual void | GetScale (double data[3]) |
void | SetScale (double s) |
void | SetUserTransform (vtkLinearTransform *transform) |
virtual vtkLinearTransform * | GetUserTransform () |
void | SetUserMatrix (vtkMatrix4x4 *matrix) |
vtkMatrix4x4 * | GetUserMatrix () |
virtual void | GetMatrix (vtkMatrix4x4 *m) |
virtual void | GetMatrix (double m[16]) |
void | GetBounds (double bounds[6]) |
double * | GetOrientation () |
void | GetOrientation (double orentation[3]) |
vtkMatrix4x4 * | GetMatrix () |
virtual int | GetIsIdentity () |
Public Member Functions inherited from vtkProp | |
vtkProp * | NewInstance () const |
virtual void | Pick () |
virtual bool | HasKeys (vtkInformation *requiredKeys) |
virtual void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
virtual void | GetActors2D (vtkPropCollection *) |
virtual void | GetVolumes (vtkPropCollection *) |
virtual void | SetVisibility (int) |
virtual int | GetVisibility () |
virtual void | VisibilityOn () |
virtual void | VisibilityOff () |
virtual void | SetPickable (int) |
virtual int | GetPickable () |
virtual void | PickableOn () |
virtual void | PickableOff () |
virtual void | SetDragable (int) |
virtual int | GetDragable () |
virtual void | DragableOn () |
virtual void | DragableOff () |
virtual vtkMTimeType | GetRedrawMTime () |
virtual void | SetUseBounds (bool) |
virtual bool | GetUseBounds () |
virtual void | UseBoundsOn () |
virtual void | UseBoundsOff () |
virtual vtkAssemblyPath * | GetNextPath () |
virtual int | GetNumberOfPaths () |
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
virtual vtkInformation * | GetPropertyKeys () |
virtual void | SetPropertyKeys (vtkInformation *keys) |
virtual int | RenderVolumetricGeometry (vtkViewport *) |
virtual bool | RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys) |
virtual double | GetEstimatedRenderTime (vtkViewport *) |
virtual double | GetEstimatedRenderTime () |
virtual void | SetEstimatedRenderTime (double t) |
virtual void | RestoreEstimatedRenderTime () |
virtual void | AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp)) |
virtual void | SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v)) |
virtual double | GetAllocatedRenderTime () |
void | SetRenderTimeMultiplier (double t) |
virtual double | GetRenderTimeMultiplier () |
virtual bool | GetSupportsSelection () |
virtual int | GetNumberOfConsumers () |
void | AddConsumer (vtkObject *c) |
void | RemoveConsumer (vtkObject *c) |
vtkObject * | GetConsumer (int i) |
int | IsConsumer (vtkObject *c) |
virtual void | GetActors2D (vtkPropCollection *) |
virtual void | GetVolumes (vtkPropCollection *) |
virtual void | SetVisibility (int) |
virtual int | GetVisibility () |
virtual void | VisibilityOn () |
virtual void | VisibilityOff () |
virtual void | SetPickable (int) |
virtual int | GetPickable () |
virtual void | PickableOn () |
virtual void | PickableOff () |
virtual void | SetDragable (int) |
virtual int | GetDragable () |
virtual void | DragableOn () |
virtual void | DragableOff () |
virtual vtkMTimeType | GetRedrawMTime () |
virtual void | SetUseBounds (bool) |
virtual bool | GetUseBounds () |
virtual void | UseBoundsOn () |
virtual void | UseBoundsOff () |
virtual vtkAssemblyPath * | GetNextPath () |
virtual int | GetNumberOfPaths () |
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
virtual vtkInformation * | GetPropertyKeys () |
virtual void | SetPropertyKeys (vtkInformation *keys) |
virtual int | RenderVolumetricGeometry (vtkViewport *) |
virtual bool | RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys) |
virtual double | GetEstimatedRenderTime (vtkViewport *) |
virtual double | GetEstimatedRenderTime () |
virtual void | SetEstimatedRenderTime (double t) |
virtual void | RestoreEstimatedRenderTime () |
virtual void | AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp)) |
virtual void | SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v)) |
virtual double | GetAllocatedRenderTime () |
void | SetRenderTimeMultiplier (double t) |
virtual double | GetRenderTimeMultiplier () |
virtual bool | GetSupportsSelection () |
virtual int | GetNumberOfConsumers () |
void | AddConsumer (vtkObject *c) |
void | RemoveConsumer (vtkObject *c) |
vtkObject * | GetConsumer (int i) |
int | IsConsumer (vtkObject *c) |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Protected Member Functions | |
vtkGridAxes3DActor () | |
~vtkGridAxes3DActor () override | |
virtual void | Update (vtkViewport *viewport) |
Protected Member Functions inherited from vtkProp3D | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkProp3D () | |
~vtkProp3D () | |
Protected Member Functions inherited from vtkProp | |
vtkProp () | |
~vtkProp () | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
virtual | ~vtkObject () |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
actor for a cube-axes like prop in the 3D view.
vtkGridAxes3DActor is an alternate implementation for something like the vtkCubeAxesActor which can be used to render a 3D grid in a scene. It uses vtkGridAxes2DActor to render individual axes planes for the box.
Definition at line 30 of file vtkGridAxes3DActor.h.
Definition at line 34 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 57 of file vtkGridAxes3DActor.h.
Enumerator | |
---|---|
MIN_X | |
MIN_Y | |
MIN_Z | |
MAX_X | |
MAX_Y | |
MAX_Z |
Definition at line 77 of file vtkGridAxes3DActor.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented in vtkPVGridAxes3DActor.
Reimplemented from vtkProp3D.
Reimplemented in vtkPVGridAxes3DActor.
|
static |
|
overridevirtual |
Reimplemented from vtkProp3D.
Reimplemented in vtkPVGridAxes3DActor.
|
overridevirtual |
Shallow copy from another vtkGridAxes3DActor.
Reimplemented from vtkProp3D.
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.
|
overridevirtual |
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. In case the viewport is not a consumer of this prop: call UpdateGeometry() first for updated viewport-specific billboard geometry.
Reimplemented from vtkProp.
void vtkGridAxes3DActor::UpdateGeometry | ( | vtkViewport * | vp | ) |
Updates the billboard geometry without performing any rendering, to assist GetActors().
|
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 edges are rendered is defined by the TickMask.
bool vtkGridAxes3DActor::GetGenerateTicks | ( | ) |
Turn off to not generate the markers for the tick positions.
Which edges are rendered is defined by the TickMask.
|
virtual |
Turn off to not generate the markers for the tick positions.
Which edges are rendered is defined by the TickMask.
|
virtual |
Turn off to not generate the markers for the tick positions.
Which edges 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 166 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 167 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 168 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 std::string & | 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 178 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 179 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 180 of file vtkGridAxes3DActor.h.
const std::string& 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 189 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 190 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 191 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 194 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 195 of file vtkGridAxes3DActor.h.
|
inline |
Definition at line 196 of file vtkGridAxes3DActor.h.
Definition at line 199 of file vtkGridAxes3DActor.h.
Definition at line 200 of file vtkGridAxes3DActor.h.
Definition at line 201 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 212 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 213 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 214 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.
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 224 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 225 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 226 of file vtkGridAxes3DActor.h.
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
Accepted values are vtkAxis::AUTO, vtkAxis::FIXED, vtkAxis::CUSTOM.
Get/set the numerical precision to use, default is 2.
|
inline |
Get/set the numerical precision to use, default is 2.
Definition at line 235 of file vtkGridAxes3DActor.h.
|
inline |
Get/set the numerical precision to use, default is 2.
Definition at line 236 of file vtkGridAxes3DActor.h.
|
inline |
Get/set the numerical precision to use, default is 2.
Definition at line 237 of file vtkGridAxes3DActor.h.
Get/set the numerical precision to use, default is 2.
void vtkGridAxes3DActor::SetTickLabelFunction | ( | int | axis, |
std::function< double(double)> | func | ||
) |
std::function<double(double)> vtkGridAxes3DActor::GetTickLabelFunction | ( | int | axis | ) |
|
overridevirtual |
|
virtual |
Get an bounding box that is expected to contain all rendered elements, since GetBounds() returns the bounding box the grid axes describes.
|
virtual |
If true, the actor will always be rendered during the opaque pass.
|
virtual |
If true, the actor will always be rendered during the opaque pass.
|
virtual |
If true, the actor will always be rendered during the opaque pass.
|
virtual |
If true, the actor will always be rendered during the opaque pass.
|
overridevirtual |
Reimplemented from vtkProp.
|
overridevirtual |
Reimplemented from vtkProp.
|
overridevirtual |
Reimplemented from vtkProp.
|
overridevirtual |
Reimplemented from vtkProp.
|
overridevirtual |
Reimplemented from vtkProp.
|
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.
|
protected |
Definition at line 301 of file vtkGridAxes3DActor.h.