23 #ifndef vtkGridAxesActor2D_h
24 #define vtkGridAxesActor2D_h
27 #include "vtkRenderingGridAxesModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
57 vtkSetVector6Macro(GridBounds,
double);
58 vtkGetVector6Macro(GridBounds,
double);
68 vtkGetMacro(Face,
int);
80 vtkSetMacro(LabelMask,
unsigned int);
81 vtkGetMacro(LabelMask,
unsigned int);
98 void UpdateGeometry(
vtkViewport* viewport,
bool doRegularUpdate);
144 void SetNotation(
int axis,
int notation);
145 int GetNotation(
int axis);
152 void SetPrecision(
int axis,
int val);
153 int GetPrecision(
int axis);
163 void SetTickLabelFunction(
int axis,
std::function<
double(
double)> func);
164 std::function<double(double)> GetTickLabelFunction(
int axis);
188 vtkBooleanMacro(GenerateGrid,
bool);
199 vtkBooleanMacro(GenerateEdges,
bool);
211 vtkBooleanMacro(GenerateTicks,
bool);
224 this->GetGridBounds(this->Bounds);
235 vtkSetMacro(ForceOpaque,
bool);
236 vtkGetMacro(ForceOpaque,
bool);
237 vtkBooleanMacro(ForceOpaque,
bool);
273 vtkSetVector2Macro(LabelDisplayOffset,
int);
274 vtkGetVector2Macro(LabelDisplayOffset,
int);
293 friend class vtkLabels;
297 double GridBounds[6];
299 unsigned int LabelMask = 0xff;
310 int LabelDisplayOffset[2] = { 0, 0 };
312 bool ForceOpaque =
false;
313 std::function<double(double)> TickLabelFunction[3] = {
nullptr,
nullptr,
nullptr };
316 VTK_ABI_NAMESPACE_END
vtkTypeUInt32 vtkMTimeType
abstract specification for Viewports
represent surface properties of a geometric object
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual vtkTypeBool HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual int RenderOverlay(vtkViewport *)
record modification and/or execution time
represents an 3D object for placement in a rendered scene
bool GetGenerateEdges()
Turn off to not generate the polydata for the plane's edges.
bool GetGenerateGrid()
Turn off to not generate polydata for the plane's grid.
dynamic, self-adjusting array of double
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
window superclass for vtkRenderWindow
actor for a cube-axes like prop in the 3D view.
templated base type for containers of constant size.
takes care of drawing 2D axes
Provides a 2D scene for vtkContextItem objects.
a simple class to control print indentation
void SetGenerateEdges(bool val)
Turn off to not generate the polydata for the plane's edges.
bool GetGenerateTicks()
Turn off to not generate the markers for the tick positions.
void SetGenerateGrid(bool val)
Turn off to not generate polydata for the plane's grid.
void SetGenerateTicks(bool val)
Turn off to not generate the markers for the tick positions.
represent text properties.
double * GetBounds() override
Returns the prop bounds.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes...
vtkMTimeType GetMTime() override
Get the vtkProp3D's mtime.
actor for an axes plane in a 3D view.