VTK  9.0.1
vtkAxisActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 Program: Visualization Toolkit
3 Module: vtkAxisActor.h
4 Language: C++
5 
6 Copyright (c) 1993-2000 Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 This software is distributed WITHOUT ANY WARRANTY; without even
9 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 PURPOSE. See the above copyright notice for more information.
11 =========================================================================*/
50 #ifndef vtkAxisActor_h
51 #define vtkAxisActor_h
52 
53 #include "vtkActor.h"
54 #include "vtkRenderingAnnotationModule.h" // For export macro
55 
56 class vtkAxisFollower;
57 class vtkCamera;
58 class vtkCoordinate;
59 class vtkFollower;
60 class vtkPoints;
61 class vtkPolyData;
62 class vtkPolyDataMapper;
64 class vtkProperty2D;
65 class vtkStringArray;
66 class vtkTextActor;
67 class vtkTextActor3D;
68 class vtkTextProperty;
69 class vtkVectorText;
70 
71 class VTKRENDERINGANNOTATION_EXPORT vtkAxisActor : public vtkActor
72 {
73 public:
74  vtkTypeMacro(vtkAxisActor, vtkActor);
75  void PrintSelf(ostream& os, vtkIndent indent) override;
76 
80  static vtkAxisActor* New();
81 
83 
86  virtual vtkCoordinate* GetPoint1Coordinate();
87  virtual void SetPoint1(double x[3]) { this->SetPoint1(x[0], x[1], x[2]); }
88  virtual void SetPoint1(double x, double y, double z);
89  virtual double* GetPoint1();
91 
93 
96  virtual vtkCoordinate* GetPoint2Coordinate();
97  virtual void SetPoint2(double x[3]) { this->SetPoint2(x[0], x[1], x[2]); }
98  virtual void SetPoint2(double x, double y, double z);
99  virtual double* GetPoint2();
101 
103 
107  vtkSetVector2Macro(Range, double);
108  vtkGetVectorMacro(Range, double, 2);
110 
112 
115  void SetBounds(const double bounds[6]);
116  void SetBounds(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
117  double* GetBounds(void) VTK_SIZEHINT(6) override;
118  void GetBounds(double bounds[6]);
120 
122 
125  vtkSetStringMacro(LabelFormat);
126  vtkGetStringMacro(LabelFormat);
128 
130 
137  vtkSetMacro(UseTextActor3D, int);
138  vtkGetMacro(UseTextActor3D, int);
140 
142 
145  vtkSetMacro(MinorTicksVisible, vtkTypeBool);
146  vtkGetMacro(MinorTicksVisible, vtkTypeBool);
147  vtkBooleanMacro(MinorTicksVisible, vtkTypeBool);
149 
151 
154  void SetTitle(const char* t);
155  vtkGetStringMacro(Title);
157 
159 
162  void SetExponent(const char* t);
163  vtkGetStringMacro(Exponent);
165 
167 
170  vtkSetMacro(MajorTickSize, double);
171  vtkGetMacro(MajorTickSize, double);
173 
175 
178  vtkSetMacro(MinorTickSize, double);
179  vtkGetMacro(MinorTickSize, double);
181 
183  {
184  VTK_TICKS_INSIDE = 0,
185  VTK_TICKS_OUTSIDE = 1,
186  VTK_TICKS_BOTH = 2
187  };
188 
190 
195  vtkSetClampMacro(TickLocation, int, VTK_TICKS_INSIDE, VTK_TICKS_BOTH);
196  vtkGetMacro(TickLocation, int);
198 
199  void SetTickLocationToInside(void) { this->SetTickLocation(VTK_TICKS_INSIDE); }
200  void SetTickLocationToOutside(void) { this->SetTickLocation(VTK_TICKS_OUTSIDE); }
201  void SetTickLocationToBoth(void) { this->SetTickLocation(VTK_TICKS_BOTH); }
202 
204 
207  vtkSetMacro(AxisVisibility, vtkTypeBool);
208  vtkGetMacro(AxisVisibility, vtkTypeBool);
209  vtkBooleanMacro(AxisVisibility, vtkTypeBool);
211 
213 
216  vtkSetMacro(TickVisibility, vtkTypeBool);
217  vtkGetMacro(TickVisibility, vtkTypeBool);
218  vtkBooleanMacro(TickVisibility, vtkTypeBool);
220 
222 
225  vtkSetMacro(LabelVisibility, vtkTypeBool);
226  vtkGetMacro(LabelVisibility, vtkTypeBool);
227  vtkBooleanMacro(LabelVisibility, vtkTypeBool);
229 
231 
234  vtkSetMacro(TitleVisibility, vtkTypeBool);
235  vtkGetMacro(TitleVisibility, vtkTypeBool);
236  vtkBooleanMacro(TitleVisibility, vtkTypeBool);
238 
240 
243  vtkSetMacro(ExponentVisibility, bool);
244  vtkGetMacro(ExponentVisibility, bool);
245  vtkBooleanMacro(ExponentVisibility, bool);
247 
249 
252  vtkSetMacro(LastMajorTickPointCorrection, bool);
253  vtkGetMacro(LastMajorTickPointCorrection, bool);
254  vtkBooleanMacro(LastMajorTickPointCorrection, bool);
256 
258  {
259  VTK_ALIGN_TOP = 0,
260  VTK_ALIGN_BOTTOM = 1,
261  VTK_ALIGN_POINT1 = 2,
262  VTK_ALIGN_POINT2 = 3
263  };
264 
266 
270  virtual void SetTitleAlignLocation(int location);
271  vtkGetMacro(TitleAlignLocation, int);
273 
275 
279  virtual void SetExponentLocation(int location);
280  vtkGetMacro(ExponentLocation, int);
282 
284 
287  virtual void SetTitleTextProperty(vtkTextProperty* p);
288  vtkGetObjectMacro(TitleTextProperty, vtkTextProperty);
290 
292 
295  virtual void SetLabelTextProperty(vtkTextProperty* p);
296  vtkGetObjectMacro(LabelTextProperty, vtkTextProperty);
298 
300 
303  void SetAxisLinesProperty(vtkProperty*);
304  vtkProperty* GetAxisLinesProperty();
306 
308 
311  void SetAxisMainLineProperty(vtkProperty*);
312  vtkProperty* GetAxisMainLineProperty();
314 
316 
319  void SetAxisMajorTicksProperty(vtkProperty*);
320  vtkProperty* GetAxisMajorTicksProperty();
322 
324 
327  void SetAxisMinorTicksProperty(vtkProperty*);
328  vtkProperty* GetAxisMinorTicksProperty();
330 
332 
335  void SetGridlinesProperty(vtkProperty*);
336  vtkProperty* GetGridlinesProperty();
338 
340 
343  void SetInnerGridlinesProperty(vtkProperty*);
344  vtkProperty* GetInnerGridlinesProperty();
346 
348 
351  void SetGridpolysProperty(vtkProperty*);
352  vtkProperty* GetGridpolysProperty();
354 
356 
359  vtkSetMacro(DrawGridlines, vtkTypeBool);
360  vtkGetMacro(DrawGridlines, vtkTypeBool);
361  vtkBooleanMacro(DrawGridlines, vtkTypeBool);
363 
365 
370  vtkSetMacro(DrawGridlinesOnly, vtkTypeBool);
371  vtkGetMacro(DrawGridlinesOnly, vtkTypeBool);
372  vtkBooleanMacro(DrawGridlinesOnly, vtkTypeBool);
374 
375  vtkSetMacro(DrawGridlinesLocation, int);
376  vtkGetMacro(DrawGridlinesLocation, int);
377 
379 
382  vtkSetMacro(DrawInnerGridlines, vtkTypeBool);
383  vtkGetMacro(DrawInnerGridlines, vtkTypeBool);
384  vtkBooleanMacro(DrawInnerGridlines, vtkTypeBool);
386 
388 
391  vtkSetMacro(GridlineXLength, double);
392  vtkGetMacro(GridlineXLength, double);
393  vtkSetMacro(GridlineYLength, double);
394  vtkGetMacro(GridlineYLength, double);
395  vtkSetMacro(GridlineZLength, double);
396  vtkGetMacro(GridlineZLength, double);
398 
400 
403  vtkSetMacro(DrawGridpolys, vtkTypeBool);
404  vtkGetMacro(DrawGridpolys, vtkTypeBool);
405  vtkBooleanMacro(DrawGridpolys, vtkTypeBool);
407 
408  enum AxisType
409  {
410  VTK_AXIS_TYPE_X = 0,
411  VTK_AXIS_TYPE_Y = 1,
412  VTK_AXIS_TYPE_Z = 2
413  };
414 
416 
419  vtkSetClampMacro(AxisType, int, VTK_AXIS_TYPE_X, VTK_AXIS_TYPE_Z);
420  vtkGetMacro(AxisType, int);
421  void SetAxisTypeToX(void) { this->SetAxisType(VTK_AXIS_TYPE_X); }
422  void SetAxisTypeToY(void) { this->SetAxisType(VTK_AXIS_TYPE_Y); }
423  void SetAxisTypeToZ(void) { this->SetAxisType(VTK_AXIS_TYPE_Z); }
425 
427  {
428  VTK_AXIS_POS_MINMIN = 0,
429  VTK_AXIS_POS_MINMAX = 1,
430  VTK_AXIS_POS_MAXMAX = 2,
431  VTK_AXIS_POS_MAXMIN = 3
432  };
433 
435 
438  vtkSetMacro(Log, bool);
439  vtkGetMacro(Log, bool);
440  vtkBooleanMacro(Log, bool);
442 
444 
451  vtkSetClampMacro(AxisPosition, int, VTK_AXIS_POS_MINMIN, VTK_AXIS_POS_MAXMIN);
452  vtkGetMacro(AxisPosition, int);
454 
455  void SetAxisPositionToMinMin(void) { this->SetAxisPosition(VTK_AXIS_POS_MINMIN); }
456  void SetAxisPositionToMinMax(void) { this->SetAxisPosition(VTK_AXIS_POS_MINMAX); }
457  void SetAxisPositionToMaxMax(void) { this->SetAxisPosition(VTK_AXIS_POS_MAXMAX); }
458  void SetAxisPositionToMaxMin(void) { this->SetAxisPosition(VTK_AXIS_POS_MAXMIN); }
459 
461 
465  virtual void SetCamera(vtkCamera*);
466  vtkGetObjectMacro(Camera, vtkCamera);
468 
470 
473  int RenderOpaqueGeometry(vtkViewport* viewport) override;
474  virtual int RenderTranslucentGeometry(vtkViewport* viewport);
475  int RenderTranslucentPolygonalGeometry(vtkViewport* viewport) override;
476  int RenderOverlay(vtkViewport* viewport) override;
479 
485  void ReleaseGraphicsResources(vtkWindow*) override;
486 
487  double ComputeMaxLabelLength(const double[3]);
488  double ComputeTitleLength(const double[3]);
489 
490  void SetLabelScale(const double scale);
491  void SetLabelScale(int labelIndex, const double scale);
492  void SetTitleScale(const double scale);
493 
495 
499  vtkSetMacro(MinorStart, double);
500  vtkGetMacro(MinorStart, double);
501  double GetMajorStart(int axis);
502  void SetMajorStart(int axis, double value);
503  // vtkSetMacro(MajorStart, double);
504  // vtkGetMacro(MajorStart, double);
505  vtkSetMacro(DeltaMinor, double);
506  vtkGetMacro(DeltaMinor, double);
507  double GetDeltaMajor(int axis);
508  void SetDeltaMajor(int axis, double value);
509  // vtkSetMacro(DeltaMajor, double);
510  // vtkGetMacro(DeltaMajor, double);
512 
514 
520  vtkSetMacro(MinorRangeStart, double);
521  vtkGetMacro(MinorRangeStart, double);
522  vtkSetMacro(MajorRangeStart, double);
523  vtkGetMacro(MajorRangeStart, double);
524  vtkSetMacro(DeltaRangeMinor, double);
525  vtkGetMacro(DeltaRangeMinor, double);
526  vtkSetMacro(DeltaRangeMajor, double);
527  vtkGetMacro(DeltaRangeMajor, double);
529 
530  void SetLabels(vtkStringArray* labels);
531 
532  void BuildAxis(vtkViewport* viewport, bool);
533 
535 
539  vtkGetObjectMacro(TitleActor, vtkAxisFollower);
541 
543 
546  vtkGetObjectMacro(ExponentActor, vtkAxisFollower);
548 
552  inline vtkAxisFollower** GetLabelActors() { return this->LabelActors; }
553 
555 
559  vtkGetObjectMacro(TitleProp3D, vtkProp3DAxisFollower);
561 
565  inline vtkProp3DAxisFollower** GetLabelProps3D() { return this->LabelProps3D; }
566 
568 
572  vtkGetObjectMacro(ExponentProp3D, vtkProp3DAxisFollower);
574 
576 
580  vtkGetMacro(NumberOfLabelsBuilt, int);
582 
584 
588  vtkSetMacro(CalculateTitleOffset, vtkTypeBool);
589  vtkGetMacro(CalculateTitleOffset, vtkTypeBool);
590  vtkBooleanMacro(CalculateTitleOffset, vtkTypeBool);
592 
594 
598  vtkSetMacro(CalculateLabelOffset, vtkTypeBool);
599  vtkGetMacro(CalculateLabelOffset, vtkTypeBool);
600  vtkBooleanMacro(CalculateLabelOffset, vtkTypeBool);
602 
604 
607  vtkSetMacro(Use2DMode, int);
608  vtkGetMacro(Use2DMode, int);
610 
612 
615  vtkSetMacro(VerticalOffsetXTitle2D, double);
616  vtkGetMacro(VerticalOffsetXTitle2D, double);
618 
620 
623  vtkSetMacro(HorizontalOffsetYTitle2D, double);
624  vtkGetMacro(HorizontalOffsetYTitle2D, double);
626 
628 
631  vtkSetMacro(SaveTitlePosition, int);
632  vtkGetMacro(SaveTitlePosition, int);
634 
636 
639  vtkSetVector3Macro(AxisBaseForX, double);
640  vtkGetVector3Macro(AxisBaseForX, double);
642 
644 
647  vtkSetVector3Macro(AxisBaseForY, double);
648  vtkGetVector3Macro(AxisBaseForY, double);
650 
652 
655  vtkSetVector3Macro(AxisBaseForZ, double);
656  vtkGetVector3Macro(AxisBaseForZ, double);
658 
660 
663  vtkSetMacro(AxisOnOrigin, int);
664  vtkGetMacro(AxisOnOrigin, int);
666 
668 
671  vtkSetMacro(LabelOffset, double);
672  vtkGetMacro(LabelOffset, double);
673  vtkSetMacro(TitleOffset, double);
674  vtkGetMacro(TitleOffset, double);
675  vtkSetMacro(ExponentOffset, double);
676  vtkGetMacro(ExponentOffset, double);
677  vtkSetMacro(ScreenSize, double);
678  vtkGetMacro(ScreenSize, double);
680 
681 protected:
682  vtkAxisActor();
683  ~vtkAxisActor() override;
684 
685  char* Title;
686  char* Exponent;
687  double Range[2];
688  double LastRange[2];
689  char* LabelFormat;
694 
701 
707 
713 
717  int DrawGridlinesLocation; // 0: all | 1: closest | 2: farest
718  int LastDrawGridlinesLocation; // 0: all | 1: closest | 2: farest
722 
725 
728 
736 
737  bool Log;
738  int AxisType;
740 
741  // coordinate system for axisAxtor, relative to world coordinates
742  double AxisBaseForX[3];
743  double AxisBaseForY[3];
744  double AxisBaseForZ[3];
745 
746 private:
747  vtkAxisActor(const vtkAxisActor&) = delete;
748  void operator=(const vtkAxisActor&) = delete;
749 
750  void TransformBounds(vtkViewport*, double bnds[6]);
751 
752  void BuildLabels(vtkViewport*, bool);
753  void BuildLabels2D(vtkViewport*, bool);
754  void SetLabelPositions(vtkViewport*, bool);
755  void SetLabelPositions2D(vtkViewport*, bool);
756 
761  void RotateActor2DFromAxisProjection(vtkTextActor* pActor2D);
762 
766  void InitTitle();
767 
771  void InitExponent();
772 
779  void BuildTitle(bool);
780 
785  void BuildExponent(bool force);
786 
787  void BuildExponent2D(vtkViewport* viewport, bool force);
788 
789  void BuildTitle2D(vtkViewport* viewport, bool);
790 
791  void SetAxisPointsAndLines(void);
792 
793  bool BuildTickPoints(double p1[3], double p2[3], bool force);
794 
795  // Build major ticks for linear scale.
796  void BuildMajorTicks(double p1[3], double p2[3], double localCoordSys[3][3]);
797 
798  // Build major ticks for logarithmic scale.
799  void BuildMajorTicksLog(double p1[3], double p2[3], double localCoordSys[3][3]);
800 
801  // Build minor ticks for linear scale.
802  void BuildMinorTicks(double p1[3], double p2[3], double localCoordSys[3][3]);
803 
804  // Build minor ticks for logarithmic scale enabled
805  void BuildMinorTicksLog(double p1[3], double p2[3], double localCoordSys[3][3]);
806 
807  void BuildAxisGridLines(double p1[3], double p2[3], double localCoordSys[3][3]);
808 
809  bool TickVisibilityChanged(void);
810  vtkProperty* NewTitleProperty();
811  vtkProperty2D* NewTitleProperty2D();
812  vtkProperty* NewLabelProperty();
813 
814  bool BoundsDisplayCoordinateChanged(vtkViewport* viewport);
815 
816  vtkCoordinate* Point1Coordinate;
817  vtkCoordinate* Point2Coordinate;
818 
819  double MajorTickSize;
820  double MinorTickSize;
821 
822  // For each axis (for the inner gridline generation)
823  double MajorStart[3];
824  double DeltaMajor[3];
825  double MinorStart;
826  double DeltaMinor;
827 
828  // For the ticks, w.r.t to the set range
829  double MajorRangeStart;
830  double MinorRangeStart;
831 
835  double DeltaRangeMinor;
836 
840  double DeltaRangeMajor;
841 
842  int LastAxisPosition;
843  int LastAxisType;
844  int LastTickLocation;
845  double LastLabelStart;
846 
847  vtkPoints* MinorTickPts;
848  vtkPoints* MajorTickPts;
849  vtkPoints* GridlinePts;
850  vtkPoints* InnerGridlinePts;
851  vtkPoints* GridpolyPts;
852 
853  vtkVectorText* TitleVector;
854  vtkPolyDataMapper* TitleMapper;
855  vtkAxisFollower* TitleActor;
856  vtkTextActor* TitleActor2D;
857  vtkProp3DAxisFollower* TitleProp3D;
858  vtkTextActor3D* TitleActor3D;
859  vtkTextProperty* TitleTextProperty;
860 
862 
865  vtkVectorText* ExponentVector;
866  vtkPolyDataMapper* ExponentMapper;
867  vtkAxisFollower* ExponentActor;
868  vtkTextActor* ExponentActor2D;
869  vtkProp3DAxisFollower* ExponentProp3D;
870  vtkTextActor3D* ExponentActor3D;
872 
873  vtkVectorText** LabelVectors;
874  vtkPolyDataMapper** LabelMappers;
875  vtkAxisFollower** LabelActors;
876  vtkProp3DAxisFollower** LabelProps3D;
877  vtkTextActor** LabelActors2D;
878  vtkTextActor3D** LabelActors3D;
879  vtkTextProperty* LabelTextProperty;
880 
881  // Main line axis
882  vtkPolyData* AxisLines;
883  vtkPolyDataMapper* AxisLinesMapper;
884  vtkActor* AxisLinesActor;
885 
886  // Ticks of the axis
887  vtkPolyData *AxisMajorTicks, *AxisMinorTicks;
888  vtkPolyDataMapper *AxisMajorTicksMapper, *AxisMinorTicksMapper;
889  vtkActor *AxisMajorTicksActor, *AxisMinorTicksActor;
890 
891  vtkPolyData* Gridlines;
892  vtkPolyDataMapper* GridlinesMapper;
893  vtkActor* GridlinesActor;
894  vtkPolyData* InnerGridlines;
895  vtkPolyDataMapper* InnerGridlinesMapper;
896  vtkActor* InnerGridlinesActor;
897  vtkPolyData* Gridpolys;
898  vtkPolyDataMapper* GridpolysMapper;
899  vtkActor* GridpolysActor;
900 
901  vtkCamera* Camera;
902  vtkTimeStamp BuildTime;
903  vtkTimeStamp BuildTickPointsTime;
904  vtkTimeStamp BoundsTime;
905  vtkTimeStamp LabelBuildTime;
906  vtkTimeStamp TitleTextTime;
907  vtkTimeStamp ExponentTextTime;
908 
909  int AxisOnOrigin;
910 
911  int AxisHasZeroLength;
912 
913  vtkTypeBool CalculateTitleOffset;
914  vtkTypeBool CalculateLabelOffset;
915 
919  int Use2DMode;
920 
925  double VerticalOffsetXTitle2D;
926 
931  double HorizontalOffsetYTitle2D;
932 
939  int SaveTitlePosition;
940 
944  double TitleConstantPosition[2];
945 
949  bool NeedBuild2D;
950 
951  double LastMinDisplayCoordinate[3];
952  double LastMaxDisplayCoordinate[3];
953  double TickVector[3];
954 
956 
959  double ScreenSize;
960  double LabelOffset;
961  double TitleOffset;
962  double ExponentOffset;
963 };
965 
966 #endif
virtual void SetPoint1(double x[3])
Specify the position of the first point defining the axis.
Definition: vtkAxisActor.h:87
int TickLocation
The location of the ticks.
Definition: vtkAxisActor.h:700
double GridlineXLength
Definition: vtkAxisActor.h:719
char * Exponent
Definition: vtkAxisActor.h:686
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:45
bool ExponentVisibility
Definition: vtkAxisActor.h:734
void SetAxisTypeToY(void)
Set/Get the type of this axis.
Definition: vtkAxisActor.h:422
int LastMinorTicksVisible
Definition: vtkAxisActor.h:693
vtkTypeBool LabelVisibility
Definition: vtkAxisActor.h:732
abstract specification for Viewports
Definition: vtkViewport.h:44
represent surface properties of a geometric object
Definition: vtkProperty.h:61
int LastDrawGridpolys
Definition: vtkAxisActor.h:727
int LastDrawInnerGridlines
Definition: vtkAxisActor.h:724
virtual void SetPoint2(double x[3])
Specify the position of the second point defining the axis.
Definition: vtkAxisActor.h:97
virtual int RenderOverlay(vtkViewport *)
Definition: vtkProp.h:224
vtkTypeBool AxisVisibility
Definition: vtkAxisActor.h:729
double GridlineZLength
Definition: vtkAxisActor.h:721
vtkTypeBool DrawGridlinesOnly
Definition: vtkAxisActor.h:715
record modification and/or execution time
Definition: vtkTimeStamp.h:32
Create an axis with tick marks and labels.
Definition: vtkAxisActor.h:71
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkProp3DAxisFollower ** GetLabelProps3D()
Get label actors responsigle for drawing label text.
Definition: vtkAxisActor.h:565
a vtkAbstractArray subclass for strings
vtkTypeBool DrawGridlines
Definition: vtkAxisActor.h:714
int LastDrawGridlines
Definition: vtkAxisActor.h:716
void SetTickLocationToInside(void)
Definition: vtkAxisActor.h:199
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 GridlineYLength
Definition: vtkAxisActor.h:720
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
int vtkTypeBool
Definition: vtkABI.h:69
int DrawGridlinesLocation
Definition: vtkAxisActor.h:717
void SetAxisPositionToMaxMin(void)
Definition: vtkAxisActor.h:458
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
void SetAxisTypeToX(void)
Set/Get the type of this axis.
Definition: vtkAxisActor.h:421
An actor that displays text.
Definition: vtkTextActor.h:50
bool LastMajorTickPointCorrection
Definition: vtkAxisActor.h:735
a simple class to control print indentation
Definition: vtkIndent.h:33
a virtual camera for 3D rendering
Definition: vtkCamera.h:45
void SetAxisPositionToMaxMax(void)
Definition: vtkAxisActor.h:457
vtkAxisFollower ** GetLabelActors()
Get label actors responsigle for drawing label text.
Definition: vtkAxisActor.h:552
void SetTickLocationToBoth(void)
Definition: vtkAxisActor.h:201
vtkTypeBool DrawInnerGridlines
Definition: vtkAxisActor.h:723
vtkTypeBool TickVisibility
Definition: vtkAxisActor.h:730
int LastTickVisibility
Definition: vtkAxisActor.h:731
An actor that displays text.
int NumberOfLabelsBuilt
Definition: vtkAxisActor.h:691
#define VTK_SIZEHINT(...)
double * GetBounds() override
Return a reference to the Prop3D's composite transform.
represent text properties.
char * LabelFormat
Definition: vtkAxisActor.h:689
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
Definition: vtkCoordinate.h:76
a subclass of vtkFollower that ensures that data is always parallel to the axis defined by a vtkAxisA...
vtkTypeBool MinorTicksVisible
Definition: vtkAxisActor.h:692
void SetAxisPositionToMinMax(void)
Definition: vtkAxisActor.h:456
map vtkPolyData to graphics primitives
void SetAxisPositionToMinMin(void)
Definition: vtkAxisActor.h:455
a subclass of actor that always faces the camera
Definition: vtkFollower.h:40
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some opaque/translucent polygonal geometry?
int TitleAlignLocation
Hold the alignment property of the title related to the axis.
Definition: vtkAxisActor.h:706
vtkTypeBool TitleVisibility
Definition: vtkAxisActor.h:733
a subclass of vtkProp3DFollower that ensures that data is always parallel to the axis defined by a vt...
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
Support the standard render methods.
int LastDrawGridlinesLocation
Definition: vtkAxisActor.h:718
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
represent surface properties of a 2D image
Definition: vtkProperty2D.h:37
void SetAxisTypeToZ(void)
Set/Get the type of this axis.
Definition: vtkAxisActor.h:423
void SetTickLocationToOutside(void)
Definition: vtkAxisActor.h:200
vtkTypeBool DrawGridpolys
Definition: vtkAxisActor.h:726
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
represent and manipulate 3D points
Definition: vtkPoints.h:33
int ExponentLocation
Hold the alignment property of the exponent coming from the label values.
Definition: vtkAxisActor.h:712
create polygonal text
Definition: vtkVectorText.h:41