24 #ifndef vtkGridAxesPlane2DActor_h 25 #define vtkGridAxesPlane2DActor_h 28 #include "vtkRemotingViewsModule.h" 59 vtkSetVector6Macro(GridBounds,
double);
60 vtkGetVector6Macro(GridBounds,
double);
81 vtkSetClampMacro(Face,
int, MIN_YZ, MAX_XY);
82 vtkGetMacro(Face,
int);
89 vtkSetMacro(GenerateGrid,
bool);
90 vtkGetMacro(GenerateGrid,
bool);
91 vtkBooleanMacro(GenerateGrid,
bool);
99 vtkSetMacro(GenerateEdges,
bool);
100 vtkGetMacro(GenerateEdges,
bool);
101 vtkBooleanMacro(GenerateEdges,
bool);
109 vtkSetMacro(GenerateTicks,
bool);
110 vtkGetMacro(GenerateTicks,
bool);
111 vtkBooleanMacro(GenerateTicks,
bool);
116 TICK_DIRECTION_INWARDS = 0x1,
117 TICK_DIRECTION_OUTWARDS = 0x2,
118 TICK_DIRECTION_BOTH = TICK_DIRECTION_INWARDS | TICK_DIRECTION_OUTWARDS,
125 vtkSetClampMacro(TickDirection,
unsigned int, static_cast<unsigned int>(TICK_DIRECTION_INWARDS),
126 static_cast<unsigned int>(TICK_DIRECTION_BOTH));
127 vtkGetMacro(TickDirection,
unsigned int);
141 return (axis >= 0 && axis < 3) ? this->TickPositions[axis] : this->EmptyVector;
162 this->GetGridBounds(this->Bounds);
205 std::deque<double> TickPositions[3];
219 std::deque<double> EmptyVector;
221 typedef std::pair<vtkVector3d, vtkVector3d> LineSegmentType;
222 std::deque<LineSegmentType> LineSegments;
virtual int RenderOpaqueGeometry(vtkViewport *)
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOverlay(vtkViewport *)
bool HelperManagedExternally
double * GetBounds() override
Returns the prop bounds.
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkNew< vtkPoints > PolyDataPoints
void PrintSelf(ostream &os, vtkIndent indent)
vtkSmartPointer< vtkGridAxesHelper > Helper
renders a 2D grid for vtkGridAxes2DActor.
bool Update(vtkViewport *viewport)
vtkNew< vtkPolyDataMapper > Mapper
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
actor for an axes plane in a 3D view.
vtkNew< vtkPolyData > PolyData
is a helper object used by vtkGridAxes2DActor, vtkGridAxes3DActor, and vtkGridAxesPlane2DActor.
vtkNew< vtkCellArray > PolyDataLines
void operator=(const vtkObjectBase &)
const std::deque< double > & GetTickPositions(int axis)
unsigned int TickDirection