VTK  9.1.0
vtkPolarAxesActor.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkCubeAxesActor.h
5 Language: C++
6
7Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen
8All rights reserve
9 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14=========================================================================*/
42#ifndef vtkPolarAxesActor_h
43#define vtkPolarAxesActor_h
44
45#define VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES 50
46#define VTK_DEFAULT_NUMBER_OF_RADIAL_AXES 5
47#define VTK_MAXIMUM_NUMBER_OF_POLAR_AXIS_TICKS 200
48#define VTK_MAXIMUM_RATIO 1000.0
49#define VTK_POLAR_ARC_RESOLUTION_PER_DEG 0.2
50
51#include "vtkActor.h"
52#include "vtkAxisActor.h" // access to enum values
53#include "vtkRenderingAnnotationModule.h" // For export macro
54#include <list> // To process exponent list as reference
55#include <string> // used for ivar
56
57class vtkCamera;
58class vtkPolyData;
60class vtkProperty;
61class vtkStringArray;
62class vtkTextProperty;
63
64class VTKRENDERINGANNOTATION_EXPORT vtkPolarAxesActor : public vtkActor
65{
66public:
68 void PrintSelf(ostream& os, vtkIndent indent) override;
69
75
77
81 int RenderOverlay(vtkViewport*) override;
84
86
89 virtual void SetPole(double[3]);
90 virtual void SetPole(double, double, double);
91 vtkGetVector3Macro(Pole, double);
93
95
99 vtkSetMacro(Log, bool);
100 vtkGetMacro(Log, bool);
101 vtkBooleanMacro(Log, bool);
103
105
108 vtkSetClampMacro(RequestedNumberOfRadialAxes, vtkIdType, 0, VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES);
109 vtkGetMacro(RequestedNumberOfRadialAxes, vtkIdType);
111
113
117 virtual void SetNumberOfPolarAxisTicks(int);
120
122
126 vtkSetMacro(AutoSubdividePolarAxis, bool);
127 vtkGetMacro(AutoSubdividePolarAxis, bool);
128 vtkBooleanMacro(AutoSubdividePolarAxis, bool);
130
132
135 vtkSetVector2Macro(Range, double);
136 vtkGetVectorMacro(Range, double, 2);
138
140
143 virtual void SetMinimumRadius(double);
144 vtkGetMacro(MinimumRadius, double);
146
148
151 virtual void SetMaximumRadius(double);
152 vtkGetMacro(MaximumRadius, double);
154
156
159 virtual void SetMinimumAngle(double);
160 vtkGetMacro(MinimumAngle, double);
162
164
167 virtual void SetMaximumAngle(double);
168 vtkGetMacro(MaximumAngle, double);
170
172
177 vtkSetClampMacro(SmallestVisiblePolarAngle, double, 0., 5.);
178 vtkGetMacro(SmallestVisiblePolarAngle, double);
180
182
188 vtkGetMacro(TickLocation, int);
190
192
195 vtkSetMacro(RadialUnits, bool);
196 vtkGetMacro(RadialUnits, bool);
198
200
206 vtkSetMacro(ScreenSize, double);
207 vtkGetMacro(ScreenSize, double);
209
211
215 virtual void SetCamera(vtkCamera*);
216 vtkGetObjectMacro(Camera, vtkCamera);
218
220
224 vtkSetStringMacro(PolarAxisTitle);
225 vtkGetStringMacro(PolarAxisTitle);
227
229
232 vtkSetStringMacro(PolarLabelFormat);
233 vtkGetStringMacro(PolarLabelFormat);
235
237 {
238 VTK_EXPONENT_BOTTOM = 0,
239 VTK_EXPONENT_EXTERN = 1,
240 VTK_EXPONENT_LABELS = 2
241 };
242
244
249 vtkSetClampMacro(ExponentLocation, int, VTK_EXPONENT_BOTTOM, VTK_EXPONENT_LABELS);
250 vtkGetMacro(ExponentLocation, int);
252
254
257 vtkSetStringMacro(RadialAngleFormat);
258 vtkGetStringMacro(RadialAngleFormat);
260
267
269
272 vtkSetMacro(EnableDistanceLOD, int);
273 vtkGetMacro(EnableDistanceLOD, int);
275
277
280 vtkSetClampMacro(DistanceLODThreshold, double, 0.0, 1.0);
281 vtkGetMacro(DistanceLODThreshold, double);
283
285
288 vtkSetMacro(EnableViewAngleLOD, int);
289 vtkGetMacro(EnableViewAngleLOD, int);
291
293
296 vtkSetClampMacro(ViewAngleLODThreshold, double, 0., 1.);
297 vtkGetMacro(ViewAngleLODThreshold, double);
299
301
304 vtkSetMacro(PolarAxisVisibility, vtkTypeBool);
305 vtkGetMacro(PolarAxisVisibility, vtkTypeBool);
306 vtkBooleanMacro(PolarAxisVisibility, vtkTypeBool);
308
310
313 vtkSetMacro(DrawRadialGridlines, vtkTypeBool);
314 vtkGetMacro(DrawRadialGridlines, vtkTypeBool);
315 vtkBooleanMacro(DrawRadialGridlines, vtkTypeBool);
317
319
322 vtkSetMacro(DrawPolarArcsGridlines, vtkTypeBool);
323 vtkGetMacro(DrawPolarArcsGridlines, vtkTypeBool);
324 vtkBooleanMacro(DrawPolarArcsGridlines, vtkTypeBool);
326
328
331 vtkSetMacro(PolarTitleVisibility, vtkTypeBool);
332 vtkGetMacro(PolarTitleVisibility, vtkTypeBool);
333 vtkBooleanMacro(PolarTitleVisibility, vtkTypeBool);
335
337 {
338 VTK_TITLE_BOTTOM = 0,
339 VTK_TITLE_EXTERN = 1
340 };
341
343
347 vtkSetClampMacro(RadialAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
348 vtkGetMacro(RadialAxisTitleLocation, int);
350
352
356 vtkSetClampMacro(PolarAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
357 vtkGetMacro(PolarAxisTitleLocation, int);
359
361
364 vtkSetMacro(PolarLabelVisibility, vtkTypeBool);
365 vtkGetMacro(PolarLabelVisibility, vtkTypeBool);
366 vtkBooleanMacro(PolarLabelVisibility, vtkTypeBool);
368
370
376 vtkSetMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
377 vtkGetMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
378 vtkBooleanMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
380
382
388 vtkSetMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
389 vtkGetMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
390 vtkBooleanMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
392
394
397 vtkSetMacro(PolarTickVisibility, vtkTypeBool);
398 vtkGetMacro(PolarTickVisibility, vtkTypeBool);
399 vtkBooleanMacro(PolarTickVisibility, vtkTypeBool);
401
403
406 vtkSetMacro(AxisTickVisibility, vtkTypeBool);
407 vtkGetMacro(AxisTickVisibility, vtkTypeBool);
408 vtkBooleanMacro(AxisTickVisibility, vtkTypeBool);
410
412
415 vtkSetMacro(AxisMinorTickVisibility, vtkTypeBool);
416 vtkGetMacro(AxisMinorTickVisibility, vtkTypeBool);
417 vtkBooleanMacro(AxisMinorTickVisibility, vtkTypeBool);
419
421
424 vtkSetMacro(ArcTickVisibility, vtkTypeBool);
425 vtkGetMacro(ArcTickVisibility, vtkTypeBool);
426 vtkBooleanMacro(ArcTickVisibility, vtkTypeBool);
428
430
433 vtkSetMacro(ArcMinorTickVisibility, vtkTypeBool);
434 vtkGetMacro(ArcMinorTickVisibility, vtkTypeBool);
435 vtkBooleanMacro(ArcMinorTickVisibility, vtkTypeBool);
437
439
442 vtkSetMacro(ArcMajorTickSize, double);
443 vtkGetMacro(ArcMajorTickSize, double);
445
447
450 vtkSetMacro(PolarAxisMajorTickSize, double);
451 vtkGetMacro(PolarAxisMajorTickSize, double);
453
455
458 vtkSetMacro(LastRadialAxisMajorTickSize, double);
459 vtkGetMacro(LastRadialAxisMajorTickSize, double);
461
463
466 vtkSetMacro(PolarAxisTickRatioSize, double);
467 vtkGetMacro(PolarAxisTickRatioSize, double);
469
471
474 vtkSetMacro(LastAxisTickRatioSize, double);
475 vtkGetMacro(LastAxisTickRatioSize, double);
477
479
482 vtkSetMacro(ArcTickRatioSize, double);
483 vtkGetMacro(ArcTickRatioSize, double);
485
487
490 vtkSetMacro(PolarAxisMajorTickThickness, double);
491 vtkGetMacro(PolarAxisMajorTickThickness, double);
493
495
498 vtkSetMacro(LastRadialAxisMajorTickThickness, double);
499 vtkGetMacro(LastRadialAxisMajorTickThickness, double);
501
503
506 vtkSetMacro(ArcMajorTickThickness, double);
507 vtkGetMacro(ArcMajorTickThickness, double);
509
511
514 vtkSetMacro(PolarAxisTickRatioThickness, double);
515 vtkGetMacro(PolarAxisTickRatioThickness, double);
517
519
522 vtkSetMacro(LastAxisTickRatioThickness, double);
523 vtkGetMacro(LastAxisTickRatioThickness, double);
525
527
530 vtkSetMacro(ArcTickRatioThickness, double);
531 vtkGetMacro(ArcTickRatioThickness, double);
533
535
538 vtkSetMacro(DeltaRangeMajor, double);
539 vtkGetMacro(DeltaRangeMajor, double);
541
543
546 vtkSetMacro(DeltaRangeMinor, double);
547 vtkGetMacro(DeltaRangeMinor, double);
549
551
554 vtkSetMacro(DeltaAngleMajor, double);
555 vtkGetMacro(DeltaAngleMajor, double);
557
559
562 vtkSetMacro(DeltaAngleMinor, double);
563 vtkGetMacro(DeltaAngleMinor, double);
565
567
570 vtkSetMacro(DeltaAngleRadialAxes, double);
571 vtkGetMacro(DeltaAngleRadialAxes, double);
573
574 //------------------------------------------------
575
577
580 vtkSetMacro(RadialAxesVisibility, vtkTypeBool);
581 vtkGetMacro(RadialAxesVisibility, vtkTypeBool);
582 vtkBooleanMacro(RadialAxesVisibility, vtkTypeBool);
584
586
589 vtkSetMacro(RadialTitleVisibility, vtkTypeBool);
590 vtkGetMacro(RadialTitleVisibility, vtkTypeBool);
591 vtkBooleanMacro(RadialTitleVisibility, vtkTypeBool);
593
595
598 vtkSetMacro(PolarArcsVisibility, vtkTypeBool);
599 vtkGetMacro(PolarArcsVisibility, vtkTypeBool);
600 vtkBooleanMacro(PolarArcsVisibility, vtkTypeBool);
602
604
607 void SetUse2DMode(int val);
610
612
616 vtkGetObjectMacro(PolarAxisTitleTextProperty, vtkTextProperty);
618
620
624 vtkGetObjectMacro(PolarAxisLabelTextProperty, vtkTextProperty);
626
628
632 vtkGetObjectMacro(LastRadialAxisTextProperty, vtkTextProperty);
634
636
640 vtkGetObjectMacro(SecondaryRadialAxesTextProperty, vtkTextProperty);
642
644
648 vtkGetObjectMacro(PolarAxisProperty, vtkProperty);
650
652
656 vtkGetObjectMacro(LastRadialAxisProperty, vtkProperty);
658
660
664 vtkGetObjectMacro(SecondaryRadialAxesProperty, vtkProperty);
666
668
674
676
682
684
690 vtkSetVector6Macro(Bounds, double);
691 double* GetBounds() override;
693 double& xmin, double& xmax, double& ymin, double& ymax, double& zmin, double& zmax);
694 void GetBounds(double bounds[6]);
696
698
701 vtkSetClampMacro(Ratio, double, 0.001, 100.0);
702 vtkGetMacro(Ratio, double);
704
705protected:
708
713
719
724
729
734
738 void CreateRadialAxes(int axisCount);
739
744
752
756 double ComputeIdealStep(int subDivsRequired, double rangeLength, int maxSubDivs = 1000);
757
762
768 double a, double angleEllipseRad, double tickSize, vtkPoints* tickPts);
769
774
779
784
786
790 std::string FindExponentAndAdjustValues(std::list<double>& valuesList);
791
795 void GetSignificantPartFromValues(vtkStringArray* valuesStr, std::list<double>& valuesList);
796
798
801 double FFix(double);
802 double FSign(double, double);
804
809 void AutoScale(vtkViewport* viewport);
810
815 static double ComputeEllipseAngle(double angleInDegrees, double ratio);
816
825 double Pole[3];
826
831
836
842
846 double Ratio;
847
851 double Range[2];
852
857
862
867
872
877
883
889
894 bool Log;
895
900
906
912
917
918 // Structures for principal polar arc
922
924
931
936
941
946
948
955
960
966
972
978
984
990
992
999
1008
1013
1021
1029
1034
1039
1043 double PolarAxisMajorTickSize, LastRadialAxisMajorTickSize, ArcMajorTickSize;
1044
1048 double PolarAxisTickRatioSize, LastAxisTickRatioSize, ArcTickRatioSize;
1049
1053 double PolarAxisMajorTickThickness, LastRadialAxisMajorTickThickness, ArcMajorTickThickness;
1054
1058 double PolarAxisTickRatioThickness, LastAxisTickRatioThickness, ArcTickRatioThickness;
1059
1061
1067
1072
1077
1083
1088
1093
1098
1103
1108
1110
1120
1122
1128
1133
1138
1144
1149
1154
1156
1161
1166
1171
1172private:
1173 vtkPolarAxesActor(const vtkPolarAxesActor&) = delete;
1174 void operator=(const vtkPolarAxesActor&) = delete;
1175};
1176
1177#endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:55
Create an axis with tick marks and labels.
Definition: vtkAxisActor.h:81
a virtual camera for 3D rendering
Definition: vtkCamera.h:55
a simple class to control print indentation
Definition: vtkIndent.h:43
represent and manipulate 3D points
Definition: vtkPoints.h:43
create an actor of a polar axes -
vtkActor * ArcTickActor
vtk object for arc Ticks
bool AutoScaleRadius
Auto-scale polar radius (with respect to average length scale of x-y bounding box).
virtual void SetCamera(vtkCamera *)
Set/Get the camera to perform scaling and translation of the vtkPolarAxesActor.
double * GetBounds() override
Explicitly specify the region in space around which to draw the bounds.
bool AutoSubdividePolarAxis
Whether the number of polar axis ticks and arcs should be automatically calculated.
virtual void SetPolarAxisProperty(vtkProperty *)
Get/Set polar axis actor properties.
vtkTypeBool PolarLabelVisibility
Visibility of polar axis and its title, labels, ticks (major only)
void CalculateBounds()
Calculate bounds based on maximum radius and angular sector.
int RequestedNumberOfRadialAxes
Requested Number of radial axes.
void GetBounds(double bounds[6])
Explicitly specify the region in space around which to draw the bounds.
vtkTextProperty * PolarAxisTitleTextProperty
Text properties of polar axis title and labels.
void AutoScale(vtkViewport *viewport)
Automatically rescale titles and labels NB: Current implementation only for perspective projections.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void BuildPolarArcsLog()
vtkActor * ArcMinorTickActor
vtk object for arc Ticks
virtual void SetNumberOfPolarAxisTicks(int)
Set/Get a number of ticks that one would like to display along polar axis NB: it modifies DeltaRangeM...
vtkTypeBool RadialAxesVisibility
Visibility of radial axes and their titles.
vtkTypeBool PolarArcsVisibility
Visibility of polar arcs.
vtkTypeBool PolarTickVisibility
Hold visibility for all present ticks.
vtkProperty * PolarAxisProperty
General properties of polar axis Behavior may be override by polar axis ticks 's actor property.
int EnableDistanceLOD
If enabled the actor will not be visible at a certain distance from the camera.
int EnableViewAngleLOD
If enabled the actor will not be visible at a certain view angle.
vtkPoints * ArcMajorTickPts
Keep the arc major ticks vtkPoints instances.
virtual void SetLastRadialAxisTextProperty(vtkTextProperty *p)
Set/Get the last radial axis text property.
void BuildPolarAxisLabelsArcs()
Build polar axis labels and arcs with respect to specified pole.
virtual void SetLastRadialAxisProperty(vtkProperty *p)
Get/Set last radial axis actor properties.
vtkTextProperty * PolarAxisLabelTextProperty
Text properties of polar axis title and labels.
virtual void SetSecondaryPolarArcsProperty(vtkProperty *p)
Get/Set secondary polar arcs actors property.
virtual void SetSecondaryRadialAxesProperty(vtkProperty *p)
Get/Set secondary radial axes actors properties.
double DeltaAngleMinor
Angle between 2 minor ticks on the last arc.
void StoreTicksPtsFromParamEllipse(double a, double angleEllipseRad, double tickSize, vtkPoints *tickPts)
Init tick point located on an ellipse at angleEllipseRad angle and according to "a" major radius.
double MaximumRadius
Maximum polar radius.
virtual void SetMinimumRadius(double)
Set/Get the minimal radius of the polar coordinates.
virtual void ComputeDeltaAngleRadialAxes(vtkIdType)
Compute delta angle of radial axes.
double MinimumRadius
Minimum polar radius.
double MaximumAngle
Maximum polar angle Default: 90.
static vtkPolarAxesActor * New()
Instantiate object with label format "6.3g" and the number of labels per axis set to 3.
vtkPolyData * ArcMinorTickPolyData
vtk object for arc Ticks
void GetBounds(double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax)
Explicitly specify the region in space around which to draw the bounds.
vtkProperty * SecondaryRadialAxesProperty
General properties of radial axes.
vtkTypeBool AxisMinorTickVisibility
void GetSignificantPartFromValues(vtkStringArray *valuesStr, std::list< double > &valuesList)
Yield a string array with the float part of each values.
int NumberOfRadialAxes
Number of radial axes.
int PolarAxisTitleLocation
Define the alignment of the title related to the polar axis.
char * PolarLabelFormat
Title to be used for the polar axis NB: Non-polar radial axes use the polar angle as title and have n...
vtkAxisActor * PolarAxis
Control variables for polar axis.
vtkTextProperty * SecondaryRadialAxesTextProperty
Text properties of secondary radial axes.
virtual void SetMinimumAngle(double)
Set/Get the minimum radius of the polar coordinates (in degrees).
vtkProperty * GetPolarArcsProperty()
Get/Set principal polar arc actor property.
double ViewAngleLODThreshold
This determines at what view angle to geometry will make the geometry not visible.
virtual void SetPole(double[3])
Explicitly specify the coordinate of the pole.
vtkPolyData * ArcTickPolyData
vtk object for arc Ticks
double DeltaAngleRadialAxes
Angle between 2 radial Axes.
void AutoComputeTicksProperties()
Set Range and PolarAxis members value to build axis ticks this function doesn't actually build PolarA...
vtkTypeBool RadialTitleVisibility
Visibility of radial axes and their titles.
void BuildLabelsLog()
Define label values.
bool RadialUnits
Display angle units (degrees) to label radial axes Default is true.
int TickLocation
Describes the tick orientation for the graph elements involved by this property.
void BuildArcTicks()
Build Arc ticks.
void BuildRadialAxes()
Build requested number of radial axes with respect to specified pole.
int GetUse2DMode()
Enable/Disable labels 2D mode (always facing the camera).
void CreateRadialAxes(int axisCount)
Create requested number of type X axes.
double FSign(double, double)
Convenience methods.
double ComputeIdealStep(int subDivsRequired, double rangeLength, int maxSubDivs=1000)
return a step attempting to be as rounded as possible according to input parameters
static double ComputeEllipseAngle(double angleInDegrees, double ratio)
convert section angle to an angle applied to ellipse equation.
virtual void SetPolarAxisTitleTextProperty(vtkTextProperty *p)
Set/Get the polar axis title text property.
bool CheckMembersConsistency()
Check consistency of vtkPolarAxesActor members.
int GetNumberOfPolarAxisTicks()
Set/Get a number of ticks that one would like to display along polar axis NB: it modifies DeltaRangeM...
int RadialAxesOriginToPolarAxis
If On, the radial axes are drawn from the angle of the polarAxis (i.e.
double DistanceLODThreshold
Default is 0.80 This determines at what fraction of camera far clip range, actor is not visible.
double DeltaAngleMajor
Angle between 2 major ticks on the last arc.
double DeltaRangeMinor
Step between 2 minor ticks, in range value (values displayed on the axis).
double DeltaRangeMajor
Step between 2 major ticks, in range value (values displayed on the axis).
vtkProperty * GetSecondaryPolarArcsProperty()
Get/Set secondary polar arcs actors property.
double TitleScale
Title scale factor.
int ArcTicksOriginToPolarAxis
If On, the ticks are drawn from the angle of the polarAxis (i.e.
vtkPolyDataMapper * ArcTickPolyDataMapper
vtk object for arc Ticks
void BuildPolarAxisLabelsArcsLog()
Build labels and arcs with log scale axis.
virtual void SetSecondaryRadialAxesTextProperty(vtkTextProperty *p)
Set/Get the secondary radial axes text property.
vtkPolyDataMapper * SecondaryPolarArcsMapper
Structures for secondary polar arcs.
double Ratio
Ratio for elliptical representation of the polar axes actor.
int RenderOverlay(vtkViewport *) override
Draw the polar axes.
vtkActor * SecondaryPolarArcsActor
Structures for secondary polar arcs.
vtkPolyDataMapper * ArcMinorTickPolyDataMapper
vtk object for arc Ticks
char * PolarAxisTitle
Title to be used for the polar axis NB: Non-polar radial axes use the polar angle as title and have n...
void SetCommonAxisAttributes(vtkAxisActor *)
Send attributes which are common to all axes, both polar and radial.
vtkTypeBool PolarTitleVisibility
Visibility of polar axis and its title, labels, ticks (major only)
void SetUse2DMode(int val)
Enable/Disable labels 2D mode (always facing the camera).
vtkTypeBool ArcMinorTickVisibility
virtual void SetMaximumRadius(double)
Set/Get the maximum radius of the polar coordinates.
vtkPolyData * PolarArcs
double FFix(double)
Convenience methods.
virtual void SetPole(double, double, double)
Explicitly specify the coordinate of the pole.
vtkTypeBool DrawPolarArcsGridlines
Visibility of the inner arcs (overridden to 0 if PolarArcsVisibility is set to 0)
int RenderOpaqueGeometry(vtkViewport *) override
Draw the polar axes.
void SetPolarAxisAttributes(vtkAxisActor *)
Set properties specific to PolarAxis.
vtkAxisActor ** RadialAxes
Control variables for non-polar radial axes.
double SmallestVisiblePolarAngle
Smallest radial angle distinguishable from polar axis.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
double ScreenSize
Text screen size.
vtkPolyDataMapper * PolarArcsMapper
vtkTypeBool PolarAxisVisibility
Visibility of polar axis and its title, labels, ticks (major only)
int RadialAxisTitleLocation
Define the alignment of the title related to the radial axis.
std::string FindExponentAndAdjustValues(std::list< double > &valuesList)
Find a common exponent for label values.
virtual void SetMaximumAngle(double)
Set/Get the maximum radius of the polar coordinates (in degrees).
double LabelScale
Label scale factor.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the polar axes.
int ExponentLocation
Define the location of the exponent of the labels values, located on the polar axis.
vtkTypeBool DrawRadialGridlines
Visibility of the inner axes (overridden to 0 if RadialAxesVisibility is set to 0)
vtkProperty * LastRadialAxisProperty
General properties of last radial axis.
vtkPolyData * SecondaryPolarArcs
Structures for secondary polar arcs.
double MinimumAngle
Minimum polar angle Default: 0.
~vtkPolarAxesActor() override
vtkPoints * ArcMinorTickPts
Keep the arc minor ticks vtkPoints instances.
virtual void SetPolarAxisLabelTextProperty(vtkTextProperty *p)
Set/Get the polar axis labels text property.
vtkTextProperty * LastRadialAxisTextProperty
Text properties of last radial axis.
vtkCamera * Camera
Camera attached to the polar axes system.
bool Log
Enable/Disable log scale Default: 0.
char * RadialAngleFormat
String to format angle values displayed on the radial axes.
void BuildAxes(vtkViewport *)
Build the axes.
virtual void SetPolarArcsProperty(vtkProperty *p)
Get/Set principal polar arc actor property.
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:95
represent surface properties of a geometric object
Definition: vtkProperty.h:71
a vtkAbstractArray subclass for strings
represent text properties.
record modification and/or execution time
Definition: vtkTimeStamp.h:42
abstract specification for Viewports
Definition: vtkViewport.h:56
window superclass for vtkRenderWindow
Definition: vtkWindow.h:45
@ string
Definition: vtkX3D.h:496
auto Range(IterablePtr iterable, Options &&... opts) -> typename detail::IterableTraits< typename detail::StripPointers< IterablePtr >::type >::RangeType
Generate an iterable STL proxy object for a VTK container.
Definition: vtkRange.h:85
int vtkTypeBool
Definition: vtkABI.h:69
#define VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES
int vtkIdType
Definition: vtkType.h:332