13 #ifndef vtkGridAxesPlaneActor2D_h
14 #define vtkGridAxesPlaneActor2D_h
17 #include "vtkRenderingGridAxesModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
49 vtkSetVector6Macro(GridBounds,
double);
50 vtkGetVector6Macro(GridBounds,
double);
63 vtkGetMacro(Face,
int);
86 vtkSetMacro(GenerateGrid,
bool);
87 vtkGetMacro(GenerateGrid,
bool);
88 vtkBooleanMacro(GenerateGrid,
bool);
96 vtkSetMacro(GenerateEdges,
bool);
97 vtkGetMacro(GenerateEdges,
bool);
98 vtkBooleanMacro(GenerateEdges,
bool);
106 vtkSetMacro(GenerateTicks,
bool);
107 vtkGetMacro(GenerateTicks,
bool);
108 vtkBooleanMacro(GenerateTicks,
bool);
113 TICK_DIRECTION_INWARDS = 0x1,
114 TICK_DIRECTION_OUTWARDS = 0x2,
115 TICK_DIRECTION_BOTH = TICK_DIRECTION_INWARDS | TICK_DIRECTION_OUTWARDS,
124 vtkSetClampMacro(TickDirection,
unsigned int, static_cast<unsigned int>(TICK_DIRECTION_INWARDS),
125 static_cast<unsigned int>(TICK_DIRECTION_BOTH));
126 vtkGetMacro(TickDirection,
unsigned int);
143 return (axis >= 0 && axis < 3) ? this->TickPositions[axis] : this->EmptyVector;
167 this->GetGridBounds(this->Bounds);
217 std::deque<double> EmptyVector;
219 typedef std::pair<vtkVector3d, vtkVector3d> LineSegmentType;
220 std::deque<LineSegmentType> LineSegments;
222 double GridBounds[6];
225 bool GenerateGrid =
true;
226 bool GenerateEdges =
true;
227 bool GenerateTicks =
true;
228 unsigned int TickDirection = TICK_DIRECTION_BOTH;
229 std::deque<double> TickPositions[3];
238 bool HelperManagedExternally;
241 VTK_ABI_NAMESPACE_END
represents an object (geometry & properties) in a rendered scene
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 *)
represents an 3D object for placement in a rendered scene
concrete dataset represents vertices, lines, polygons, and triangle strips
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
renders a 2D grid for vtkGridAxesActor2D.
a simple class to control print indentation
void UpdateGrid(int iteration)
bool Update(vtkViewport *viewport)
map vtkPolyData to graphics primitives
object to represent cell connectivity
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
const std::deque< double > & GetTickPositions(int axis)
Set the tick positions for each of the coordinate axis.
is a helper object used by vtkGridAxesActor2D, vtkGridAxesActor3D, and vtkGridAxesPlane2DActor.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
double * GetBounds() override
Returns the prop bounds.
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes...
represent and manipulate 3D points
actor for an axes plane in a 3D view.