VTK  9.2.6
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 =========================================================================*/
36 #ifndef vtkPolarAxesActor_h
37 #define vtkPolarAxesActor_h
38 
39 #define VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES 50
40 #define VTK_DEFAULT_NUMBER_OF_RADIAL_AXES 5
41 #define VTK_MAXIMUM_NUMBER_OF_POLAR_AXIS_TICKS 200
42 #define VTK_MAXIMUM_RATIO 1000.0
43 #define VTK_POLAR_ARC_RESOLUTION_PER_DEG 0.2
44 
45 #include "vtkActor.h"
46 #include "vtkAxisActor.h" // access to enum values
47 #include "vtkRenderingAnnotationModule.h" // For export macro
48 #include <list> // To process exponent list as reference
49 #include <string> // used for ivar
50 
51 class vtkCamera;
52 class vtkPolyData;
53 class vtkPolyDataMapper;
54 class vtkProperty;
55 class vtkStringArray;
56 class vtkTextProperty;
57 
58 class VTKRENDERINGANNOTATION_EXPORT vtkPolarAxesActor : public vtkActor
59 {
60 public:
61  vtkTypeMacro(vtkPolarAxesActor, vtkActor);
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
68  static vtkPolarAxesActor* New();
69 
71 
74  int RenderOpaqueGeometry(vtkViewport*) override;
75  int RenderOverlay(vtkViewport*) override;
76  int RenderTranslucentPolygonalGeometry(vtkViewport*) override { return 0; }
78 
80 
83  virtual void SetPole(double[3]);
84  virtual void SetPole(double, double, double);
85  vtkGetVector3Macro(Pole, double);
87 
89 
93  vtkSetMacro(Log, bool);
94  vtkGetMacro(Log, bool);
95  vtkBooleanMacro(Log, bool);
97 
99 
102  vtkSetClampMacro(RequestedNumberOfRadialAxes, vtkIdType, 0, VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES);
103  vtkGetMacro(RequestedNumberOfRadialAxes, vtkIdType);
105 
107 
111  virtual void SetNumberOfPolarAxisTicks(int);
112  int GetNumberOfPolarAxisTicks();
114 
116 
120  vtkSetMacro(AutoSubdividePolarAxis, bool);
121  vtkGetMacro(AutoSubdividePolarAxis, bool);
122  vtkBooleanMacro(AutoSubdividePolarAxis, bool);
124 
126 
129  vtkSetVector2Macro(Range, double);
130  vtkGetVectorMacro(Range, double, 2);
132 
134 
137  virtual void SetMinimumRadius(double);
138  vtkGetMacro(MinimumRadius, double);
140 
142 
145  virtual void SetMaximumRadius(double);
146  vtkGetMacro(MaximumRadius, double);
148 
150 
153  virtual void SetMinimumAngle(double);
154  vtkGetMacro(MinimumAngle, double);
156 
158 
161  virtual void SetMaximumAngle(double);
162  vtkGetMacro(MaximumAngle, double);
164 
166 
171  vtkSetClampMacro(SmallestVisiblePolarAngle, double, 0., 5.);
172  vtkGetMacro(SmallestVisiblePolarAngle, double);
174 
176 
181  vtkSetClampMacro(TickLocation, int, vtkAxisActor::VTK_TICKS_INSIDE, vtkAxisActor::VTK_TICKS_BOTH);
182  vtkGetMacro(TickLocation, int);
184 
186 
189  vtkSetMacro(RadialUnits, bool);
190  vtkGetMacro(RadialUnits, bool);
192 
194 
200  vtkSetMacro(ScreenSize, double);
201  vtkGetMacro(ScreenSize, double);
203 
205 
209  virtual void SetCamera(vtkCamera*);
210  vtkGetObjectMacro(Camera, vtkCamera);
212 
214 
218  vtkSetStringMacro(PolarAxisTitle);
219  vtkGetStringMacro(PolarAxisTitle);
221 
223 
226  vtkSetStringMacro(PolarLabelFormat);
227  vtkGetStringMacro(PolarLabelFormat);
229 
231  {
232  VTK_EXPONENT_BOTTOM = 0,
233  VTK_EXPONENT_EXTERN = 1,
234  VTK_EXPONENT_LABELS = 2
235  };
236 
238 
243  vtkSetClampMacro(ExponentLocation, int, VTK_EXPONENT_BOTTOM, VTK_EXPONENT_LABELS);
244  vtkGetMacro(ExponentLocation, int);
246 
248 
251  vtkSetStringMacro(RadialAngleFormat);
252  vtkGetStringMacro(RadialAngleFormat);
254 
260  void ReleaseGraphicsResources(vtkWindow*) override;
261 
263 
266  vtkSetMacro(EnableDistanceLOD, int);
267  vtkGetMacro(EnableDistanceLOD, int);
269 
271 
274  vtkSetClampMacro(DistanceLODThreshold, double, 0.0, 1.0);
275  vtkGetMacro(DistanceLODThreshold, double);
277 
279 
282  vtkSetMacro(EnableViewAngleLOD, int);
283  vtkGetMacro(EnableViewAngleLOD, int);
285 
287 
290  vtkSetClampMacro(ViewAngleLODThreshold, double, 0., 1.);
291  vtkGetMacro(ViewAngleLODThreshold, double);
293 
295 
298  vtkSetMacro(PolarAxisVisibility, vtkTypeBool);
299  vtkGetMacro(PolarAxisVisibility, vtkTypeBool);
300  vtkBooleanMacro(PolarAxisVisibility, vtkTypeBool);
302 
304 
307  vtkSetMacro(DrawRadialGridlines, vtkTypeBool);
308  vtkGetMacro(DrawRadialGridlines, vtkTypeBool);
309  vtkBooleanMacro(DrawRadialGridlines, vtkTypeBool);
311 
313 
316  vtkSetMacro(DrawPolarArcsGridlines, vtkTypeBool);
317  vtkGetMacro(DrawPolarArcsGridlines, vtkTypeBool);
318  vtkBooleanMacro(DrawPolarArcsGridlines, vtkTypeBool);
320 
322 
325  vtkSetMacro(PolarTitleVisibility, vtkTypeBool);
326  vtkGetMacro(PolarTitleVisibility, vtkTypeBool);
327  vtkBooleanMacro(PolarTitleVisibility, vtkTypeBool);
329 
331  {
332  VTK_TITLE_BOTTOM = 0,
333  VTK_TITLE_EXTERN = 1
334  };
335 
337 
341  vtkSetClampMacro(RadialAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
342  vtkGetMacro(RadialAxisTitleLocation, int);
344 
346 
350  vtkSetClampMacro(PolarAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
351  vtkGetMacro(PolarAxisTitleLocation, int);
353 
355 
358  vtkSetMacro(PolarLabelVisibility, vtkTypeBool);
359  vtkGetMacro(PolarLabelVisibility, vtkTypeBool);
360  vtkBooleanMacro(PolarLabelVisibility, vtkTypeBool);
362 
364 
370  vtkSetMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
371  vtkGetMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
372  vtkBooleanMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
374 
376 
382  vtkSetMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
383  vtkGetMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
384  vtkBooleanMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
386 
388 
391  vtkSetMacro(PolarTickVisibility, vtkTypeBool);
392  vtkGetMacro(PolarTickVisibility, vtkTypeBool);
393  vtkBooleanMacro(PolarTickVisibility, vtkTypeBool);
395 
397 
400  vtkSetMacro(AxisTickVisibility, vtkTypeBool);
401  vtkGetMacro(AxisTickVisibility, vtkTypeBool);
402  vtkBooleanMacro(AxisTickVisibility, vtkTypeBool);
404 
406 
409  vtkSetMacro(AxisMinorTickVisibility, vtkTypeBool);
410  vtkGetMacro(AxisMinorTickVisibility, vtkTypeBool);
411  vtkBooleanMacro(AxisMinorTickVisibility, vtkTypeBool);
413 
415 
418  vtkSetMacro(ArcTickVisibility, vtkTypeBool);
419  vtkGetMacro(ArcTickVisibility, vtkTypeBool);
420  vtkBooleanMacro(ArcTickVisibility, vtkTypeBool);
422 
424 
427  vtkSetMacro(ArcMinorTickVisibility, vtkTypeBool);
428  vtkGetMacro(ArcMinorTickVisibility, vtkTypeBool);
429  vtkBooleanMacro(ArcMinorTickVisibility, vtkTypeBool);
431 
433 
436  vtkSetMacro(ArcMajorTickSize, double);
437  vtkGetMacro(ArcMajorTickSize, double);
439 
441 
444  vtkSetMacro(PolarAxisMajorTickSize, double);
445  vtkGetMacro(PolarAxisMajorTickSize, double);
447 
449 
452  vtkSetMacro(LastRadialAxisMajorTickSize, double);
453  vtkGetMacro(LastRadialAxisMajorTickSize, double);
455 
457 
460  vtkSetMacro(PolarAxisTickRatioSize, double);
461  vtkGetMacro(PolarAxisTickRatioSize, double);
463 
465 
468  vtkSetMacro(LastAxisTickRatioSize, double);
469  vtkGetMacro(LastAxisTickRatioSize, double);
471 
473 
476  vtkSetMacro(ArcTickRatioSize, double);
477  vtkGetMacro(ArcTickRatioSize, double);
479 
481 
484  vtkSetMacro(PolarAxisMajorTickThickness, double);
485  vtkGetMacro(PolarAxisMajorTickThickness, double);
487 
489 
492  vtkSetMacro(LastRadialAxisMajorTickThickness, double);
493  vtkGetMacro(LastRadialAxisMajorTickThickness, double);
495 
497 
500  vtkSetMacro(ArcMajorTickThickness, double);
501  vtkGetMacro(ArcMajorTickThickness, double);
503 
505 
508  vtkSetMacro(PolarAxisTickRatioThickness, double);
509  vtkGetMacro(PolarAxisTickRatioThickness, double);
511 
513 
516  vtkSetMacro(LastAxisTickRatioThickness, double);
517  vtkGetMacro(LastAxisTickRatioThickness, double);
519 
521 
524  vtkSetMacro(ArcTickRatioThickness, double);
525  vtkGetMacro(ArcTickRatioThickness, double);
527 
529 
532  vtkSetMacro(DeltaRangeMajor, double);
533  vtkGetMacro(DeltaRangeMajor, double);
535 
537 
540  vtkSetMacro(DeltaRangeMinor, double);
541  vtkGetMacro(DeltaRangeMinor, double);
543 
545 
548  vtkSetMacro(DeltaAngleMajor, double);
549  vtkGetMacro(DeltaAngleMajor, double);
551 
553 
556  vtkSetMacro(DeltaAngleMinor, double);
557  vtkGetMacro(DeltaAngleMinor, double);
559 
561 
564  vtkSetMacro(DeltaAngleRadialAxes, double);
565  vtkGetMacro(DeltaAngleRadialAxes, double);
567 
568  //------------------------------------------------
569 
571 
574  vtkSetMacro(RadialAxesVisibility, vtkTypeBool);
575  vtkGetMacro(RadialAxesVisibility, vtkTypeBool);
576  vtkBooleanMacro(RadialAxesVisibility, vtkTypeBool);
578 
580 
583  vtkSetMacro(RadialTitleVisibility, vtkTypeBool);
584  vtkGetMacro(RadialTitleVisibility, vtkTypeBool);
585  vtkBooleanMacro(RadialTitleVisibility, vtkTypeBool);
587 
589 
592  vtkSetMacro(PolarArcsVisibility, vtkTypeBool);
593  vtkGetMacro(PolarArcsVisibility, vtkTypeBool);
594  vtkBooleanMacro(PolarArcsVisibility, vtkTypeBool);
596 
598 
601  void SetUse2DMode(int val);
602  int GetUse2DMode();
604 
606 
609  virtual void SetPolarAxisTitleTextProperty(vtkTextProperty* p);
610  vtkGetObjectMacro(PolarAxisTitleTextProperty, vtkTextProperty);
612 
614 
617  virtual void SetPolarAxisLabelTextProperty(vtkTextProperty* p);
618  vtkGetObjectMacro(PolarAxisLabelTextProperty, vtkTextProperty);
620 
622 
625  virtual void SetLastRadialAxisTextProperty(vtkTextProperty* p);
626  vtkGetObjectMacro(LastRadialAxisTextProperty, vtkTextProperty);
628 
630 
633  virtual void SetSecondaryRadialAxesTextProperty(vtkTextProperty* p);
634  vtkGetObjectMacro(SecondaryRadialAxesTextProperty, vtkTextProperty);
636 
638 
641  virtual void SetPolarAxisProperty(vtkProperty*);
642  vtkGetObjectMacro(PolarAxisProperty, vtkProperty);
644 
646 
649  virtual void SetLastRadialAxisProperty(vtkProperty* p);
650  vtkGetObjectMacro(LastRadialAxisProperty, vtkProperty);
652 
654 
657  virtual void SetSecondaryRadialAxesProperty(vtkProperty* p);
658  vtkGetObjectMacro(SecondaryRadialAxesProperty, vtkProperty);
660 
662 
665  virtual void SetPolarArcsProperty(vtkProperty* p);
666  vtkProperty* GetPolarArcsProperty();
668 
670 
673  virtual void SetSecondaryPolarArcsProperty(vtkProperty* p);
674  vtkProperty* GetSecondaryPolarArcsProperty();
676 
678 
684  vtkSetVector6Macro(Bounds, double);
685  double* GetBounds() override;
686  void GetBounds(
687  double& xmin, double& xmax, double& ymin, double& ymax, double& zmin, double& zmax);
688  void GetBounds(double bounds[6]);
690 
692 
695  vtkSetClampMacro(Ratio, double, 0.001, 100.0);
696  vtkGetMacro(Ratio, double);
698 
699 protected:
701  ~vtkPolarAxesActor() override;
702 
706  bool CheckMembersConsistency();
707 
712  void BuildAxes(vtkViewport*);
713 
717  void CalculateBounds();
718 
722  void SetCommonAxisAttributes(vtkAxisActor*);
723 
727  void SetPolarAxisAttributes(vtkAxisActor*);
728 
732  void CreateRadialAxes(int axisCount);
733 
737  void BuildRadialAxes();
738 
745  void AutoComputeTicksProperties();
746 
750  double ComputeIdealStep(int subDivsRequired, double rangeLength, int maxSubDivs = 1000);
751 
755  void BuildArcTicks();
756 
761  void StoreTicksPtsFromParamEllipse(
762  double a, double angleEllipseRad, double tickSize, vtkPoints* tickPts);
763 
767  void BuildPolarAxisLabelsArcs();
768 
772  void BuildPolarAxisLabelsArcsLog();
773 
777  void BuildLabelsLog();
778 
779  void BuildPolarArcsLog();
780 
784  std::string FindExponentAndAdjustValues(std::list<double>& valuesList);
785 
789  void GetSignificantPartFromValues(vtkStringArray* valuesStr, std::list<double>& valuesList);
790 
792 
795  double FFix(double);
796  double FSign(double, double);
798 
803  void AutoScale(vtkViewport* viewport);
804 
809  static double ComputeEllipseAngle(double angleInDegrees, double ratio);
810 
814  virtual void ComputeDeltaAngleRadialAxes(vtkIdType);
819  double Pole[3];
820 
825 
830 
836 
840  double Ratio;
841 
845  double Range[2];
846 
851 
856 
861 
866 
871 
877 
883 
888  bool Log;
889 
894 
899  double MinimumAngle;
900 
905  double MaximumAngle;
906 
911 
912  // Structures for principal polar arc
916 
918 
925 
930 
935 
940 
942 
949 
954 
960 
966 
972 
978 
984 
986 
993 
1002 
1007 
1015 
1023 
1027  vtkTypeBool AxisTickVisibility, AxisMinorTickVisibility;
1028 
1032  vtkTypeBool ArcTickVisibility, ArcMinorTickVisibility;
1033 
1037  double PolarAxisMajorTickSize, LastRadialAxisMajorTickSize, ArcMajorTickSize;
1038 
1042  double PolarAxisTickRatioSize, LastAxisTickRatioSize, ArcTickRatioSize;
1043 
1047  double PolarAxisMajorTickThickness, LastRadialAxisMajorTickThickness, ArcMajorTickThickness;
1048 
1052  double PolarAxisTickRatioThickness, LastAxisTickRatioThickness, ArcTickRatioThickness;
1053 
1055 
1061 
1066 
1071 
1077 
1082 
1087 
1092 
1097 
1102 
1104 
1114 
1116 
1122 
1127 
1132 
1138 
1143 
1148 
1150 
1154  double TitleScale;
1155 
1159  double LabelScale;
1160 
1164  double ScreenSize;
1165 
1166 private:
1167  vtkPolarAxesActor(const vtkPolarAxesActor&) = delete;
1168  void operator=(const vtkPolarAxesActor&) = delete;
1169 };
1170 
1171 #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:51
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:55
represent surface properties of a geometric object
Definition: vtkProperty.h:67
virtual int RenderOverlay(vtkViewport *)
Definition: vtkProp.h:227
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:35
Create an axis with tick marks and labels.
Definition: vtkAxisActor.h:74
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:332
vtkTypeBool RadialAxesVisibility
Visibility of radial axes and their titles.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:90
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:38
vtkProperty * PolarAxisProperty
General properties of polar axis Behavior may be override by polar axis ticks 's actor property...
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 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:39
int RequestedNumberOfRadialAxes
Requested Number of radial axes.
a virtual camera for 3D rendering
Definition: vtkCamera.h:51
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'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.
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:39
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 -