16#ifndef vtkRadialGridActor2D_h
17#define vtkRadialGridActor2D_h
20#include "vtkRenderingAnnotationModule.h"
27VTK_ABI_NAMESPACE_BEGIN
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);
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;
a actor that draws 2D data
Create an axis with tick marks and labels.
a simple class to control print indentation
represent and manipulate 3D points
vtkRadialGridActor2D displays in overlay a list of vtkAxisActor2D sharing a same origin and rotating ...
vtkPoints * GetFirstAxesPoints()
Get the first/last axes points.
static vtkRadialGridActor2D * New()
vtkTypeBool HasOpaqueGeometry() override
No opaque geometry for this actor.
void PrintSelf(ostream &os, vtkIndent indent) override
Print own members and call Superclass.
vtkTypeBool HasTranslucentPolygonalGeometry() override
No translucent geometry for this actor.
vtkPoints * GetLastAxesPoints()
Get the first/last axes points.
int RenderOpaqueGeometry(vtkViewport *) override
Overriden as a no-op.
vtkTextProperty * GetTextProperty()
Set/Get a text property on the underlying axes labels.
int RenderOverlay(vtkViewport *viewport) override
Standard render methods.
void GetActors2D(vtkPropCollection *pc) override
Append the underlying 2D actors to the collection.
void SetTextProperty(vtkTextProperty *property)
Set/Get a text property on the underlying axes labels.
~vtkRadialGridActor2D() override
Hold a reference to a vtkObjectBase instance.
represent text properties.
abstract specification for Viewports