VTK  9.3.0
vtkPolarAxesActor.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
33#ifndef vtkPolarAxesActor_h
34#define vtkPolarAxesActor_h
35
36#include "vtkActor.h"
37#include "vtkAxisActor.h" // access to enum values
38#include "vtkDeprecation.h" // For deprecation macro
39#include "vtkNew.h" // used for vtkNew
40#include "vtkRenderingAnnotationModule.h" // For export macro
41#include "vtkSmartPointer.h" // used for vtkSmartPointer
42#include <list> // To process exponent list as reference
43#include <string> // used for ivar
44
45VTK_ABI_NAMESPACE_BEGIN
46class vtkCamera;
47class vtkPolyData;
49class vtkProperty;
50class vtkStringArray;
51class vtkTextProperty;
52
53class VTKRENDERINGANNOTATION_EXPORT vtkPolarAxesActor : public vtkActor
54{
55public:
57 void PrintSelf(ostream& os, vtkIndent indent) override;
58
64
66
70 int RenderOverlay(vtkViewport*) override;
73
75
78 virtual void SetPole(double[3]);
79 virtual void SetPole(double, double, double);
80 vtkGetVector3Macro(Pole, double);
82
84
88 vtkSetMacro(Log, bool);
89 vtkGetMacro(Log, bool);
90 vtkBooleanMacro(Log, bool);
92
94
98 vtkSetClampMacro(RequestedNumberOfRadialAxes, vtkIdType, 0, VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES);
99 vtkGetMacro(RequestedNumberOfRadialAxes, vtkIdType);
101
103
107 vtkSetClampMacro(RequestedNumberOfPolarAxes, vtkIdType, 0, VTK_MAXIMUM_NUMBER_OF_POLAR_AXES);
108 vtkGetMacro(RequestedNumberOfPolarAxes, vtkIdType);
110
112
116 VTK_DEPRECATED_IN_9_3_0("Use SetDeltaRangeMajor instead or enable AxisTickMatchesPolarAxes")
117 vtkSetMacro(AutoSubdividePolarAxis, bool);
118 VTK_DEPRECATED_IN_9_3_0("Use SetDeltaRangeMajor instead or enable AxisTickMatchesPolarAxes")
119 vtkGetMacro(AutoSubdividePolarAxis, bool);
120 void AutoSubdividePolarAxisOn();
121 void AutoSubdividePolarAxisOff();
123
125
129 VTK_DEPRECATED_IN_9_3_0("Use SetDeltaRangeMajor instead or enable AxisTickMatchesPolarAxes")
130 virtual void SetNumberOfPolarAxisTicks(int);
131 int GetNumberOfPolarAxisTicks();
133
135
139 vtkSetVector2Macro(Range, double);
140 vtkGetVectorMacro(Range, double, 2);
142
144
148 virtual void SetMinimumRadius(double);
149 vtkGetMacro(MinimumRadius, double);
151
153
157 virtual void SetMaximumRadius(double);
158 vtkGetMacro(MaximumRadius, double);
160
162
166 virtual void SetMinimumAngle(double);
167 vtkGetMacro(MinimumAngle, double);
169
171
175 virtual void SetMaximumAngle(double);
176 vtkGetMacro(MaximumAngle, double);
178
180
185 vtkSetClampMacro(SmallestVisiblePolarAngle, double, 0., 5.);
186 vtkGetMacro(SmallestVisiblePolarAngle, double);
188
190
196 vtkSetClampMacro(TickLocation, int, vtkAxisActor::VTK_TICKS_INSIDE, vtkAxisActor::VTK_TICKS_BOTH);
197 vtkGetMacro(TickLocation, int);
199
201
204 vtkSetMacro(RadialUnits, bool);
205 vtkGetMacro(RadialUnits, bool);
207
209
215 vtkSetMacro(ScreenSize, double);
216 vtkGetMacro(ScreenSize, double);
218
220
225 vtkSetVector2Macro(PolarTitleOffset, double);
226 vtkGetVectorMacro(PolarTitleOffset, double, 2);
228
230
235 vtkSetVector2Macro(RadialTitleOffset, double);
236 vtkGetVectorMacro(RadialTitleOffset, double, 2);
238
240
244 vtkGetMacro(PolarLabelOffset, double);
245 vtkSetMacro(PolarLabelOffset, double);
247
249
253 vtkGetMacro(PolarExponentOffset, double);
254 vtkSetMacro(PolarExponentOffset, double);
256
258
262 virtual void SetCamera(vtkCamera*);
263 vtkCamera* GetCamera();
265
267
271 vtkSetStringMacro(PolarAxisTitle);
272 vtkGetStringMacro(PolarAxisTitle);
274
276
279 vtkSetStringMacro(PolarLabelFormat);
280 vtkGetStringMacro(PolarLabelFormat);
282
284 {
285 VTK_EXPONENT_BOTTOM = 0,
286 VTK_EXPONENT_EXTERN = 1,
287 VTK_EXPONENT_LABELS = 2
288 };
289
291
296 vtkSetClampMacro(ExponentLocation, int, VTK_EXPONENT_BOTTOM, VTK_EXPONENT_LABELS);
297 vtkGetMacro(ExponentLocation, int);
299
301
304 vtkSetStringMacro(RadialAngleFormat);
305 vtkGetStringMacro(RadialAngleFormat);
307
314
316
320 vtkSetMacro(EnableDistanceLOD, bool);
321 vtkGetMacro(EnableDistanceLOD, bool);
323
325
329 vtkSetClampMacro(DistanceLODThreshold, double, 0.0, 1.0);
330 vtkGetMacro(DistanceLODThreshold, double);
332
334
338 vtkSetMacro(EnableViewAngleLOD, bool);
339 vtkGetMacro(EnableViewAngleLOD, bool);
341
343
347 vtkSetClampMacro(ViewAngleLODThreshold, double, 0., 1.);
348 vtkGetMacro(ViewAngleLODThreshold, double);
350
352
356 vtkSetMacro(PolarAxisVisibility, bool);
357 vtkGetMacro(PolarAxisVisibility, bool);
358 vtkBooleanMacro(PolarAxisVisibility, bool);
360
362
366 vtkSetMacro(DrawRadialGridlines, bool);
367 vtkGetMacro(DrawRadialGridlines, bool);
368 vtkBooleanMacro(DrawRadialGridlines, bool);
370
372
376 vtkSetMacro(DrawPolarArcsGridlines, bool);
377 vtkGetMacro(DrawPolarArcsGridlines, bool);
378 vtkBooleanMacro(DrawPolarArcsGridlines, bool);
380
382
386 vtkSetMacro(PolarTitleVisibility, bool);
387 vtkGetMacro(PolarTitleVisibility, bool);
388 vtkBooleanMacro(PolarTitleVisibility, bool);
390
392 {
393 VTK_TITLE_BOTTOM = 0,
394 VTK_TITLE_EXTERN = 1
395 };
396
398
403 vtkSetClampMacro(RadialAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
404 vtkGetMacro(RadialAxisTitleLocation, int);
406
408
413 vtkSetClampMacro(PolarAxisTitleLocation, int, VTK_TITLE_BOTTOM, VTK_TITLE_EXTERN);
414 vtkGetMacro(PolarAxisTitleLocation, int);
416
418
422 vtkSetMacro(PolarLabelVisibility, bool);
423 vtkGetMacro(PolarLabelVisibility, bool);
424 vtkBooleanMacro(PolarLabelVisibility, bool);
426
428
434 vtkSetMacro(ArcTicksOriginToPolarAxis, bool);
435 vtkGetMacro(ArcTicksOriginToPolarAxis, bool);
436 vtkBooleanMacro(ArcTicksOriginToPolarAxis, bool);
438
440
446 vtkSetMacro(RadialAxesOriginToPolarAxis, bool);
447 vtkGetMacro(RadialAxesOriginToPolarAxis, bool);
448 vtkBooleanMacro(RadialAxesOriginToPolarAxis, bool);
450
452
456 vtkSetMacro(PolarTickVisibility, bool);
457 vtkGetMacro(PolarTickVisibility, bool);
458 vtkBooleanMacro(PolarTickVisibility, bool);
460
462
466 vtkSetMacro(AxisTickVisibility, bool);
467 vtkGetMacro(AxisTickVisibility, bool);
468 vtkBooleanMacro(AxisTickVisibility, bool);
470
472
476 vtkSetMacro(AxisMinorTickVisibility, bool);
477 vtkGetMacro(AxisMinorTickVisibility, bool);
478 vtkBooleanMacro(AxisMinorTickVisibility, bool);
480
482
486 vtkSetMacro(AxisTickMatchesPolarAxes, bool);
487 vtkGetMacro(AxisTickMatchesPolarAxes, bool);
488 vtkBooleanMacro(AxisTickMatchesPolarAxes, bool);
490
492
496 vtkSetMacro(ArcTickVisibility, bool);
497 vtkGetMacro(ArcTickVisibility, bool);
498 vtkBooleanMacro(ArcTickVisibility, bool);
500
502
506 vtkSetMacro(ArcMinorTickVisibility, bool);
507 vtkGetMacro(ArcMinorTickVisibility, bool);
508 vtkBooleanMacro(ArcMinorTickVisibility, bool);
510
512
516 vtkSetMacro(ArcTickMatchesRadialAxes, bool);
517 vtkGetMacro(ArcTickMatchesRadialAxes, bool);
518 vtkBooleanMacro(ArcTickMatchesRadialAxes, bool);
520
522
527 vtkSetMacro(ArcMajorTickSize, double);
528 vtkGetMacro(ArcMajorTickSize, double);
530
532
537 vtkSetMacro(PolarAxisMajorTickSize, double);
538 vtkGetMacro(PolarAxisMajorTickSize, double);
540
542
547 vtkSetMacro(LastRadialAxisMajorTickSize, double);
548 vtkGetMacro(LastRadialAxisMajorTickSize, double);
550
552
556 vtkSetMacro(PolarAxisTickRatioSize, double);
557 vtkGetMacro(PolarAxisTickRatioSize, double);
559
561
565 vtkSetMacro(LastAxisTickRatioSize, double);
566 vtkGetMacro(LastAxisTickRatioSize, double);
568
570
574 vtkSetMacro(ArcTickRatioSize, double);
575 vtkGetMacro(ArcTickRatioSize, double);
577
579
583 vtkSetMacro(TickRatioRadiusSize, double);
584 vtkGetMacro(TickRatioRadiusSize, double);
586
588
592 vtkSetMacro(PolarAxisMajorTickThickness, double);
593 vtkGetMacro(PolarAxisMajorTickThickness, double);
595
597
601 vtkSetMacro(LastRadialAxisMajorTickThickness, double);
602 vtkGetMacro(LastRadialAxisMajorTickThickness, double);
604
606
610 vtkSetMacro(ArcMajorTickThickness, double);
611 vtkGetMacro(ArcMajorTickThickness, double);
613
615
619 vtkSetMacro(PolarAxisTickRatioThickness, double);
620 vtkGetMacro(PolarAxisTickRatioThickness, double);
622
624
628 vtkSetMacro(LastAxisTickRatioThickness, double);
629 vtkGetMacro(LastAxisTickRatioThickness, double);
631
633
637 vtkSetMacro(ArcTickRatioThickness, double);
638 vtkGetMacro(ArcTickRatioThickness, double);
640
642
646 vtkSetMacro(DeltaRangeMajor, double);
647 vtkGetMacro(DeltaRangeMajor, double);
649
651
655 vtkSetMacro(DeltaRangeMinor, double);
656 vtkGetMacro(DeltaRangeMinor, double);
658
660
665 vtkSetMacro(RequestedDeltaRangePolarAxes, double);
666 vtkGetMacro(RequestedDeltaRangePolarAxes, double);
668
670
674 vtkSetMacro(DeltaAngleMajor, double);
675 vtkGetMacro(DeltaAngleMajor, double);
677
679
683 vtkSetMacro(DeltaAngleMinor, double);
684 vtkGetMacro(DeltaAngleMinor, double);
686
688
693 vtkSetMacro(RequestedDeltaAngleRadialAxes, double);
694 vtkGetMacro(RequestedDeltaAngleRadialAxes, double);
696
697 //------------------------------------------------
698
700
704 vtkSetMacro(RadialAxesVisibility, bool);
705 vtkGetMacro(RadialAxesVisibility, bool);
706 vtkBooleanMacro(RadialAxesVisibility, bool);
708
710
714 vtkSetMacro(RadialTitleVisibility, bool);
715 vtkGetMacro(RadialTitleVisibility, bool);
716 vtkBooleanMacro(RadialTitleVisibility, bool);
718
720
724 vtkSetMacro(PolarArcsVisibility, bool);
725 vtkGetMacro(PolarArcsVisibility, bool);
726 vtkBooleanMacro(PolarArcsVisibility, bool);
728
730
733 void SetUse2DMode(bool enable);
736
738
744
746
752
754
760
762
768
770
776
778
784
786
792
794
800
802
808
810
817 vtkSetVector6Macro(Bounds, double);
818 double* GetBounds() override;
820 double& xmin, double& xmax, double& ymin, double& ymax, double& zmin, double& zmax);
821 void GetBounds(double bounds[6]);
823
825
829 vtkSetClampMacro(Ratio, double, 0.001, 100.0);
830 vtkGetMacro(Ratio, double);
832
834
838 vtkSetClampMacro(PolarArcResolutionPerDegree, double, VTK_MINIMUM_POLAR_ARC_RESOLUTION_PER_DEG,
839 VTK_MAXIMUM_POLAR_ARC_RESOLUTION_PER_DEG);
840 vtkGetMacro(PolarArcResolutionPerDegree, double);
842
843protected:
846
851
857
862
867
872
876 void CreateRadialAxes(int axisCount);
877
883 void BuildRadialAxes(vtkViewport* viewport = nullptr);
884
891 VTK_DEPRECATED_IN_9_3_0("Use SetDeltaRangeMajor instead or enable AxisTickMatchesPolarAxes")
892 void AutoComputeTicksProperties();
893
897 double ComputeIdealStep(int subDivsRequired, double rangeLength, int maxSubDivs = 1000);
898
902 void BuildArcTicks();
903
908 void StoreTicksPtsFromParamEllipse(
909 double a, double angleEllipseRad, double tickSize, vtkPoints* tickPts);
910
914 void BuildPolarAxisLabelsArcs();
915
919 void BuildPolarAxisLabelsArcsLog();
920
924 void BuildLabelsLog();
925
926 void BuildPolarArcsLog();
927
931 std::string FindExponentAndAdjustValues(std::list<double>& valuesList);
932
936 void GetSignificantPartFromValues(vtkStringArray* valuesStr, std::list<double>& valuesList);
937
939
942 double FFix(double);
943 double FSign(double, double);
945
950 void AutoScale(vtkViewport* viewport);
951
956 static double ComputeEllipseAngle(double angleInDegrees, double ratio);
957
961 virtual void ComputeDeltaRangePolarAxes(vtkIdType);
962
966 virtual void ComputeDeltaAngleRadialAxes(vtkIdType);
970 double Pole[3] = { 0.0, 0.0, 0.0 };
971
975 int NumberOfRadialAxes = 0;
976
981 int RequestedNumberOfRadialAxes = 0;
982
986 int NumberOfPolarAxes = 5;
987
992 int RequestedNumberOfPolarAxes = 5;
993
997 double Ratio = 1.0;
998
1002 double PolarArcResolutionPerDegree = 0.2;
1003
1007 double Range[2] = { 0.0, 10.0 };
1008
1012 double DeltaRangeMinor = 0.5;
1013
1017 double DeltaRangeMajor = 1.0;
1018
1022 bool AutoSubdividePolarAxis = false;
1023
1027 double DeltaRangePolarAxes = 0.0;
1028
1033 double RequestedDeltaRangePolarAxes = 0.0;
1034
1038 double DeltaAngleMinor = 22.5;
1039
1043 double DeltaAngleMajor = 45.0;
1044
1048 double DeltaAngleRadialAxes = 45.0;
1049
1054 double RequestedDeltaAngleRadialAxes = 45.0;
1055
1059 double MinimumRadius = 0.0;
1060
1064 double MaximumRadius = 1.0;
1065
1069 bool Log = false;
1070
1074 double MinimumAngle = 0.0;
1075
1079 double MaximumAngle = 90.0;
1080
1084 double SmallestVisiblePolarAngle = 0.5;
1085
1086 // Structures for principal polar arc
1090
1092
1099
1104
1109
1113 vtkSmartPointer<vtkAxisActor>* RadialAxes = nullptr;
1114
1116
1120 char* PolarAxisTitle = nullptr;
1121 char* PolarLabelFormat = nullptr;
1123
1127 char* RadialAngleFormat = nullptr;
1128
1132 bool RadialUnits = true;
1133
1137 bool EnableDistanceLOD = true;
1138
1142 double DistanceLODThreshold = 0.7;
1143
1147 bool EnableViewAngleLOD = true;
1148
1153 double ViewAngleLODThreshold = 0.3;
1154
1156
1159 bool PolarAxisVisibility = true;
1160 bool PolarTitleVisibility = true;
1161 bool PolarLabelVisibility = true;
1163
1172
1176 bool PolarTickVisibility = true;
1177
1184 bool ArcTicksOriginToPolarAxis = true;
1185
1192 bool RadialAxesOriginToPolarAxis = true;
1193
1197 bool AxisTickVisibility = true, AxisMinorTickVisibility = false;
1198
1202 bool AxisTickMatchesPolarAxes = true;
1203
1207 bool ArcTickVisibility = true, ArcMinorTickVisibility = false;
1208
1212 bool ArcTickMatchesRadialAxes = true;
1213
1217 double PolarAxisMajorTickSize = 0.0, LastRadialAxisMajorTickSize = 0.0, ArcMajorTickSize = 0.0;
1218
1222 double PolarAxisTickRatioSize = 0.3, LastAxisTickRatioSize = 0.3, ArcTickRatioSize = 0.3;
1223
1227 double TickRatioRadiusSize = 0.02;
1228
1232 double PolarAxisMajorTickThickness = 1.0, LastRadialAxisMajorTickThickness = 1.0,
1233 ArcMajorTickThickness = 1.0;
1234
1238 double PolarAxisTickRatioThickness = 0.5, LastAxisTickRatioThickness = 0.5,
1239 ArcTickRatioThickness = 0.5;
1240
1242
1245 bool RadialAxesVisibility = true;
1246 bool RadialTitleVisibility = true;
1248
1252 int RadialAxisTitleLocation = VTK_TITLE_BOTTOM;
1253
1257 int PolarAxisTitleLocation = VTK_TITLE_BOTTOM;
1258
1263 int ExponentLocation = VTK_EXPONENT_LABELS;
1264
1268 bool PolarArcsVisibility = true;
1269
1273 bool DrawRadialGridlines = true;
1274
1278 bool DrawPolarArcsGridlines = true;
1279
1284
1289
1291
1301
1303
1309
1314
1319
1325
1330
1335
1337
1341 double TitleScale = -1.0;
1342
1346 double LabelScale = -1.0;
1347
1351 double ScreenSize = 10.0;
1352
1354
1357 double PolarTitleOffset[2] = { 20.0, 10.0 }, RadialTitleOffset[2] = { 20.0, 0.0 };
1358 double PolarLabelOffset = 10.0, PolarExponentOffset = 5.0;
1360
1361private:
1362 static constexpr int VTK_MAXIMUM_NUMBER_OF_POLAR_AXES = 20;
1363 static constexpr int VTK_MAXIMUM_NUMBER_OF_RADIAL_AXES = 50;
1364 static constexpr double VTK_MINIMUM_POLAR_ARC_RESOLUTION_PER_DEG = 0.05;
1365 static constexpr double VTK_MAXIMUM_POLAR_ARC_RESOLUTION_PER_DEG = 100.0;
1366
1367 vtkPolarAxesActor(const vtkPolarAxesActor&) = delete;
1368 void operator=(const vtkPolarAxesActor&) = delete;
1369};
1370
1371VTK_ABI_NAMESPACE_END
1372#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:50
Create an axis with tick marks and labels.
a virtual camera for 3D rendering
Definition vtkCamera.h:50
a simple class to control print indentation
Definition vtkIndent.h:38
Allocate and hold a VTK object.
Definition vtkNew.h:60
represent and manipulate 3D points
Definition vtkPoints.h:38
create an actor of a polar axes -
vtkSmartPointer< vtkCamera > Camera
Camera attached to the polar axes system.
vtkProperty * GetLastRadialAxisProperty()
Get/Set last radial axis actor properties.
double * GetBounds() override
Explicitly specify the region in space around which to draw the bounds.
vtkTextProperty * GetLastRadialAxisTextProperty()
Set/Get the last radial axis text property.
vtkNew< vtkPoints > ArcMinorTickPts
Keep the arc minor ticks vtkPoints instances.
virtual void SetPolarAxisProperty(vtkProperty *)
Get/Set polar axis actor properties.
void CalculateBounds()
Calculate bounds based on maximum radius and angular sector.
vtkTextProperty * GetSecondaryRadialAxesTextProperty()
Set/Get the secondary radial axes text property.
vtkSmartPointer< vtkTextProperty > PolarAxisTitleTextProperty
Text properties of polar axis title and labels.
void GetBounds(double bounds[6])
Explicitly specify the region in space around which to draw the bounds.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkProperty > PolarAxisProperty
General properties of polar axis Behavior may be override by polar axis ticks 's actor property.
vtkNew< vtkAxisActor > PolarAxis
Control variables for polar axis.
bool GetUse2DMode()
Enable/Disable labels 2D mode (always facing the camera).
vtkNew< vtkActor > ArcTickActor
vtk object for arc Ticks
virtual void SetLastRadialAxisTextProperty(vtkTextProperty *p)
Set/Get the last radial axis text property.
virtual void SetLastRadialAxisProperty(vtkProperty *p)
Get/Set last radial axis actor properties.
virtual void SetSecondaryPolarArcsProperty(vtkProperty *p)
Get/Set secondary polar arcs actors property.
vtkNew< vtkPolyData > SecondaryPolarArcs
Structures for secondary polar arcs.
virtual void SetSecondaryRadialAxesProperty(vtkProperty *p)
Get/Set secondary radial axes actors properties.
vtkTextProperty * GetPolarAxisTitleTextProperty()
Set/Get the polar axis title text property.
vtkSmartPointer< vtkTextProperty > SecondaryRadialAxesTextProperty
Text properties of secondary radial axes.
static vtkPolarAxesActor * New()
Instantiate object with label format "6.3g" and the number of labels per axis set to 3.
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.
vtkSmartPointer< vtkProperty > LastRadialAxisProperty
General properties of last radial axis.
vtkNew< vtkPolyDataMapper > ArcTickPolyDataMapper
vtk object for arc Ticks
vtkProperty * GetPolarArcsProperty()
Get/Set principal polar arc actor property.
virtual void SetPole(double[3])
Explicitly specify the coordinate of the pole.
vtkNew< vtkActor > PolarArcsActor
vtkNew< vtkPolyData > ArcTickPolyData
vtk object for arc Ticks
void CreateRadialAxes(int axisCount)
Create requested number of type X axes.
vtkSmartPointer< vtkTextProperty > LastRadialAxisTextProperty
Text properties of last radial axis.
vtkNew< vtkPolyData > PolarArcs
void BuildRadialAxes(vtkViewport *viewport=nullptr)
Build requested number of radial axes with respect to specified pole.
virtual void SetPolarAxisTitleTextProperty(vtkTextProperty *p)
Set/Get the polar axis title text property.
vtkNew< vtkPoints > ArcMajorTickPts
Keep the arc major ticks vtkPoints instances.
bool CheckMembersConsistency()
Check consistency of vtkPolarAxesActor members.
vtkProperty * GetSecondaryPolarArcsProperty()
Get/Set secondary polar arcs actors property.
vtkSmartPointer< vtkTextProperty > PolarAxisLabelTextProperty
Text properties of polar axis title and labels.
virtual void SetSecondaryRadialAxesTextProperty(vtkTextProperty *p)
Set/Get the secondary radial axes text property.
int RenderOverlay(vtkViewport *) override
Draw the polar axes.
vtkSmartPointer< vtkProperty > SecondaryRadialAxesProperty
General properties of radial axes.
vtkNew< vtkPolyData > ArcMinorTickPolyData
vtk object for arc Ticks
void SetCommonAxisAttributes(vtkAxisActor *)
Send attributes which are common to all axes, both polar and radial.
vtkProperty * GetSecondaryRadialAxesProperty()
Get/Set secondary radial axes actors properties.
vtkNew< vtkActor > ArcMinorTickActor
vtk object for arc Ticks
virtual void SetPole(double, double, double)
Explicitly specify the coordinate of the pole.
void SetUse2DMode(bool enable)
Enable/Disable labels 2D mode (always facing the camera).
int RenderOpaqueGeometry(vtkViewport *) override
Draw the polar axes.
void SetPolarAxisAttributes(vtkAxisActor *)
Set properties specific to PolarAxis.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
vtkNew< vtkPolyDataMapper > PolarArcsMapper
vtkTextProperty * GetPolarAxisLabelTextProperty()
Set/Get the polar axis labels text property.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the polar axes.
~vtkPolarAxesActor() override
vtkNew< vtkPolyDataMapper > ArcMinorTickPolyDataMapper
vtk object for arc Ticks
virtual void SetPolarAxisLabelTextProperty(vtkTextProperty *p)
Set/Get the polar axis labels text property.
vtkNew< vtkActor > SecondaryPolarArcsActor
Structures for secondary polar arcs.
vtkNew< vtkPolyDataMapper > SecondaryPolarArcsMapper
Structures for secondary polar arcs.
vtkProperty * GetPolarAxisProperty()
Get/Set polar axis actor properties.
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:89
represent surface properties of a geometric object
Definition vtkProperty.h:66
Hold a reference to a vtkObjectBase instance.
a vtkAbstractArray subclass for strings
represent text properties.
record modification and/or execution time
abstract specification for Viewports
Definition vtkViewport.h:54
window superclass for vtkRenderWindow
Definition vtkWindow.h:34
#define VTK_DEPRECATED_IN_9_3_0(reason)
int vtkIdType
Definition vtkType.h:315