VTK
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 =========================================================================*/
39 #ifndef vtkPolarAxesActor_h
40 #define vtkPolarAxesActor_h
41 
42 #define VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES 50
43 #define VTK_DEFAULT_NUMBER_OF_RADIAL_AXES 5
44 #define VTK_MAXIMUM_NUMBER_OF_POLAR_AXIS_TICKS 200
45 #define VTK_MAXIMUM_RATIO 1000.0
46 #define VTK_POLAR_ARC_RESOLUTION_PER_DEG 0.2
47 
48 #include "vtkActor.h"
49 #include "vtkAxisActor.h" // access to enum values
50 #include "vtkRenderingAnnotationModule.h" // For export macro
51 #include <list> // To process exponent list as reference
52 
53 class vtkCamera;
54 class vtkPolyData;
55 class vtkPolyDataMapper;
56 class vtkProperty;
57 class vtkStringArray;
58 class vtkTextProperty;
59 
60 class VTKRENDERINGANNOTATION_EXPORT vtkPolarAxesActor : public vtkActor
61 {
62 public:
63  vtkTypeMacro(vtkPolarAxesActor, vtkActor);
64  void PrintSelf(ostream& os, vtkIndent indent) override;
65 
70  static vtkPolarAxesActor* New();
71 
73 
76  int RenderOpaqueGeometry(vtkViewport*) override;
77  int RenderOverlay(vtkViewport*) override;
78  int RenderTranslucentPolygonalGeometry(vtkViewport*) override { return 0; };
80 
82 
85  virtual void SetPole(double[3]);
86  virtual void SetPole(double, double, double);
87  vtkGetVector3Macro(Pole, double);
89 
91 
95  vtkSetMacro(Log, bool);
96  vtkGetMacro(Log, bool);
97  vtkBooleanMacro(Log, bool);
99 
101 
104  vtkSetClampMacro(RequestedNumberOfRadialAxes, vtkIdType, 0, VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES);
105  vtkGetMacro(RequestedNumberOfRadialAxes, vtkIdType);
107 
109 
113  virtual void SetNumberOfPolarAxisTicks(int);
114  int GetNumberOfPolarAxisTicks();
116 
118 
122  vtkSetMacro(AutoSubdividePolarAxis, bool);
123  vtkGetMacro(AutoSubdividePolarAxis, bool);
124  vtkBooleanMacro(AutoSubdividePolarAxis, bool);
126 
128 
131  vtkSetVector2Macro(Range, double);
132  vtkGetVectorMacro(Range, double, 2);
134 
136 
139  virtual void SetMinimumRadius(double);
140  vtkGetMacro(MinimumRadius, double);
142 
144 
147  virtual void SetMaximumRadius(double);
148  vtkGetMacro(MaximumRadius, double);
150 
152 
155  virtual void SetMinimumAngle(double);
156  vtkGetMacro(MinimumAngle, double);
158 
160 
163  virtual void SetMaximumAngle(double);
164  vtkGetMacro(MaximumAngle, double);
166 
168 
173  vtkSetClampMacro(SmallestVisiblePolarAngle, double, 0., 5.);
174  vtkGetMacro(SmallestVisiblePolarAngle, double);
176 
178 
183  vtkSetClampMacro(TickLocation, int, vtkAxisActor::VTK_TICKS_INSIDE, vtkAxisActor::VTK_TICKS_BOTH);
184  vtkGetMacro(TickLocation, int);
186 
188 
191  vtkSetMacro(RadialUnits, bool);
192  vtkGetMacro(RadialUnits, bool);
194 
196 
202  vtkSetMacro(ScreenSize, double);
203  vtkGetMacro(ScreenSize, double);
205 
207 
211  virtual void SetCamera(vtkCamera*);
212  vtkGetObjectMacro(Camera, vtkCamera);
214 
216 
220  vtkSetStringMacro(PolarAxisTitle);
221  vtkGetStringMacro(PolarAxisTitle);
223 
225 
228  vtkSetStringMacro(PolarLabelFormat);
229  vtkGetStringMacro(PolarLabelFormat);
231 
233  {
234  VTK_EXPONENT_BOTTOM = 0,
235  VTK_EXPONENT_EXTERN = 1,
236  VTK_EXPONENT_LABELS = 2
237  };
238 
240 
245  vtkSetClampMacro(ExponentLocation, int, VTK_EXPONENT_BOTTOM, VTK_EXPONENT_LABELS);
246  vtkGetMacro(ExponentLocation, int);
248 
250 
253  vtkSetStringMacro(RadialAngleFormat);
254  vtkGetStringMacro(RadialAngleFormat);
256 
262  void ReleaseGraphicsResources(vtkWindow*) override;
263 
265 
268  vtkSetMacro(EnableDistanceLOD, int);
269  vtkGetMacro(EnableDistanceLOD, int);
271 
273 
276  vtkSetClampMacro(DistanceLODThreshold, double, 0.0, 1.0);
277  vtkGetMacro(DistanceLODThreshold, double);
279 
281 
284  vtkSetMacro(EnableViewAngleLOD, int);
285  vtkGetMacro(EnableViewAngleLOD, int);
287 
289 
292  vtkSetClampMacro(ViewAngleLODThreshold, double, 0., 1.);
293  vtkGetMacro(ViewAngleLODThreshold, double);
295 
297 
300  vtkSetMacro(PolarAxisVisibility, vtkTypeBool);
301  vtkGetMacro(PolarAxisVisibility, vtkTypeBool);
302  vtkBooleanMacro(PolarAxisVisibility, vtkTypeBool);
304 
306 
309  vtkSetMacro(DrawRadialGridlines, vtkTypeBool);
310  vtkGetMacro(DrawRadialGridlines, vtkTypeBool);
311  vtkBooleanMacro(DrawRadialGridlines, vtkTypeBool);
313 
315 
318  vtkSetMacro(DrawPolarArcsGridlines, vtkTypeBool);
319  vtkGetMacro(DrawPolarArcsGridlines, vtkTypeBool);
320  vtkBooleanMacro(DrawPolarArcsGridlines, vtkTypeBool);
322 
324 
327  vtkSetMacro(PolarTitleVisibility, vtkTypeBool);
328  vtkGetMacro(PolarTitleVisibility, vtkTypeBool);
329  vtkBooleanMacro(PolarTitleVisibility, vtkTypeBool);
331 
333  {
334  VTK_TITLE_BOTTOM = 0,
335  VTK_TITLE_EXTERN = 1
336  };
337 
339 
343  vtkSetClampMacro(RadialAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
344  vtkGetMacro(RadialAxisTitleLocation, int);
346 
348 
352  vtkSetClampMacro(PolarAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
353  vtkGetMacro(PolarAxisTitleLocation, int);
355 
357 
360  vtkSetMacro(PolarLabelVisibility, vtkTypeBool);
361  vtkGetMacro(PolarLabelVisibility, vtkTypeBool);
362  vtkBooleanMacro(PolarLabelVisibility, vtkTypeBool);
364 
366 
372  vtkSetMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
373  vtkGetMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
374  vtkBooleanMacro(ArcTicksOriginToPolarAxis, vtkTypeBool);
376 
378 
384  vtkSetMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
385  vtkGetMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
386  vtkBooleanMacro(RadialAxesOriginToPolarAxis, vtkTypeBool);
388 
390 
393  vtkSetMacro(PolarTickVisibility, vtkTypeBool);
394  vtkGetMacro(PolarTickVisibility, vtkTypeBool);
395  vtkBooleanMacro(PolarTickVisibility, vtkTypeBool);
397 
399 
402  vtkSetMacro(AxisTickVisibility, vtkTypeBool);
403  vtkGetMacro(AxisTickVisibility, vtkTypeBool);
404  vtkBooleanMacro(AxisTickVisibility, vtkTypeBool);
406 
408 
411  vtkSetMacro(AxisMinorTickVisibility, vtkTypeBool);
412  vtkGetMacro(AxisMinorTickVisibility, vtkTypeBool);
413  vtkBooleanMacro(AxisMinorTickVisibility, vtkTypeBool);
415 
417 
420  vtkSetMacro(ArcTickVisibility, vtkTypeBool);
421  vtkGetMacro(ArcTickVisibility, vtkTypeBool);
422  vtkBooleanMacro(ArcTickVisibility, vtkTypeBool);
424 
426 
429  vtkSetMacro(ArcMinorTickVisibility, vtkTypeBool);
430  vtkGetMacro(ArcMinorTickVisibility, vtkTypeBool);
431  vtkBooleanMacro(ArcMinorTickVisibility, vtkTypeBool);
433 
435 
438  vtkSetMacro(ArcMajorTickSize, double);
439  vtkGetMacro(ArcMajorTickSize, double);
441 
443 
446  vtkSetMacro(PolarAxisMajorTickSize, double);
447  vtkGetMacro(PolarAxisMajorTickSize, double);
449 
451 
454  vtkSetMacro(LastRadialAxisMajorTickSize, double);
455  vtkGetMacro(LastRadialAxisMajorTickSize, double);
457 
459 
462  vtkSetMacro(PolarAxisTickRatioSize, double);
463  vtkGetMacro(PolarAxisTickRatioSize, double);
465 
467 
470  vtkSetMacro(LastAxisTickRatioSize, double);
471  vtkGetMacro(LastAxisTickRatioSize, double);
473 
475 
478  vtkSetMacro(ArcTickRatioSize, double);
479  vtkGetMacro(ArcTickRatioSize, double);
481 
483 
486  vtkSetMacro(PolarAxisMajorTickThickness, double);
487  vtkGetMacro(PolarAxisMajorTickThickness, double);
489 
491 
494  vtkSetMacro(LastRadialAxisMajorTickThickness, double);
495  vtkGetMacro(LastRadialAxisMajorTickThickness, double);
497 
499 
502  vtkSetMacro(ArcMajorTickThickness, double);
503  vtkGetMacro(ArcMajorTickThickness, double);
505 
507 
510  vtkSetMacro(PolarAxisTickRatioThickness, double);
511  vtkGetMacro(PolarAxisTickRatioThickness, double);
513 
515 
518  vtkSetMacro(LastAxisTickRatioThickness, double);
519  vtkGetMacro(LastAxisTickRatioThickness, double);
521 
523 
526  vtkSetMacro(ArcTickRatioThickness, double);
527  vtkGetMacro(ArcTickRatioThickness, double);
529 
531 
534  vtkSetMacro(DeltaRangeMajor, double);
535  vtkGetMacro(DeltaRangeMajor, double);
537 
539 
542  vtkSetMacro(DeltaRangeMinor, double);
543  vtkGetMacro(DeltaRangeMinor, double);
545 
547 
550  vtkSetMacro(DeltaAngleMajor, double);
551  vtkGetMacro(DeltaAngleMajor, double);
553 
555 
558  vtkSetMacro(DeltaAngleMinor, double);
559  vtkGetMacro(DeltaAngleMinor, double);
561 
563 
566  vtkSetMacro(DeltaAngleRadialAxes, double);
567  vtkGetMacro(DeltaAngleRadialAxes, double);
569 
570  //------------------------------------------------
571 
573 
576  vtkSetMacro(RadialAxesVisibility, vtkTypeBool);
577  vtkGetMacro(RadialAxesVisibility, vtkTypeBool);
578  vtkBooleanMacro(RadialAxesVisibility, vtkTypeBool);
580 
582 
585  vtkSetMacro(RadialTitleVisibility, vtkTypeBool);
586  vtkGetMacro(RadialTitleVisibility, vtkTypeBool);
587  vtkBooleanMacro(RadialTitleVisibility, vtkTypeBool);
589 
591 
594  vtkSetMacro(PolarArcsVisibility, vtkTypeBool);
595  vtkGetMacro(PolarArcsVisibility, vtkTypeBool);
596  vtkBooleanMacro(PolarArcsVisibility, vtkTypeBool);
598 
600 
603  void SetUse2DMode(int val);
604  int GetUse2DMode();
606 
608 
611  virtual void SetPolarAxisTitleTextProperty(vtkTextProperty* p);
612  vtkGetObjectMacro(PolarAxisTitleTextProperty, vtkTextProperty);
614 
616 
619  virtual void SetPolarAxisLabelTextProperty(vtkTextProperty* p);
620  vtkGetObjectMacro(PolarAxisLabelTextProperty, vtkTextProperty);
622 
624 
627  virtual void SetLastRadialAxisTextProperty(vtkTextProperty* p);
628  vtkGetObjectMacro(LastRadialAxisTextProperty, vtkTextProperty);
630 
632 
635  virtual void SetSecondaryRadialAxesTextProperty(vtkTextProperty* p);
636  vtkGetObjectMacro(SecondaryRadialAxesTextProperty, vtkTextProperty);
638 
640 
643  virtual void SetPolarAxisProperty(vtkProperty*);
644  vtkGetObjectMacro(PolarAxisProperty, vtkProperty);
646 
648 
651  virtual void SetLastRadialAxisProperty(vtkProperty* p);
652  vtkGetObjectMacro(LastRadialAxisProperty, vtkProperty);
654 
656 
659  virtual void SetSecondaryRadialAxesProperty(vtkProperty* p);
660  vtkGetObjectMacro(SecondaryRadialAxesProperty, vtkProperty);
662 
664 
667  virtual void SetPolarArcsProperty(vtkProperty* p);
668  vtkProperty* GetPolarArcsProperty();
670 
672 
675  virtual void SetSecondaryPolarArcsProperty(vtkProperty* p);
676  vtkProperty* GetSecondaryPolarArcsProperty();
678 
680 
686  vtkSetVector6Macro(Bounds, double);
687  double* GetBounds() override;
688  void GetBounds(
689  double& xmin, double& xmax, double& ymin, double& ymax, double& zmin, double& zmax);
690  void GetBounds(double bounds[6]);
692 
694 
697  vtkSetClampMacro(Ratio, double, 0.001, 100.0);
698  vtkGetMacro(Ratio, double);
700 
701 protected:
703  ~vtkPolarAxesActor() override;
704 
708  bool CheckMembersConsistency();
709 
714  void BuildAxes(vtkViewport*);
715 
719  void CalculateBounds();
720 
724  void SetCommonAxisAttributes(vtkAxisActor*);
725 
729  void SetPolarAxisAttributes(vtkAxisActor*);
730 
734  void CreateRadialAxes(int axisCount);
735 
739  void BuildRadialAxes();
740 
747  void AutoComputeTicksProperties();
748 
752  double ComputeIdealStep(int subDivsRequired, double rangeLength, int maxSubDivs = 1000);
753 
757  void BuildArcTicks();
758 
763  void StoreTicksPtsFromParamEllipse(
764  double a, double angleEllipseRad, double tickSize, vtkPoints* tickPts);
765 
769  void BuildPolarAxisLabelsArcs();
770 
774  void BuildPolarAxisLabelsArcsLog();
775 
779  void BuildLabelsLog();
780 
781  void BuildPolarArcsLog();
782 
786  std::string FindExponentAndAdjustValues(std::list<double>& valuesList);
787 
791  void GetSignificantPartFromValues(vtkStringArray* valuesStr, std::list<double>& valuesList);
792 
794 
797  double FFix(double);
798  double FSign(double, double);
800 
805  void AutoScale(vtkViewport* viewport);
806 
811  static double ComputeEllipseAngle(double angleInDegrees, double ratio);
812 
816  virtual void ComputeDeltaAngleRadialAxes(vtkIdType);
821  double Pole[3];
822 
827 
832 
838 
842  double Ratio;
843 
847  double Range[2];
848 
853 
858 
863 
868 
873 
879 
885 
890  bool Log;
891 
896 
901  double MinimumAngle;
902 
907  double MaximumAngle;
908 
913 
914  // Structures for principal polar arc
918 
920 
927 
932 
937 
942 
944 
951 
956 
962 
968 
974 
980 
986 
988 
995 
1004 
1009 
1017 
1025 
1029  vtkTypeBool AxisTickVisibility, AxisMinorTickVisibility;
1030 
1034  vtkTypeBool ArcTickVisibility, ArcMinorTickVisibility;
1035 
1039  double PolarAxisMajorTickSize, LastRadialAxisMajorTickSize, ArcMajorTickSize;
1040 
1044  double PolarAxisTickRatioSize, LastAxisTickRatioSize, ArcTickRatioSize;
1045 
1049  double PolarAxisMajorTickThickness, LastRadialAxisMajorTickThickness, ArcMajorTickThickness;
1050 
1054  double PolarAxisTickRatioThickness, LastAxisTickRatioThickness, ArcTickRatioThickness;
1055 
1057 
1063 
1068 
1073 
1079 
1084 
1089 
1094 
1099 
1104 
1106 
1116 
1118 
1124 
1129 
1134 
1140 
1145 
1150 
1152 
1156  double TitleScale;
1157 
1161  double LabelScale;
1162 
1166  double ScreenSize;
1167 
1168 private:
1169  vtkPolarAxesActor(const vtkPolarAxesActor&) = delete;
1170  void operator=(const vtkPolarAxesActor&) = delete;
1171 };
1172 
1173 #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:47
represent surface properties of a geometric object
Definition: vtkProperty.h:66
virtual int RenderOverlay(vtkViewport *)
Definition: vtkProp.h:230
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:347
vtkTypeBool RadialAxesVisibility
Visibility of radial axes and their titles.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
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:39
int RequestedNumberOfRadialAxes
Requested Number of radial axes.
a virtual camera for 3D rendering
Definition: vtkCamera.h:50
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.
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 -