13 #ifndef vtkGridAxesPlane2DActor_h 14 #define vtkGridAxesPlane2DActor_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;
#define VTKREMOTINGVIEWS_EXPORT
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 &)
virtual void GetActors(vtkPropCollection *)
const std::deque< double > & GetTickPositions(int axis)
unsigned int TickDirection