19#ifndef vtkGridAxesHelper_h
20#define vtkGridAxesHelper_h
24#include "vtkRenderingGridAxesModule.h"
27VTK_ABI_NAMESPACE_BEGIN
46 vtkSetVector6Macro(GridBounds,
double);
47 vtkGetVector6Macro(GridBounds,
double);
67 vtkSetClampMacro(Face,
int, MIN_YZ, MAX_XY);
68 vtkGetMacro(Face,
int);
90 vtkSetMacro(LabelMask,
unsigned int);
91 vtkGetMacro(LabelMask,
unsigned int);
159 return this->ViewportPointsAsDouble;
178 vtkGetMacro(Backface,
bool);
192 this->LabelVisibilityOverrides = overrides;
201 double GridBounds[6];
203 unsigned int LabelMask;
actor for a cube-axes like prop in the 3D view.
is a helper object used by vtkGridAxesActor2D, vtkGridAxesActor3D, and vtkGridAxesPlane2DActor.
static vtkGridAxesHelper * New()
LabelMasks
Valid values for LabelMask.
void SetMatrix(vtkMatrix4x4 *)
Set the transform matrix to use to transform the points.
vtkTuple< vtkVector2i, 4 > GetViewportPoints() const
Get the positions for the plane points in viewport coordinates.
vtkVector2i GetActiveAxes()
Returns which of the 3 coordinate axes for the 2 axes for this plane: 0 for X axis,...
vtkTuple< bool, 4 > GetLabelVisibilityOverrides()
vtkTuple< vtkVector2d, 4 > GetViewportNormals() const
Get the normals to the axis vectors in viewport space.
vtkVector3d TransformPoint(const vtkVector3d &point)
Transforms the give point using the Matrix.
vtkTuple< vtkVector2d, 4 > GetViewportPointsAsDouble() const
vtkTuple< vtkVector3d, 4 > GetPoints()
Get the 4 points in world coordinates that define the grid plane.
bool UpdateForViewport(vtkViewport *viewport)
Call this method before accessing any of the attributes in viewport space.
vtkTuple< vtkVector2d, 4 > GetViewportVectors() const
Get the axis vectors formed using the points returned by GetViewportPoints().
vtkVector3d GetTransformedFaceNormal()
Get the normal to the grid plane face after applying the transform specified using transformation mat...
~vtkGridAxesHelper() override
vtkTuple< bool, 4 > GetLabelVisibilities()
Returns the visibility for labels for each of the 4 axis defined by the face points based on the Labe...
void SetLabelVisibilityOverrides(const vtkTuple< bool, 4 > &overrides)
Get/Set label visibility overrides.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTuple< vtkVector3d, 4 > GetTransformedPoints()
Get the 4 points of the plane transformed using the transformation matrix set using SetMatrix(),...
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
abstract base class for most VTK objects
templated base type for containers of constant size.
Some derived classes for the different vectors commonly used.
abstract specification for Viewports
vtkTypeUInt32 vtkMTimeType