16 #ifndef vtkRadialGridActor2D_h
17 #define vtkRadialGridActor2D_h
20 #include "vtkRenderingAnnotationModule.h"
22 #include "vtkSetGet.h"
27 VTK_ABI_NAMESPACE_BEGIN
87 vtkSetClampMacro(NumberOfAxes,
int, 0,
VTK_INT_MAX);
88 vtkGetMacro(NumberOfAxes,
int);
99 vtkSetMacro(StartAngle,
double);
100 vtkGetMacro(StartAngle,
double);
111 vtkSetMacro(EndAngle,
double);
112 vtkGetMacro(EndAngle,
double);
120 vtkSetVector2Macro(Origin,
double);
121 vtkGetVector2Macro(Origin,
double);
129 vtkSetClampMacro(NumberOfTicks,
int, 2,
VTK_INT_MAX);
130 vtkGetMacro(NumberOfTicks,
int);
139 vtkGetMacro(AxesViewportLength,
double);
161 void ComputeAxisRelativeEndPosition(
int index,
double position[2]);
166 double GetAxisAngle(
int index);
185 std::vector<vtkSmartPointer<vtkAxisActor2D>> Axes;
187 int NumberOfAxes = 6;
188 int NumberOfTicks = 6;
189 double StartAngle = 0.;
190 double EndAngle = 90.;
192 double Origin[2] = { 0.5, 0.5 };
194 double AxesViewportLength = 100;
199 VTK_ABI_NAMESPACE_END
vtkTypeBool HasTranslucentPolygonalGeometry() override
No translucent geometry for this actor.
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
abstract specification for Viewports
a actor that draws 2D data
Create an axis with tick marks and labels.
a simple class to control print indentation
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
void GetActors2D(vtkPropCollection *pc) override
For some exporters and other other operations we must be able to collect all the actors or volumes...
represent text properties.
int RenderOpaqueGeometry(vtkViewport *) override
Overridden as a no-op.
vtkRadialGridActor2D displays in overlay a list of vtkAxisActor2D sharing a same origin and rotating ...
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool HasOpaqueGeometry() override
No opaque geometry for this actor.