VTK
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 =========================================================================*/
53 #ifndef vtkAxisActor_h
54 #define vtkAxisActor_h
55 
56 #include "vtkRenderingAnnotationModule.h" // For export macro
57 #include "vtkActor.h"
58 
59 class vtkAxisFollower;
60 class vtkCamera;
61 class vtkCoordinate;
62 class vtkFollower;
63 class vtkPoints;
64 class vtkPolyData;
65 class vtkPolyDataMapper;
67 class vtkProperty2D;
68 class vtkStringArray;
69 class vtkTextActor;
70 class vtkTextActor3D;
71 class vtkTextProperty;
72 class vtkVectorText;
73 
74 class VTKRENDERINGANNOTATION_EXPORT vtkAxisActor : public vtkActor
75 {
76 public:
77  vtkTypeMacro(vtkAxisActor, vtkActor);
78  void PrintSelf(ostream& os, vtkIndent indent);
79 
83  static vtkAxisActor *New();
84 
86 
89  virtual vtkCoordinate *GetPoint1Coordinate();
90  virtual void SetPoint1(double x[3])
91  { this->SetPoint1(x[0], x[1], x[2]); }
92  virtual void SetPoint1(double x, double y, double z);
93  virtual double *GetPoint1();
95 
97 
100  virtual vtkCoordinate *GetPoint2Coordinate();
101  virtual void SetPoint2(double x[3])
102  { this->SetPoint2(x[0], x[1], x[2]); }
103  virtual void SetPoint2(double x, double y, double z);
104  virtual double *GetPoint2();
106 
108 
112  vtkSetVector2Macro(Range, double);
113  vtkGetVectorMacro(Range, double, 2);
115 
117 
120  void SetBounds(const double bounds[6]);
121  void SetBounds(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
122  double *GetBounds(void);
123  void GetBounds(double bounds[6]);
125 
127 
130  vtkSetStringMacro(LabelFormat);
131  vtkGetStringMacro(LabelFormat);
133 
135 
142  vtkSetMacro(UseTextActor3D, int);
143  vtkGetMacro(UseTextActor3D, int);
145 
147 
150  vtkSetMacro(MinorTicksVisible, int);
151  vtkGetMacro(MinorTicksVisible, int);
152  vtkBooleanMacro(MinorTicksVisible, int);
154 
156 
159  void SetTitle(const char *t);
160  vtkGetStringMacro(Title);
162 
164 
167  void SetExponent(const char *t);
168  vtkGetStringMacro(Exponent);
170 
172 
175  vtkSetMacro(MajorTickSize, double);
176  vtkGetMacro(MajorTickSize, double);
178 
180 
183  vtkSetMacro(MinorTickSize, double);
184  vtkGetMacro(MinorTickSize, double);
186 
188  {
189  VTK_TICKS_INSIDE = 0,
190  VTK_TICKS_OUTSIDE = 1,
191  VTK_TICKS_BOTH = 2
192  };
193 
195 
200  vtkSetClampMacro(TickLocation, int, VTK_TICKS_INSIDE, VTK_TICKS_BOTH);
201  vtkGetMacro(TickLocation, int);
203 
205  { this->SetTickLocation(VTK_TICKS_INSIDE); };
207  { this->SetTickLocation(VTK_TICKS_OUTSIDE); };
209  { this->SetTickLocation(VTK_TICKS_BOTH); };
210 
212 
215  vtkSetMacro(AxisVisibility, int);
216  vtkGetMacro(AxisVisibility, int);
217  vtkBooleanMacro(AxisVisibility, int);
219 
221 
224  vtkSetMacro(TickVisibility, int);
225  vtkGetMacro(TickVisibility, int);
226  vtkBooleanMacro(TickVisibility, int);
228 
230 
233  vtkSetMacro(LabelVisibility, int);
234  vtkGetMacro(LabelVisibility, int);
235  vtkBooleanMacro(LabelVisibility, int);
237 
239 
242  vtkSetMacro(TitleVisibility, int);
243  vtkGetMacro(TitleVisibility, int);
244  vtkBooleanMacro(TitleVisibility, int);
246 
248 
251  vtkSetMacro(ExponentVisibility, bool);
252  vtkGetMacro(ExponentVisibility, bool);
253  vtkBooleanMacro(ExponentVisibility, bool);
255 
257  {
258  VTK_ALIGN_TOP = 0,
259  VTK_ALIGN_BOTTOM = 1,
260  VTK_ALIGN_POINT1 = 2,
261  VTK_ALIGN_POINT2 = 3
262  };
263 
265 
269  vtkSetClampMacro(TitleAlignLocation, int, VTK_ALIGN_TOP, VTK_ALIGN_POINT2);
270  vtkGetMacro(TitleAlignLocation, int);
272 
274 
278  vtkSetClampMacro(ExponentLocation, int, VTK_ALIGN_TOP, VTK_ALIGN_POINT2);
279  vtkGetMacro(ExponentLocation, int);
281 
283 
286  virtual void SetTitleTextProperty(vtkTextProperty *p);
287  vtkGetObjectMacro(TitleTextProperty, vtkTextProperty);
289 
291 
294  virtual void SetLabelTextProperty(vtkTextProperty *p);
295  vtkGetObjectMacro(LabelTextProperty, vtkTextProperty);
297 
299 
302  void SetAxisLinesProperty(vtkProperty *);
303  vtkProperty* GetAxisLinesProperty();
305 
307 
310  void SetAxisMainLineProperty(vtkProperty *);
311  vtkProperty* GetAxisMainLineProperty();
313 
315 
318  void SetAxisMajorTicksProperty(vtkProperty *);
319  vtkProperty* GetAxisMajorTicksProperty();
321 
323 
326  void SetAxisMinorTicksProperty(vtkProperty *);
327  vtkProperty* GetAxisMinorTicksProperty();
329 
331 
334  void SetGridlinesProperty(vtkProperty *);
335  vtkProperty* GetGridlinesProperty();
337 
339 
342  void SetInnerGridlinesProperty(vtkProperty *);
343  vtkProperty* GetInnerGridlinesProperty();
345 
347 
350  void SetGridpolysProperty(vtkProperty *);
351  vtkProperty* GetGridpolysProperty();
353 
355 
358  vtkSetMacro(DrawGridlines, int);
359  vtkGetMacro(DrawGridlines, int);
360  vtkBooleanMacro(DrawGridlines, int);
362 
364 
369  vtkSetMacro(DrawGridlinesOnly, int);
370  vtkGetMacro(DrawGridlinesOnly, int);
371  vtkBooleanMacro(DrawGridlinesOnly, int);
373 
374  vtkSetMacro(DrawGridlinesLocation, int);
375  vtkGetMacro(DrawGridlinesLocation, int);
376 
378 
381  vtkSetMacro(DrawInnerGridlines, int);
382  vtkGetMacro(DrawInnerGridlines, int);
383  vtkBooleanMacro(DrawInnerGridlines, int);
385 
387 
390  vtkSetMacro(GridlineXLength, double);
391  vtkGetMacro(GridlineXLength, double);
392  vtkSetMacro(GridlineYLength, double);
393  vtkGetMacro(GridlineYLength, double);
394  vtkSetMacro(GridlineZLength, double);
395  vtkGetMacro(GridlineZLength, double);
397 
399 
402  vtkSetMacro(DrawGridpolys, int);
403  vtkGetMacro(DrawGridpolys, int);
404  vtkBooleanMacro(DrawGridpolys, int);
406 
407  enum AxisType
408  {
409  VTK_AXIS_TYPE_X = 0,
410  VTK_AXIS_TYPE_Y = 1,
411  VTK_AXIS_TYPE_Z = 2
412  };
413 
415 
418  vtkSetClampMacro(AxisType, int, VTK_AXIS_TYPE_X, VTK_AXIS_TYPE_Z);
419  vtkGetMacro(AxisType, int);
420  void SetAxisTypeToX(void) { this->SetAxisType(VTK_AXIS_TYPE_X); };
421  void SetAxisTypeToY(void) { this->SetAxisType(VTK_AXIS_TYPE_Y); };
422  void SetAxisTypeToZ(void) { this->SetAxisType(VTK_AXIS_TYPE_Z); };
424 
426  {
427  VTK_AXIS_POS_MINMIN = 0,
428  VTK_AXIS_POS_MINMAX = 1,
429  VTK_AXIS_POS_MAXMAX = 2,
430  VTK_AXIS_POS_MAXMIN = 3
431  };
432 
434 
437  vtkSetMacro(Log, bool);
438  vtkGetMacro(Log, bool);
439  vtkBooleanMacro(Log, bool);
441 
443 
450  vtkSetClampMacro(AxisPosition, int, VTK_AXIS_POS_MINMIN, VTK_AXIS_POS_MAXMIN);
451  vtkGetMacro(AxisPosition, int);
453 
455  { this->SetAxisPosition(VTK_AXIS_POS_MINMIN); };
457  { this->SetAxisPosition(VTK_AXIS_POS_MINMAX); };
459  { this->SetAxisPosition(VTK_AXIS_POS_MAXMAX); };
461  { this->SetAxisPosition(VTK_AXIS_POS_MAXMIN); };
462 
464 
468  virtual void SetCamera(vtkCamera*);
469  vtkGetObjectMacro(Camera, vtkCamera);
471 
473 
476  virtual int RenderOpaqueGeometry(vtkViewport* viewport);
477  virtual int RenderTranslucentGeometry(vtkViewport* viewport);
478  virtual int RenderTranslucentPolygonalGeometry(vtkViewport* viewport);
479  virtual int RenderOverlay(vtkViewport* viewport);
482 
489 
490  double ComputeMaxLabelLength(const double [3]);
491  double ComputeTitleLength(const double [3]);
492 
493  void SetLabelScale(const double scale);
494  void SetLabelScale(int labelIndex, const double scale);
495  void SetTitleScale(const double scale);
496 
498 
502  vtkSetMacro(MinorStart, double);
503  vtkGetMacro(MinorStart, double);
504  double GetMajorStart(int axis);
505  void SetMajorStart(int axis, double value);
506  //vtkSetMacro(MajorStart, double);
507  //vtkGetMacro(MajorStart, double);
508  vtkSetMacro(DeltaMinor, double);
509  vtkGetMacro(DeltaMinor, double);
510  double GetDeltaMajor(int axis);
511  void SetDeltaMajor(int axis, double value);
512  //vtkSetMacro(DeltaMajor, double);
513  //vtkGetMacro(DeltaMajor, double);
515 
517 
523  vtkSetMacro(MinorRangeStart, double);
524  vtkGetMacro(MinorRangeStart, double);
525  vtkSetMacro(MajorRangeStart, double);
526  vtkGetMacro(MajorRangeStart, double);
527  vtkSetMacro(DeltaRangeMinor, double);
528  vtkGetMacro(DeltaRangeMinor, double);
529  vtkSetMacro(DeltaRangeMajor, double);
530  vtkGetMacro(DeltaRangeMajor, double);
532 
533  void SetLabels(vtkStringArray *labels);
534 
535  void BuildAxis(vtkViewport *viewport, bool);
536 
538 
542  vtkGetObjectMacro(TitleActor, vtkAxisFollower);
544 
546 
549  vtkGetObjectMacro(ExponentActor, vtkAxisFollower);
551 
556  {
557  return this->LabelActors;
558  }
559 
561 
565  vtkGetObjectMacro(TitleProp3D, vtkProp3DAxisFollower);
567 
572  {
573  return this->LabelProps3D;
574  }
575 
577 
581  vtkGetObjectMacro(ExponentProp3D, vtkProp3DAxisFollower);
583 
585 
589  vtkGetMacro(NumberOfLabelsBuilt, int);
591 
593 
597  vtkSetMacro(CalculateTitleOffset, int);
598  vtkGetMacro(CalculateTitleOffset, int);
599  vtkBooleanMacro(CalculateTitleOffset, int);
601 
603 
607  vtkSetMacro(CalculateLabelOffset, int);
608  vtkGetMacro(CalculateLabelOffset, int);
609  vtkBooleanMacro(CalculateLabelOffset, int);
611 
613 
616  vtkSetMacro(Use2DMode, int);
617  vtkGetMacro(Use2DMode, int);
619 
621 
624  vtkSetMacro(VerticalOffsetXTitle2D, double);
625  vtkGetMacro(VerticalOffsetXTitle2D, double);
627 
629 
632  vtkSetMacro(HorizontalOffsetYTitle2D, double);
633  vtkGetMacro(HorizontalOffsetYTitle2D, double);
635 
637 
640  vtkSetMacro(SaveTitlePosition, int);
641  vtkGetMacro(SaveTitlePosition, int);
643 
645 
648  vtkSetVector3Macro(AxisBaseForX, double);
649  vtkGetVector3Macro(AxisBaseForX, double);
651 
653 
656  vtkSetVector3Macro(AxisBaseForY, double);
657  vtkGetVector3Macro(AxisBaseForY, double);
659 
661 
664  vtkSetVector3Macro(AxisBaseForZ, double);
665  vtkGetVector3Macro(AxisBaseForZ, double);
667 
669 
672  vtkSetMacro(AxisOnOrigin, int);
673  vtkGetMacro(AxisOnOrigin, int);
675 
677 
680  vtkSetMacro(LabelOffset, double);
681  vtkGetMacro(LabelOffset, double);
682  vtkSetMacro(TitleOffset, double);
683  vtkGetMacro(TitleOffset, double);
684  vtkSetMacro(ExponentOffset, double);
685  vtkGetMacro(ExponentOffset, double);
686  vtkSetMacro(ScreenSize, double);
687  vtkGetMacro(ScreenSize, double);
689 
690 protected:
691  vtkAxisActor();
692  ~vtkAxisActor();
693 
694  char *Title;
695  char *Exponent;
696  double Range[2];
697  double LastRange[2];
698  char *LabelFormat;
703 
710 
716 
722 
726  int DrawGridlinesLocation; // 0: all | 1: closest | 2: farest
727  int LastDrawGridlinesLocation; // 0: all | 1: closest | 2: farest
731 
734 
737 
744 
745  bool Log;
746  int AxisType;
748  double Bounds[6];
749 
750  // coordinate system for axisAxtor, relative to world coordinates
751  double AxisBaseForX[3];
752  double AxisBaseForY[3];
753  double AxisBaseForZ[3];
754 
755 private:
756  vtkAxisActor(const vtkAxisActor&) VTK_DELETE_FUNCTION;
757  void operator=(const vtkAxisActor&) VTK_DELETE_FUNCTION;
758 
759  void TransformBounds(vtkViewport *, double bnds[6]);
760 
761  void BuildLabels(vtkViewport *, bool);
762  void BuildLabels2D(vtkViewport *, bool);
763  void SetLabelPositions(vtkViewport *, bool);
764  void SetLabelPositions2D(vtkViewport *, bool);
765 
769  void RotateActor2DFromAxisProjection(vtkTextActor* pActor2D);
770 
774  void InitTitle();
775 
779  void InitExponent();
780 
786  void BuildTitle(bool);
787 
791  void BuildExponent(bool force);
792 
793  void BuildExponent2D(vtkViewport *viewport, bool force);
794 
795  void BuildTitle2D(vtkViewport *viewport, bool);
796 
797  void SetAxisPointsAndLines(void);
798 
799  bool BuildTickPoints(double p1[3], double p2[3], bool force);
800 
801  // Build major ticks for linear scale.
802  void BuildMajorTicks(double p1[3], double p2[3], double localCoordSys[3][3]);
803 
804  // Build major ticks for logarithmic scale.
805  void BuildMajorTicksLog(double p1[3], double p2[3], double localCoordSys[3][3]);
806 
807  // Build minor ticks for linear scale.
808  void BuildMinorTicks(double p1[3], double p2[3], double localCoordSys[3][3]);
809 
810  // Build minor ticks for logarithmic scale enabled
811  void BuildMinorTicksLog(double p1[3], double p2[3], double localCoordSys[3][3]);
812 
813  void BuildAxisGridLines(double p1[3], double p2[3], double localCoordSys[3][3]);
814 
815  bool TickVisibilityChanged(void);
816  vtkProperty *NewTitleProperty();
817  vtkProperty2D *NewTitleProperty2D();
818  vtkProperty *NewLabelProperty();
819 
820  bool BoundsDisplayCoordinateChanged(vtkViewport *viewport);
821 
822  vtkCoordinate *Point1Coordinate;
823  vtkCoordinate *Point2Coordinate;
824 
825  double MajorTickSize;
826  double MinorTickSize;
827 
828  // For each axis (for the inner gridline generation)
829  double MajorStart[3];
830  double DeltaMajor[3];
831  double MinorStart;
832  double DeltaMinor;
833 
834  // For the ticks, w.r.t to the set range
835  double MajorRangeStart;
836  double MinorRangeStart;
837 
841  double DeltaRangeMinor;
842 
846  double DeltaRangeMajor;
847 
848  int LastAxisPosition;
849  int LastAxisType;
850  int LastTickLocation;
851  double LastLabelStart;
852 
853  vtkPoints *MinorTickPts;
854  vtkPoints *MajorTickPts;
855  vtkPoints *GridlinePts;
856  vtkPoints *InnerGridlinePts;
857  vtkPoints *GridpolyPts;
858 
859  vtkVectorText *TitleVector;
860  vtkPolyDataMapper *TitleMapper;
861  vtkAxisFollower *TitleActor;
862  vtkTextActor *TitleActor2D;
863  vtkProp3DAxisFollower *TitleProp3D;
864  vtkTextActor3D *TitleActor3D;
865  vtkTextProperty *TitleTextProperty;
866 
868 
871  vtkVectorText *ExponentVector;
872  vtkPolyDataMapper *ExponentMapper;
873  vtkAxisFollower *ExponentActor;
874  vtkTextActor *ExponentActor2D;
875  vtkProp3DAxisFollower *ExponentProp3D;
876  vtkTextActor3D *ExponentActor3D;
878 
879  vtkVectorText **LabelVectors;
880  vtkPolyDataMapper **LabelMappers;
881  vtkAxisFollower **LabelActors;
882  vtkProp3DAxisFollower **LabelProps3D;
883  vtkTextActor **LabelActors2D;
884  vtkTextActor3D **LabelActors3D;
885  vtkTextProperty *LabelTextProperty;
886 
887  // Main line axis
888  vtkPolyData *AxisLines;
889  vtkPolyDataMapper *AxisLinesMapper;
890  vtkActor *AxisLinesActor;
891 
892  // Ticks of the axis
893  vtkPolyData *AxisMajorTicks, *AxisMinorTicks;
894  vtkPolyDataMapper *AxisMajorTicksMapper, *AxisMinorTicksMapper;
895  vtkActor *AxisMajorTicksActor, *AxisMinorTicksActor;
896 
897  vtkPolyData *Gridlines;
898  vtkPolyDataMapper *GridlinesMapper;
899  vtkActor *GridlinesActor;
900  vtkPolyData *InnerGridlines;
901  vtkPolyDataMapper *InnerGridlinesMapper;
902  vtkActor *InnerGridlinesActor;
903  vtkPolyData *Gridpolys;
904  vtkPolyDataMapper *GridpolysMapper;
905  vtkActor *GridpolysActor;
906 
907  vtkCamera *Camera;
909  vtkTimeStamp BuildTickPointsTime;
910  vtkTimeStamp BoundsTime;
911  vtkTimeStamp LabelBuildTime;
912  vtkTimeStamp TitleTextTime;
913  vtkTimeStamp ExponentTextTime;
914 
915  int AxisOnOrigin;
916 
917  int AxisHasZeroLength;
918 
919  int CalculateTitleOffset;
920  int CalculateLabelOffset;
921 
925  int Use2DMode;
926 
931  double VerticalOffsetXTitle2D;
932 
937  double HorizontalOffsetYTitle2D;
938 
945  int SaveTitlePosition;
946 
950  double TitleConstantPosition[2];
951 
955  bool NeedBuild2D;
956 
957  double LastMinDisplayCoordinate[3];
958  double LastMaxDisplayCoordinate[3];
959  double TickVector[3];
960 
962 
965  double ScreenSize;
966  double LabelOffset;
967  double TitleOffset;
968  double ExponentOffset;
969 };
971 
972 #endif
virtual void SetPoint1(double x[3])
Specify the position of the first point defining the axis.
Definition: vtkAxisActor.h:90
int TickLocation
The location of the ticks.
Definition: vtkAxisActor.h:709
double GridlineXLength
Definition: vtkAxisActor.h:728
char * Exponent
Definition: vtkAxisActor.h:695
vtkTimeStamp BuildTime
int DrawGridlinesOnly
Definition: vtkAxisActor.h:724
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
bool ExponentVisibility
Definition: vtkAxisActor.h:743
void SetAxisTypeToY(void)
Set/Get the type of this axis.
Definition: vtkAxisActor.h:421
int LastMinorTicksVisible
Definition: vtkAxisActor.h:702
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
Support the standard render methods.
abstract specification for Viewports
Definition: vtkViewport.h:47
represent surface properties of a geometric object
Definition: vtkProperty.h:64
int LastDrawGridpolys
Definition: vtkAxisActor.h:736
int LastDrawInnerGridlines
Definition: vtkAxisActor.h:733
virtual void SetPoint2(double x[3])
Specify the position of the second point defining the axis.
Definition: vtkAxisActor.h:101
virtual int RenderOverlay(vtkViewport *)
Definition: vtkProp.h:228
double GridlineZLength
Definition: vtkAxisActor.h:730
record modification and/or execution time
Definition: vtkTimeStamp.h:35
Create an axis with tick marks and labels.
Definition: vtkAxisActor.h:74
vtkProp3DAxisFollower ** GetLabelProps3D()
Get label actors responsigle for drawing label text.
Definition: vtkAxisActor.h:571
a vtkAbstractArray subclass for strings
int LastDrawGridlines
Definition: vtkAxisActor.h:725
void SetTickLocationToInside(void)
Definition: vtkAxisActor.h:204
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).
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
double GridlineYLength
Definition: vtkAxisActor.h:729
int DrawGridlinesLocation
Definition: vtkAxisActor.h:726
void SetAxisPositionToMaxMin(void)
Definition: vtkAxisActor.h:460
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
void SetAxisTypeToX(void)
Set/Get the type of this axis.
Definition: vtkAxisActor.h:420
An actor that displays text.
Definition: vtkTextActor.h:56
a simple class to control print indentation
Definition: vtkIndent.h:39
a virtual camera for 3D rendering
Definition: vtkCamera.h:50
void SetAxisPositionToMaxMax(void)
Definition: vtkAxisActor.h:458
vtkAxisFollower ** GetLabelActors()
Get label actors responsigle for drawing label text.
Definition: vtkAxisActor.h:555
void SetTickLocationToBoth(void)
Definition: vtkAxisActor.h:208
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
int LastTickVisibility
Definition: vtkAxisActor.h:740
An actor that displays text.
int NumberOfLabelsBuilt
Definition: vtkAxisActor.h:700
represent text properties.
char * LabelFormat
Definition: vtkAxisActor.h:698
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
Definition: vtkCoordinate.h:70
a subclass of vtkFollower that ensures that data is always parallel to the axis defined by a vtkAxisA...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double * GetBounds()
Return a reference to the Prop3D's composite transform.
void SetAxisPositionToMinMax(void)
Definition: vtkAxisActor.h:456
map vtkPolyData to graphics primitives
void SetAxisPositionToMinMin(void)
Definition: vtkAxisActor.h:454
a subclass of actor that always faces the camera
Definition: vtkFollower.h:46
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
Support the standard render methods.
int TitleAlignLocation
Hold the alignement property of the title related to the axis.
Definition: vtkAxisActor.h:715
a subclass of vtkProp3DFollower that ensures that data is always parallel to the axis defined by a vt...
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
int MinorTicksVisible
Definition: vtkAxisActor.h:701
int LastDrawGridlinesLocation
Definition: vtkAxisActor.h:727
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this actor.
represent surface properties of a 2D image
Definition: vtkProperty2D.h:40
void SetAxisTypeToZ(void)
Set/Get the type of this axis.
Definition: vtkAxisActor.h:422
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetTickLocationToOutside(void)
Definition: vtkAxisActor.h:206
represent and manipulate 3D points
Definition: vtkPoints.h:39
int ExponentLocation
Hold the alignement property of the exponent coming from the label values.
Definition: vtkAxisActor.h:721
int DrawInnerGridlines
Definition: vtkAxisActor.h:732
create polygonal text
Definition: vtkVectorText.h:47