VTK  9.0.1
vtkPolarAxesActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCubeAxesActor.h
5  Language: C++
6 
7 Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen
8 All 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 =========================================================================*/
33 #ifndef vtkPolarAxesActor_h
34 #define vtkPolarAxesActor_h
35 
36 #define VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES 50
37 #define VTK_DEFAULT_NUMBER_OF_RADIAL_AXES 5
38 #define VTK_MAXIMUM_NUMBER_OF_POLAR_AXIS_TICKS 200
39 #define VTK_MAXIMUM_RATIO 1000.0
40 #define VTK_POLAR_ARC_RESOLUTION_PER_DEG 0.2
41 
42 #include "vtkActor.h"
43 #include "vtkAxisActor.h" // access to enum values
44 #include "vtkRenderingAnnotationModule.h" // For export macro
45 #include <list> // To process exponent list as reference
46 #include <string> // used for ivar
47 
48 class vtkCamera;
49 class vtkPolyData;
50 class vtkPolyDataMapper;
51 class vtkProperty;
52 class vtkStringArray;
53 class vtkTextProperty;
54 
55 class VTKRENDERINGANNOTATION_EXPORT vtkPolarAxesActor : public vtkActor
56 {
57 public:
58  vtkTypeMacro(vtkPolarAxesActor, vtkActor);
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
65  static vtkPolarAxesActor* New();
66 
68 
71  int RenderOpaqueGeometry(vtkViewport*) override;
72  int RenderOverlay(vtkViewport*) override;
73  int RenderTranslucentPolygonalGeometry(vtkViewport*) override { return 0; }
75 
77 
80  virtual void SetPole(double[3]);
81  virtual void SetPole(double, double, double);
82  vtkGetVector3Macro(Pole, double);
84 
86 
90  vtkSetMacro(Log, bool);
91  vtkGetMacro(Log, bool);
92  vtkBooleanMacro(Log, bool);
94 
96 
99  vtkSetClampMacro(RequestedNumberOfRadialAxes, vtkIdType, 0, VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES);
100  vtkGetMacro(RequestedNumberOfRadialAxes, vtkIdType);
102 
104 
108  virtual void SetNumberOfPolarAxisTicks(int);
109  int GetNumberOfPolarAxisTicks();
111 
113 
117  vtkSetMacro(AutoSubdividePolarAxis, bool);
118  vtkGetMacro(AutoSubdividePolarAxis, bool);
119  vtkBooleanMacro(AutoSubdividePolarAxis, bool);
121 
123 
126  vtkSetVector2Macro(Range, double);
127  vtkGetVectorMacro(Range, double, 2);
129 
131 
134  virtual void SetMinimumRadius(double);
135  vtkGetMacro(MinimumRadius, double);
137 
139 
142  virtual void SetMaximumRadius(double);
143  vtkGetMacro(MaximumRadius, double);
145 
147 
150  virtual void SetMinimumAngle(double);
151  vtkGetMacro(MinimumAngle, double);
153 
155 
158  virtual void SetMaximumAngle(double);
159  vtkGetMacro(MaximumAngle, double);
161 
163 
168  vtkSetClampMacro(SmallestVisiblePolarAngle, double, 0., 5.);
169  vtkGetMacro(SmallestVisiblePolarAngle, double);
171 
173 
178  vtkSetClampMacro(TickLocation, int, vtkAxisActor::VTK_TICKS_INSIDE, vtkAxisActor::VTK_TICKS_BOTH);
179  vtkGetMacro(TickLocation, int);
181 
183 
186  vtkSetMacro(RadialUnits, bool);
187  vtkGetMacro(RadialUnits, bool);
189 
191 
197  vtkSetMacro(ScreenSize, double);
198  vtkGetMacro(ScreenSize, double);
200 
202 
206  virtual void SetCamera(vtkCamera*);
207  vtkGetObjectMacro(Camera, vtkCamera);
209 
211 
215  vtkSetStringMacro(PolarAxisTitle);
216  vtkGetStringMacro(PolarAxisTitle);
218 
220 
223  vtkSetStringMacro(PolarLabelFormat);
224  vtkGetStringMacro(PolarLabelFormat);
226 
228  {
229  VTK_EXPONENT_BOTTOM = 0,
230  VTK_EXPONENT_EXTERN = 1,
231  VTK_EXPONENT_LABELS = 2
232  };
233 
235 
240  vtkSetClampMacro(ExponentLocation, int, VTK_EXPONENT_BOTTOM, VTK_EXPONENT_LABELS);
241  vtkGetMacro(ExponentLocation, int);
243 
245 
248  vtkSetStringMacro(RadialAngleFormat);
249  vtkGetStringMacro(RadialAngleFormat);
251 
257  void ReleaseGraphicsResources(vtkWindow*) override;
258 
260 
263  vtkSetMacro(EnableDistanceLOD, int);
264  vtkGetMacro(EnableDistanceLOD, int);
266 
268 
271  vtkSetClampMacro(DistanceLODThreshold, double, 0.0, 1.0);
272  vtkGetMacro(DistanceLODThreshold, double);
274 
276 
279  vtkSetMacro(EnableViewAngleLOD, int);
280  vtkGetMacro(EnableViewAngleLOD, int);
282 
284 
287  vtkSetClampMacro(ViewAngleLODThreshold, double, 0., 1.);
288  vtkGetMacro(ViewAngleLODThreshold, double);
290 
292 
295  vtkSetMacro(PolarAxisVisibility, vtkTypeBool);
296  vtkGetMacro(PolarAxisVisibility, vtkTypeBool);
297  vtkBooleanMacro(PolarAxisVisibility, vtkTypeBool);
299 
301 
304  vtkSetMacro(DrawRadialGridlines, vtkTypeBool);
305  vtkGetMacro(DrawRadialGridlines, vtkTypeBool);
306  vtkBooleanMacro(DrawRadialGridlines, vtkTypeBool);
308 
310 
313  vtkSetMacro(DrawPolarArcsGridlines, vtkTypeBool);
314  vtkGetMacro(DrawPolarArcsGridlines, vtkTypeBool);
315  vtkBooleanMacro(DrawPolarArcsGridlines, vtkTypeBool);
317 
319 
322  vtkSetMacro(PolarTitleVisibility, vtkTypeBool);
323  vtkGetMacro(PolarTitleVisibility, vtkTypeBool);
324  vtkBooleanMacro(PolarTitleVisibility, vtkTypeBool);
326 
328  {
329  VTK_TITLE_BOTTOM = 0,
330  VTK_TITLE_EXTERN = 1
331  };
332 
334 
338  vtkSetClampMacro(RadialAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
339  vtkGetMacro(RadialAxisTitleLocation, int);
341 
343 
347  vtkSetClampMacro(PolarAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
348  vtkGetMacro(PolarAxisTitleLocation, int);
350 
352 
355  vtkSetMacro(PolarLabelVisibility, vtkTypeBool);
356  vtkGetMacro(PolarLabelVisibility, vtkTypeBool);
357  vtkBooleanMacro(PolarLabelVisibility, vtkTypeBool);
359 
361 
367  vtkSetMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
368  vtkGetMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
369  vtkBooleanMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
371 
373 
379  vtkSetMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
380  vtkGetMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
381  vtkBooleanMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
383 
385 
388  vtkSetMacro(PolarTickVisibility, vtkTypeBool);
389  vtkGetMacro(PolarTickVisibility, vtkTypeBool);
390  vtkBooleanMacro(PolarTickVisibility, vtkTypeBool);
392 
394 
397  vtkSetMacro(AxisTickVisibility, vtkTypeBool);
398  vtkGetMacro(AxisTickVisibility, vtkTypeBool);
399  vtkBooleanMacro(AxisTickVisibility, vtkTypeBool);
401 
403 
406  vtkSetMacro(AxisMinorTickVisibility, vtkTypeBool);
407  vtkGetMacro(AxisMinorTickVisibility, vtkTypeBool);
408  vtkBooleanMacro(AxisMinorTickVisibility, vtkTypeBool);
410 
412 
415  vtkSetMacro(ArcTickVisibility, vtkTypeBool);
416  vtkGetMacro(ArcTickVisibility, vtkTypeBool);
417  vtkBooleanMacro(ArcTickVisibility, vtkTypeBool);
419 
421 
424  vtkSetMacro(ArcMinorTickVisibility, vtkTypeBool);
425  vtkGetMacro(ArcMinorTickVisibility, vtkTypeBool);
426  vtkBooleanMacro(ArcMinorTickVisibility, vtkTypeBool);
428 
430 
433  vtkSetMacro(ArcMajorTickSize, double);
434  vtkGetMacro(ArcMajorTickSize, double);
436 
438 
441  vtkSetMacro(PolarAxisMajorTickSize, double);
442  vtkGetMacro(PolarAxisMajorTickSize, double);
444 
446 
449  vtkSetMacro(LastRadialAxisMajorTickSize, double);
450  vtkGetMacro(LastRadialAxisMajorTickSize, double);
452 
454 
457  vtkSetMacro(PolarAxisTickRatioSize, double);
458  vtkGetMacro(PolarAxisTickRatioSize, double);
460 
462 
465  vtkSetMacro(LastAxisTickRatioSize, double);
466  vtkGetMacro(LastAxisTickRatioSize, double);
468 
470 
473  vtkSetMacro(ArcTickRatioSize, double);
474  vtkGetMacro(ArcTickRatioSize, double);
476 
478 
481  vtkSetMacro(PolarAxisMajorTickThickness, double);
482  vtkGetMacro(PolarAxisMajorTickThickness, double);
484 
486 
489  vtkSetMacro(LastRadialAxisMajorTickThickness, double);
490  vtkGetMacro(LastRadialAxisMajorTickThickness, double);
492 
494 
497  vtkSetMacro(ArcMajorTickThickness, double);
498  vtkGetMacro(ArcMajorTickThickness, double);
500 
502 
505  vtkSetMacro(PolarAxisTickRatioThickness, double);
506  vtkGetMacro(PolarAxisTickRatioThickness, double);
508 
510 
513  vtkSetMacro(LastAxisTickRatioThickness, double);
514  vtkGetMacro(LastAxisTickRatioThickness, double);
516 
518 
521  vtkSetMacro(ArcTickRatioThickness, double);
522  vtkGetMacro(ArcTickRatioThickness, double);
524 
526 
529  vtkSetMacro(DeltaRangeMajor, double);
530  vtkGetMacro(DeltaRangeMajor, double);
532 
534 
537  vtkSetMacro(DeltaRangeMinor, double);
538  vtkGetMacro(DeltaRangeMinor, double);
540 
542 
545  vtkSetMacro(DeltaAngleMajor, double);
546  vtkGetMacro(DeltaAngleMajor, double);
548 
550 
553  vtkSetMacro(DeltaAngleMinor, double);
554  vtkGetMacro(DeltaAngleMinor, double);
556 
558 
561  vtkSetMacro(DeltaAngleRadialAxes, double);
562  vtkGetMacro(DeltaAngleRadialAxes, double);
564 
565  //------------------------------------------------
566 
568 
571  vtkSetMacro(RadialAxesVisibility, vtkTypeBool);
572  vtkGetMacro(RadialAxesVisibility, vtkTypeBool);
573  vtkBooleanMacro(RadialAxesVisibility, vtkTypeBool);
575 
577 
580  vtkSetMacro(RadialTitleVisibility, vtkTypeBool);
581  vtkGetMacro(RadialTitleVisibility, vtkTypeBool);
582  vtkBooleanMacro(RadialTitleVisibility, vtkTypeBool);
584 
586 
589  vtkSetMacro(PolarArcsVisibility, vtkTypeBool);
590  vtkGetMacro(PolarArcsVisibility, vtkTypeBool);
591  vtkBooleanMacro(PolarArcsVisibility, vtkTypeBool);
593 
595 
598  void SetUse2DMode(int val);
599  int GetUse2DMode();
601 
603 
606  virtual void SetPolarAxisTitleTextProperty(vtkTextProperty* p);
607  vtkGetObjectMacro(PolarAxisTitleTextProperty, vtkTextProperty);
609 
611 
614  virtual void SetPolarAxisLabelTextProperty(vtkTextProperty* p);
615  vtkGetObjectMacro(PolarAxisLabelTextProperty, vtkTextProperty);
617 
619 
622  virtual void SetLastRadialAxisTextProperty(vtkTextProperty* p);
623  vtkGetObjectMacro(LastRadialAxisTextProperty, vtkTextProperty);
625 
627 
630  virtual void SetSecondaryRadialAxesTextProperty(vtkTextProperty* p);
631  vtkGetObjectMacro(SecondaryRadialAxesTextProperty, vtkTextProperty);
633 
635 
638  virtual void SetPolarAxisProperty(vtkProperty*);
639  vtkGetObjectMacro(PolarAxisProperty, vtkProperty);
641 
643 
646  virtual void SetLastRadialAxisProperty(vtkProperty* p);
647  vtkGetObjectMacro(LastRadialAxisProperty, vtkProperty);
649 
651 
654  virtual void SetSecondaryRadialAxesProperty(vtkProperty* p);
655  vtkGetObjectMacro(SecondaryRadialAxesProperty, vtkProperty);
657 
659 
662  virtual void SetPolarArcsProperty(vtkProperty* p);
663  vtkProperty* GetPolarArcsProperty();
665 
667 
670  virtual void SetSecondaryPolarArcsProperty(vtkProperty* p);
671  vtkProperty* GetSecondaryPolarArcsProperty();
673 
675 
681  vtkSetVector6Macro(Bounds, double);
682  double* GetBounds() override;
683  void GetBounds(
684  double& xmin, double& xmax, double& ymin, double& ymax, double& zmin, double& zmax);
685  void GetBounds(double bounds[6]);
687 
689 
692  vtkSetClampMacro(Ratio, double, 0.001, 100.0);
693  vtkGetMacro(Ratio, double);
695 
696 protected:
698  ~vtkPolarAxesActor() override;
699 
703  bool CheckMembersConsistency();
704 
709  void BuildAxes(vtkViewport*);
710 
714  void CalculateBounds();
715 
719  void SetCommonAxisAttributes(vtkAxisActor*);
720 
724  void SetPolarAxisAttributes(vtkAxisActor*);
725 
729  void CreateRadialAxes(int axisCount);
730 
734  void BuildRadialAxes();
735 
742  void AutoComputeTicksProperties();
743 
747  double ComputeIdealStep(int subDivsRequired, double rangeLength, int maxSubDivs = 1000);
748 
752  void BuildArcTicks();
753 
758  void StoreTicksPtsFromParamEllipse(
759  double a, double angleEllipseRad, double tickSize, vtkPoints* tickPts);
760 
764  void BuildPolarAxisLabelsArcs();
765 
769  void BuildPolarAxisLabelsArcsLog();
770 
774  void BuildLabelsLog();
775 
776  void BuildPolarArcsLog();
777 
781  std::string FindExponentAndAdjustValues(std::list<double>& valuesList);
782 
786  void GetSignificantPartFromValues(vtkStringArray* valuesStr, std::list<double>& valuesList);
787 
789 
792  double FFix(double);
793  double FSign(double, double);
795 
800  void AutoScale(vtkViewport* viewport);
801 
806  static double ComputeEllipseAngle(double angleInDegrees, double ratio);
807 
811  virtual void ComputeDeltaAngleRadialAxes(vtkIdType);
816  double Pole[3];
817 
822 
827 
833 
837  double Ratio;
838 
842  double Range[2];
843 
848 
853 
858 
863 
868 
874 
880 
885  bool Log;
886 
891 
896  double MinimumAngle;
897 
902  double MaximumAngle;
903 
908 
909  // Structures for principal polar arc
913 
915 
922 
927 
932 
937 
939 
946 
951 
957 
963 
969 
975 
981 
983 
990 
999 
1004 
1012 
1020 
1024  vtkTypeBool AxisTickVisibility, AxisMinorTickVisibility;
1025 
1029  vtkTypeBool ArcTickVisibility, ArcMinorTickVisibility;
1030 
1034  double PolarAxisMajorTickSize, LastRadialAxisMajorTickSize, ArcMajorTickSize;
1035 
1039  double PolarAxisTickRatioSize, LastAxisTickRatioSize, ArcTickRatioSize;
1040 
1044  double PolarAxisMajorTickThickness, LastRadialAxisMajorTickThickness, ArcMajorTickThickness;
1045 
1049  double PolarAxisTickRatioThickness, LastAxisTickRatioThickness, ArcTickRatioThickness;
1050 
1052 
1058 
1063 
1068 
1074 
1079 
1084 
1089 
1094 
1099 
1101 
1111 
1113 
1119 
1124 
1129 
1135 
1140 
1145 
1147 
1151  double TitleScale;
1152 
1156  double LabelScale;
1157 
1161  double ScreenSize;
1162 
1163 private:
1164  vtkPolarAxesActor(const vtkPolarAxesActor&) = delete;
1165  void operator=(const vtkPolarAxesActor&) = delete;
1166 };
1167 
1168 #endif
vtkProperty * SecondaryRadialAxesProperty
General properties of radial axes.
double MinimumRadius
Minimum polar radius.
int PolarAxisTitleLocation
Define the alignment of the title related to the polar axis.
vtkPolyDataMapper * ArcTickPolyDataMapper
vtk object for arc Ticks
vtkActor * ArcTickActor
vtk object for arc Ticks
bool AutoScaleRadius
Auto-scale polar radius (with respect to average length scale of x-y bounding box).
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:45
vtkTextProperty * SecondaryRadialAxesTextProperty
Text properties of secondary radial axes.
double MaximumAngle
Maximum polar angle Default: 90.
int TickLocation
Describes the tick orientation for the graph elements involved by this property.
vtkPolyDataMapper * SecondaryPolarArcsMapper
Structures for secondary polar arcs.
char * PolarLabelFormat
Title to be used for the polar axis NB: Non-polar radial axes use the polar angle as title and have n...
vtkTypeBool PolarAxisVisibility
Visibility of polar axis and its title, labels, ticks (major only)
abstract specification for Viewports
Definition: vtkViewport.h:44
represent surface properties of a geometric object
Definition: vtkProperty.h:61
virtual int RenderOverlay(vtkViewport *)
Definition: vtkProp.h:224
int EnableDistanceLOD
If enabled the actor will not be visible at a certain distance from the camera.
double Ratio
Ratio for elliptical representation of the polar axes actor.
vtkPolyDataMapper * PolarArcsMapper
record modification and/or execution time
Definition: vtkTimeStamp.h:32
Create an axis with tick marks and labels.
Definition: vtkAxisActor.h:71
vtkPolyData * SecondaryPolarArcs
Structures for secondary polar arcs.
double PolarAxisMajorTickThickness
Defines the tickness of the major ticks.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkActor * ArcMinorTickActor
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...
a vtkAbstractArray subclass for strings
vtkTextProperty * PolarAxisTitleTextProperty
Text properties of polar axis title and labels.
double SmallestVisiblePolarAngle
Smallest radial angle distinguishable from polar axis.
vtkTypeBool PolarTickVisibility
Hold visibility for all present ticks.
vtkActor * SecondaryPolarArcsActor
Structures for secondary polar arcs.
int vtkIdType
Definition: vtkType.h:338
vtkTypeBool RadialAxesVisibility
Visibility of radial axes and their titles.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
static vtkActor * New()
Creates an actor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0).
double MinimumAngle
Minimum polar angle Default: 0.
vtkAxisActor ** RadialAxes
Control variables for non-polar radial axes.
double PolarAxisMajorTickSize
Defines the length of the ticks located on the last arc.
vtkPolyData * PolarArcs
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
int vtkTypeBool
Definition: vtkABI.h:69
double ScreenSize
Text screen size.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
vtkProperty * PolarAxisProperty
General properties of polar axis Behavior may be override by polar axis ticks &#39;s actor property...
vtkTypeBool AxisTickVisibility
Hold visibility of major/minor ticks for the polar axis and the last radial axis. ...
double PolarAxisTickRatioSize
Set the ratios between major tick Size for each ticks location.
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) ...
int RadialAxisTitleLocation
Define the alignment of the title related to the radial axis.
double DeltaAngleMinor
Angle between 2 minor ticks on the last arc.
double DeltaAngleMajor
Angle between 2 major ticks on the last arc.
a simple class to control print indentation
Definition: vtkIndent.h:33
int RequestedNumberOfRadialAxes
Requested Number of radial axes.
a virtual camera for 3D rendering
Definition: vtkCamera.h:45
vtkTypeBool DrawPolarArcsGridlines
Visibility of the inner arcs (overridden to 0 if PolarArcsVisibility is set to 0) ...
vtkPolyDataMapper * ArcMinorTickPolyDataMapper
vtk object for arc Ticks
int NumberOfRadialAxes
Number of radial axes.
double * GetBounds() override
Return a reference to the Prop3D&#39;s composite transform.
represent text properties.
vtkProperty * LastRadialAxisProperty
General properties of last radial axis.
vtkTypeBool PolarTitleVisibility
Visibility of polar axis and its title, labels, ticks (major only)
map vtkPolyData to graphics primitives
vtkAxisActor * PolarAxis
Control variables for polar axis.
double TitleScale
Title scale factor.
double PolarAxisTickRatioThickness
Set the ratios between major tick thickness for each ticks location.
double ViewAngleLODThreshold
This determines at what view angle to geometry will make the geometry not visible.
bool RadialUnits
Display angle units (degrees) to label radial axes Default is true.
vtkCamera * Camera
Camera attached to the polar axes system.
vtkPolyData * ArcMinorTickPolyData
vtk object for arc Ticks
vtkTypeBool PolarLabelVisibility
Visibility of polar axis and its title, labels, ticks (major only)
double LabelScale
Label scale factor.
vtkTypeBool PolarArcsVisibility
Visibility of polar arcs.
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
vtkTypeBool RadialTitleVisibility
Visibility of radial axes and their titles.
int EnableViewAngleLOD
If enabled the actor will not be visible at a certain view angle.
double DeltaAngleRadialAxes
Angle between 2 radial Axes.
vtkTextProperty * LastRadialAxisTextProperty
Text properties of last radial axis.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the polar axes.
int ArcTicksOriginToPolarAxis
If On, the ticks are drawn from the angle of the polarAxis (i.e.
double MaximumRadius
Maximum polar radius.
vtkPoints * ArcMajorTickPts
Keep the arc major ticks vtkPoints instances.
int RadialAxesOriginToPolarAxis
If On, the radial axes are drawn from the angle of the polarAxis (i.e.
double DeltaRangeMajor
Step between 2 major ticks, in range value (values displayed on the axis).
vtkPoints * ArcMinorTickPts
Keep the arc minor ticks vtkPoints instances.
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
bool Log
Enable/Disable log scale Default: 0.
represent and manipulate 3D points
Definition: vtkPoints.h:33
char * RadialAngleFormat
String to format angle values displayed on the radial axes.
vtkTextProperty * PolarAxisLabelTextProperty
Text properties of polar axis title and labels.
vtkPolyData * ArcTickPolyData
vtk object for arc Ticks
#define VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES
vtkTypeBool ArcTickVisibility
Enable / Disable major/minor tick visibility on the last arc displayed.
bool AutoSubdividePolarAxis
Whether the number of polar axis ticks and arcs should be automatically calculated.
double DeltaRangeMinor
Step between 2 minor ticks, in range value (values displayed on the axis).
double DistanceLODThreshold
Default is 0.80 This determines at what fraction of camera far clip range, actor is not visible...
create an actor of a polar axes -