24 #ifndef vtkGridAxesPlane2DActor_h 25 #define vtkGridAxesPlane2DActor_h 59 vtkSetVector6Macro(GridBounds,
double);
60 vtkGetVector6Macro(GridBounds,
double);
81 vtkSetClampMacro(Face,
int, MIN_YZ, MAX_XY);
82 vtkGetMacro(Face,
int);
105 vtkSetMacro(GenerateGrid,
bool);
106 vtkGetMacro(GenerateGrid,
bool);
107 vtkBooleanMacro(GenerateGrid,
bool);
115 vtkSetMacro(GenerateEdges,
bool);
116 vtkGetMacro(GenerateEdges,
bool);
117 vtkBooleanMacro(GenerateEdges,
bool);
125 vtkSetMacro(GenerateTicks,
bool);
126 vtkGetMacro(GenerateTicks,
bool);
127 vtkBooleanMacro(GenerateTicks,
bool);
132 TICK_DIRECTION_INWARDS = 0x1,
133 TICK_DIRECTION_OUTWARDS = 0x2,
134 TICK_DIRECTION_BOTH = TICK_DIRECTION_INWARDS | TICK_DIRECTION_OUTWARDS,
141 vtkSetClampMacro(TickDirection,
unsigned int, static_cast<unsigned int>(TICK_DIRECTION_INWARDS),
142 static_cast<unsigned int>(TICK_DIRECTION_BOTH));
143 vtkGetMacro(TickDirection,
unsigned int);
157 return (axis >= 0 && axis < 3) ? this->TickPositions[axis] : this->EmptyVector;
178 this->GetGridBounds(this->Bounds);
221 std::deque<double> TickPositions[3];
235 std::deque<double> EmptyVector;
237 typedef std::pair<vtkVector3d, vtkVector3d> LineSegmentType;
238 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