27 #ifndef vtkGridAxesHelper_h 28 #define vtkGridAxesHelper_h 30 #include "vtkObject.h" 32 #include "vtkPVVTKExtensionsDefaultModule.h" 33 #include "vtkVector.h" 43 void PrintSelf(ostream& os, vtkIndent indent);
51 vtkSetVector6Macro(GridBounds,
double);
52 vtkGetVector6Macro(GridBounds,
double);
70 vtkSetClampMacro(Face,
int, MIN_YZ, MAX_XY);
71 vtkGetMacro(Face,
int);
91 vtkSetMacro(LabelMask,
unsigned int);
92 vtkGetMacro(LabelMask,
unsigned int);
100 vtkTuple<vtkVector3d, 4> GetPoints();
108 vtkVector2i GetActiveAxes();
114 vtkTuple<bool, 4> GetLabelVisibilities();
122 void SetMatrix(vtkMatrix4x4*);
123 vtkGetObjectMacro(Matrix, vtkMatrix4x4);
132 vtkTuple<vtkVector3d, 4> GetTransformedPoints();
137 vtkVector3d TransformPoint(
const vtkVector3d& point);
145 vtkVector3d GetTransformedFaceNormal();
152 bool UpdateForViewport(vtkViewport* viewport);
160 return this->ViewportPointsAsDouble;
179 vtkGetMacro(Backface,
bool);
193 this->LabelVisibilityOverrides = overrides;
vtkTuple< bool, 4 > LabelVisibilityOverrides
vtkTuple< vtkVector2d, 4 > GetViewportVectors() const
Get the axis vectors formed using the points returned by GetViewportPoints().
vtkTuple< vtkVector2d, 4 > GetViewportNormals() const
Get the normals to the axis vectors in viewport space.
vtkTuple< bool, 4 > ComputedLabelVisibilities
vtkMTimeType GetPointsMTime
vtkTuple< vtkVector2d, 4 > ViewportPointsAsDouble
void SetLabelVisibilityOverrides(const vtkTuple< bool, 4 > &overrides)
Get/Set label visibility overrides.
vtkTuple< bool, 4 > GetLabelVisibilityOverrides()
vtkTuple< vtkVector2d, 4 > ViewportNormals
vtkTuple< vtkVector2i, 4 > GetViewportPoints() const
Get the positions for the plane points in viewport coordinates.
vtkTuple< vtkVector3d, 4 > TransformedPoints
vtkVector3d TransformedFaceNormal
vtkTuple< vtkVector2i, 4 > ViewportPoints
vtkTuple< bool, 4 > LabelVisibilities
vtkMTimeType GetTransformedPointsMTime
is a helper object used by vtkGridAxes2DActor, vtkGridAxes3DActor, and vtkGridAxesPlane2DActor.
vtkTuple< vtkVector2d, 4 > GetViewportPointsAsDouble() const
vtkTuple< vtkVector3d, 4 > Points
vtkTuple< vtkVector2d, 4 > ViewportVectors
LabelMasks
Valid values for LabelMask.