13 #ifndef vtkGridAxesPlane2DActor_h
14 #define vtkGridAxesPlane2DActor_h
17 #include "vtkRemotingViewsModule.h"
48 vtkSetVector6Macro(GridBounds,
double);
49 vtkGetVector6Macro(GridBounds,
double);
70 vtkSetClampMacro(Face,
int, MIN_YZ, MAX_XY);
71 vtkGetMacro(Face,
int);
94 vtkSetMacro(GenerateGrid,
bool);
95 vtkGetMacro(GenerateGrid,
bool);
96 vtkBooleanMacro(GenerateGrid,
bool);
104 vtkSetMacro(GenerateEdges,
bool);
105 vtkGetMacro(GenerateEdges,
bool);
106 vtkBooleanMacro(GenerateEdges,
bool);
114 vtkSetMacro(GenerateTicks,
bool);
115 vtkGetMacro(GenerateTicks,
bool);
116 vtkBooleanMacro(GenerateTicks,
bool);
121 TICK_DIRECTION_INWARDS = 0x1,
122 TICK_DIRECTION_OUTWARDS = 0x2,
123 TICK_DIRECTION_BOTH = TICK_DIRECTION_INWARDS | TICK_DIRECTION_OUTWARDS,
130 vtkSetClampMacro(TickDirection,
unsigned int,
static_cast<unsigned int>(TICK_DIRECTION_INWARDS),
131 static_cast<unsigned int>(TICK_DIRECTION_BOTH));
132 vtkGetMacro(TickDirection,
unsigned int);
146 return (axis >= 0 && axis < 3) ? this->TickPositions[axis] : this->EmptyVector;
167 this->GetGridBounds(this->Bounds);
210 std::deque<double> TickPositions[3];
224 std::deque<double> EmptyVector;
226 typedef std::pair<vtkVector3d, vtkVector3d> LineSegmentType;
227 std::deque<LineSegmentType> LineSegments;