41 #ifndef vtkPolarAxesActor_h
42 #define vtkPolarAxesActor_h
44 #define VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES 50
45 #define VTK_DEFAULT_NUMBER_OF_RADIAL_AXES 5
46 #define VTK_MAXIMUM_NUMBER_OF_POLAR_AXIS_TICKS 200
47 #define VTK_POLAR_ARC_RESOLUTION_PER_DEG 0.2
76 virtual void SetPole(
double[3] );
77 virtual void SetPole(
double,
double,
double );
78 vtkGetVector3Macro( Pole,
double );
83 virtual void SetNumberOfRadialAxes(
vtkIdType );
84 vtkGetMacro( NumberOfRadialAxes,
vtkIdType );
91 vtkGetMacro( NumberOfPolarAxisTicks,
vtkIdType );
97 vtkSetMacro( AutoSubdividePolarAxis,
bool );
98 vtkGetMacro( AutoSubdividePolarAxis,
bool );
99 vtkBooleanMacro( AutoSubdividePolarAxis,
bool );
104 virtual void SetMaximumRadius(
double );
105 vtkGetMacro( MaximumRadius,
double );
111 vtkSetMacro( AutoScaleRadius,
bool );
112 vtkGetMacro( AutoScaleRadius,
bool );
117 virtual void SetMinimumAngle(
double );
118 vtkGetMacro( MinimumAngle,
double );
123 virtual void SetMaximumAngle(
double );
124 vtkGetMacro( MaximumAngle,
double );
130 vtkSetClampMacro( SmallestVisiblePolarAngle,
double, 0., 5. );
131 vtkGetMacro( SmallestVisiblePolarAngle,
double );
136 vtkSetMacro( RadialUnits,
bool );
137 vtkGetMacro( RadialUnits,
bool );
144 void SetScreenSize(
double screenSize );
145 vtkGetMacro( ScreenSize,
double );
157 vtkSetStringMacro( PolarAxisTitle );
158 vtkGetStringMacro( PolarAxisTitle );
163 vtkSetStringMacro( PolarLabelFormat );
164 vtkGetStringMacro( PolarLabelFormat );
175 vtkSetMacro( EnableDistanceLOD,
int );
176 vtkGetMacro( EnableDistanceLOD,
int );
181 vtkSetClampMacro( DistanceLODThreshold,
double, 0.0, 1.0 );
182 vtkGetMacro( DistanceLODThreshold,
double);
188 vtkSetMacro( EnableViewAngleLOD,
int );
189 vtkGetMacro( EnableViewAngleLOD,
int );
194 vtkSetClampMacro( ViewAngleLODThreshold,
double, 0., 1. );
195 vtkGetMacro( ViewAngleLODThreshold,
double );
200 vtkSetMacro( PolarAxisVisibility,
int );
201 vtkGetMacro( PolarAxisVisibility,
int );
202 vtkBooleanMacro( PolarAxisVisibility,
int );
207 vtkSetMacro( PolarTitleVisibility,
int );
208 vtkGetMacro( PolarTitleVisibility,
int );
209 vtkBooleanMacro( PolarTitleVisibility,
int );
214 vtkSetMacro( PolarLabelVisibility,
int );
215 vtkGetMacro( PolarLabelVisibility,
int );
216 vtkBooleanMacro( PolarLabelVisibility,
int );
221 vtkSetMacro( PolarTickVisibility,
int );
222 vtkGetMacro( PolarTickVisibility,
int );
223 vtkBooleanMacro( PolarTickVisibility,
int );
228 vtkSetMacro( RadialAxesVisibility,
int );
229 vtkGetMacro( RadialAxesVisibility,
int );
230 vtkBooleanMacro( RadialAxesVisibility,
int );
235 vtkSetMacro( RadialTitleVisibility,
int );
236 vtkGetMacro( RadialTitleVisibility,
int );
237 vtkBooleanMacro( RadialTitleVisibility,
int );
242 vtkSetMacro( PolarArcsVisibility,
int );
243 vtkGetMacro( PolarArcsVisibility,
int );
244 vtkBooleanMacro( PolarArcsVisibility,
int );
282 vtkSetVector6Macro(Bounds,
double);
284 void GetBounds(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
285 double& zmin,
double& zmax);
297 void CalculateBounds();
303 void CreateRadialAxes();
306 void BuildRadialAxes();
309 void BuildPolarAxisTicks(
double );
312 void BuildPolarAxisLabelsArcs();
316 double FFix(
double );
317 double FSign(
double,
double );
represents an object (geometry & properties) in a rendered scene
abstract specification for Viewports
represent surface properties of a geometric object
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
vtkPolyDataMapper * PolarArcsMapper
int NumberOfPolarAxisTicks
vtkProperty * RadialAxesProperty
#define VTK_MAXIMUM_NUMBER_OF_POLAR_AXIS_TICKS
record modification and/or execution time
Create an axis with tick marks and labels.
vtkTextProperty * PolarAxisTitleTextProperty
double SmallestVisiblePolarAngle
concrete dataset represents vertices, lines, polygons, and triangle strips
void PrintSelf(ostream &os, vtkIndent indent)
vtkAxisActor ** RadialAxes
vtkActor * PolarArcsActor
#define VTKRENDERINGANNOTATION_EXPORT
window superclass for vtkRenderWindow
vtkProperty * PolarAxisProperty
a simple class to control print indentation
a virtual camera for 3D rendering
represent text properties.
map vtkPolyData to graphics primitives
int RadialTitleVisibility
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
double ViewAngleLODThreshold
void ReleaseGraphicsResources(vtkWindow *)
vtkTextProperty * PolarAxisLabelTextProperty
bool AutoSubdividePolarAxis
double DistanceLODThreshold
create an actor of a polar axes -