VTK
vtkCubeAxesActor.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 =========================================================================*/
61 #ifndef vtkCubeAxesActor_h
62 #define vtkCubeAxesActor_h
63 
64 #define VTK_FLY_OUTER_EDGES 0
65 #define VTK_FLY_CLOSEST_TRIAD 1
66 #define VTK_FLY_FURTHEST_TRIAD 2
67 #define VTK_FLY_STATIC_TRIAD 3
68 #define VTK_FLY_STATIC_EDGES 4
69 
70 #define VTK_TICKS_INSIDE 0
71 #define VTK_TICKS_OUTSIDE 1
72 #define VTK_TICKS_BOTH 2
73 
74 #define VTK_GRID_LINES_ALL 0
75 #define VTK_GRID_LINES_CLOSEST 1
76 #define VTK_GRID_LINES_FURTHEST 2
77 
78 #define NUMBER_OF_ALIGNED_AXIS 4
79 
80 #include "vtkRenderingAnnotationModule.h" // For export macro
81 #include "vtkActor.h"
82 
83 class vtkAxisActor;
84 class vtkCamera;
85 class vtkTextProperty;
86 class vtkStringArray;
87 
89 {
90 public:
92  void PrintSelf(ostream& os, vtkIndent indent);
93 
96  static vtkCubeAxesActor *New();
97 
99 
103  virtual int RenderOverlay(vtkViewport*);
106 
108 
109  vtkSetMacro( RebuildAxes, bool );
110  vtkGetMacro( RebuildAxes, bool );
112 
114 
118  vtkSetVector6Macro(Bounds,double);
119  vtkGetVector6Macro(Bounds,double);
121 
123 
125  virtual void GetRenderedBounds(double rBounds[6]);
126  virtual double* GetRenderedBounds();
128 
130 
137  vtkSetVector2Macro( XAxisRange, double );
138  vtkSetVector2Macro( YAxisRange, double );
139  vtkSetVector2Macro( ZAxisRange, double );
140  vtkGetVector2Macro( XAxisRange, double );
141  vtkGetVector2Macro( YAxisRange, double );
143 
144 
149 
150  vtkGetVector2Macro( ZAxisRange, double );
151 
153 
156  void SetScreenSize(double screenSize);
157  vtkGetMacro(ScreenSize, double);
159 
161 
163  void SetLabelOffset(double offset);
164  vtkGetMacro(LabelOffset, double);
166 
168 
170  void SetTitleOffset(double offset);
171  vtkGetMacro(TitleOffset, double);
173 
175 
177  virtual void SetCamera(vtkCamera*);
180 
182 
186  vtkGetMacro(FlyMode, int);
188  {this->SetFlyMode(VTK_FLY_OUTER_EDGES);};
190  {this->SetFlyMode(VTK_FLY_CLOSEST_TRIAD);};
192  {this->SetFlyMode(VTK_FLY_FURTHEST_TRIAD);};
194  {this->SetFlyMode(VTK_FLY_STATIC_TRIAD);};
196  {this->SetFlyMode(VTK_FLY_STATIC_EDGES);};
198 
200 
215 
217 
219  vtkSetStringMacro(XLabelFormat);
220  vtkGetStringMacro(XLabelFormat);
221  vtkSetStringMacro(YLabelFormat);
222  vtkGetStringMacro(YLabelFormat);
223  vtkSetStringMacro(ZLabelFormat);
224  vtkGetStringMacro(ZLabelFormat);
226 
228 
231  vtkSetClampMacro(Inertia, int, 1, VTK_INT_MAX);
232  vtkGetMacro(Inertia, int);
234 
236 
239  vtkSetMacro(CornerOffset, double);
240  vtkGetMacro(CornerOffset, double);
242 
247 
249 
251  vtkSetMacro( EnableDistanceLOD, int );
252  vtkGetMacro( EnableDistanceLOD, int );
254 
256 
257  vtkSetClampMacro( DistanceLODThreshold, double, 0.0, 1.0 );
258  vtkGetMacro( DistanceLODThreshold, double);
260 
262 
264  vtkSetMacro( EnableViewAngleLOD, int );
265  vtkGetMacro( EnableViewAngleLOD, int );
267 
269 
270  vtkSetClampMacro( ViewAngleLODThreshold, double, 0., 1. );
271  vtkGetMacro( ViewAngleLODThreshold, double );
273 
275 
276  vtkSetMacro(XAxisVisibility,int);
277  vtkGetMacro(XAxisVisibility,int);
278  vtkBooleanMacro(XAxisVisibility,int);
279  vtkSetMacro(YAxisVisibility,int);
280  vtkGetMacro(YAxisVisibility,int);
281  vtkBooleanMacro(YAxisVisibility,int);
282  vtkSetMacro(ZAxisVisibility,int);
283  vtkGetMacro(ZAxisVisibility,int);
284  vtkBooleanMacro(ZAxisVisibility,int);
286 
288 
289  vtkSetMacro(XAxisLabelVisibility,int);
290  vtkGetMacro(XAxisLabelVisibility,int);
291  vtkBooleanMacro(XAxisLabelVisibility,int);
293 
294  vtkSetMacro(YAxisLabelVisibility,int);
295  vtkGetMacro(YAxisLabelVisibility,int);
296  vtkBooleanMacro(YAxisLabelVisibility,int);
297 
298  vtkSetMacro(ZAxisLabelVisibility,int);
299  vtkGetMacro(ZAxisLabelVisibility,int);
300  vtkBooleanMacro(ZAxisLabelVisibility,int);
301 
303 
304  vtkSetMacro(XAxisTickVisibility,int);
305  vtkGetMacro(XAxisTickVisibility,int);
306  vtkBooleanMacro(XAxisTickVisibility,int);
308 
309  vtkSetMacro(YAxisTickVisibility,int);
310  vtkGetMacro(YAxisTickVisibility,int);
311  vtkBooleanMacro(YAxisTickVisibility,int);
312 
313  vtkSetMacro(ZAxisTickVisibility,int);
314  vtkGetMacro(ZAxisTickVisibility,int);
315  vtkBooleanMacro(ZAxisTickVisibility,int);
316 
318 
319  vtkSetMacro(XAxisMinorTickVisibility,int);
320  vtkGetMacro(XAxisMinorTickVisibility,int);
321  vtkBooleanMacro(XAxisMinorTickVisibility,int);
323 
324  vtkSetMacro(YAxisMinorTickVisibility,int);
325  vtkGetMacro(YAxisMinorTickVisibility,int);
326  vtkBooleanMacro(YAxisMinorTickVisibility,int);
327 
328  vtkSetMacro(ZAxisMinorTickVisibility,int);
329  vtkGetMacro(ZAxisMinorTickVisibility,int);
330  vtkBooleanMacro(ZAxisMinorTickVisibility,int);
331 
332  vtkSetMacro(DrawXGridlines,int);
333  vtkGetMacro(DrawXGridlines,int);
334  vtkBooleanMacro(DrawXGridlines,int);
335 
336  vtkSetMacro(DrawYGridlines,int);
337  vtkGetMacro(DrawYGridlines,int);
338  vtkBooleanMacro(DrawYGridlines,int);
339 
340  vtkSetMacro(DrawZGridlines,int);
341  vtkGetMacro(DrawZGridlines,int);
342  vtkBooleanMacro(DrawZGridlines,int);
343 
344  vtkSetMacro(DrawXInnerGridlines,int);
345  vtkGetMacro(DrawXInnerGridlines,int);
346  vtkBooleanMacro(DrawXInnerGridlines,int);
347 
348  vtkSetMacro(DrawYInnerGridlines,int);
349  vtkGetMacro(DrawYInnerGridlines,int);
350  vtkBooleanMacro(DrawYInnerGridlines,int);
351 
352  vtkSetMacro(DrawZInnerGridlines,int);
353  vtkGetMacro(DrawZInnerGridlines,int);
354  vtkBooleanMacro(DrawZInnerGridlines,int);
355 
356  vtkSetMacro(DrawXGridpolys,int);
357  vtkGetMacro(DrawXGridpolys,int);
358  vtkBooleanMacro(DrawXGridpolys,int);
359 
360  vtkSetMacro(DrawYGridpolys,int);
361  vtkGetMacro(DrawYGridpolys,int);
362  vtkBooleanMacro(DrawYGridpolys,int);
363 
364  vtkSetMacro(DrawZGridpolys,int);
365  vtkGetMacro(DrawZGridpolys,int);
366  vtkBooleanMacro(DrawZGridpolys,int);
367 
370 
373 
375 
383 
385 
393 
395 
403 
405 
413 
415 
417  vtkGetMacro(TickLocation, int);
419 
421  { this->SetTickLocation(VTK_TICKS_INSIDE); };
423  { this->SetTickLocation(VTK_TICKS_OUTSIDE); };
425  { this->SetTickLocation(VTK_TICKS_BOTH); };
426 
427  void SetLabelScaling(bool, int, int, int);
428 
430 
432  void SetUseTextActor3D( int val );
435 
437 
439  void SetUse2DMode( int val );
442 
445 
447 
448  vtkSetVector6Macro(OrientedBounds,double);
449  vtkGetVector6Macro(OrientedBounds, double);
451 
453 
454  vtkSetMacro(UseOrientedBounds, int);
455  vtkGetMacro(UseOrientedBounds, int);
457 
459 
460  vtkSetVector3Macro(AxisBaseForX,double);
461  vtkGetVector3Macro(AxisBaseForX, double);
463 
465 
466  vtkSetVector3Macro(AxisBaseForY,double);
467  vtkGetVector3Macro(AxisBaseForY, double);
469 
471 
472  vtkSetVector3Macro(AxisBaseForZ,double);
473  vtkGetVector3Macro(AxisBaseForZ, double);
475 
477 
479  vtkSetVector3Macro(AxisOrigin,double);
480  vtkGetVector3Macro(AxisOrigin, double);
482 
484 
485  vtkSetMacro(UseAxisOrigin, int);
486  vtkGetMacro(UseAxisOrigin, int);
488 
490 
491  vtkSetMacro(GridLineLocation,int);
492  vtkGetMacro(GridLineLocation,int);
494 
496 
499  vtkSetMacro(StickyAxes,int);
500  vtkGetMacro(StickyAxes,int);
501  vtkBooleanMacro(StickyAxes,int);
503 
505 
509  vtkSetMacro(CenterStickyAxes,int);
510  vtkGetMacro(CenterStickyAxes,int);
511  vtkBooleanMacro(CenterStickyAxes,int);
513 
514 protected:
517 
519 
522  void ComputeStickyAxesBoundingSphere(vtkViewport* viewport, const double bounds[6],
523  double sphereCenter[3], double & sphereRadius);
525 
527  void GetViewportLimitedBounds(vtkViewport* viewport, double bounds[6]);
528 
530 
532  static void GetBoundsPointBits(unsigned int pointIndex,
533  unsigned int & xBit,
534  unsigned int & yBit,
535  unsigned int & zBit);
537 
539  static void GetBoundsPoint(unsigned int pointIndex, const double bounds[6], double point[3]);
540 
541  int LabelExponent(double min, double max);
542 
543  int Digits(double min, double max);
544 
545  double MaxOf(double, double);
546  double MaxOf(double, double, double, double);
547 
548  double FFix(double);
549  double FSign(double, double);
550  int FRound( double fnt );
551  int GetNumTicks( double range, double fxt);
552 
553  void UpdateLabels(vtkAxisActor **axis, int index);
554 
555  double Bounds[6]; //Define bounds explicitly
556 
558 
559  int FlyMode;
560 
561  // Expose internally closest axis index computation
562  int FindClosestAxisIndex(double pts[8][3]);
563 
564  // Expose internally furthest axis index computation
565  int FindFurtherstAxisIndex(double pts[8][3]);
566 
567  // Expose internally the boundary edge fly mode axis index computation
568  void FindBoundaryEdge(int &indexOfAxisX, int &indexOfAxisY, int &indexOfAxisZ,
569  double pts[8][3]);
570 
574  void UpdateGridLineVisibility(int axisIndex);
575 
576  // VTK_ALL_GRID_LINES 0
577  // VTK_CLOSEST_GRID_LINES 1
578  // VTK_FURTHEST_GRID_LINES 2
580 
583 
586 
590 
594 
598 
602 
604 
610 
612 
613  char *XTitle;
614  char *XUnits;
615  char *YTitle;
616  char *YUnits;
617  char *ZTitle;
618  char *ZUnits;
619 
623 
625 
629 
633 
637 
641 
645 
649 
653 
657 
658  double CornerOffset;
659 
660  int Inertia;
661 
663 
664  int InertiaLocs[3];
665 
667 
668  vtkTextProperty* TitleTextProperty[3];
669  vtkStringArray* AxisLabels[3];
670 
671  vtkTextProperty* LabelTextProperty[3];
672 
685 
686  double RenderedBounds[6];
687  double OrientedBounds[6];
689 
690  double AxisOrigin[3];
692 
693  double AxisBaseForX[3];
694  double AxisBaseForY[3];
695  double AxisBaseForZ[3];
696 
697 private:
698  vtkCubeAxesActor(const vtkCubeAxesActor&); // Not implemented
699  void operator=(const vtkCubeAxesActor&); // Not implemented
700 
701  vtkSetStringMacro(ActualXLabel);
702  vtkSetStringMacro(ActualYLabel);
703  vtkSetStringMacro(ActualZLabel);
704 
706  int LastUseOrientedBounds;
707  int LastXPow;
708  int LastYPow;
709  int LastZPow;
710 
711  int UserXPow;
712  int UserYPow;
713  int UserZPow;
714 
715  bool AutoLabelScaling;
716 
717  int LastXAxisDigits;
718  int LastYAxisDigits;
719  int LastZAxisDigits;
720 
721  double LastXRange[2];
722  double LastYRange[2];
723  double LastZRange[2];
724  double LastBounds[6];
725 
726  int LastFlyMode;
727 
728  int RenderAxesX[NUMBER_OF_ALIGNED_AXIS];
729  int RenderAxesY[NUMBER_OF_ALIGNED_AXIS];
730  int RenderAxesZ[NUMBER_OF_ALIGNED_AXIS];
731 
732  int NumberOfAxesX;
733  int NumberOfAxesY;
734  int NumberOfAxesZ;
735 
736  bool MustAdjustXValue;
737  bool MustAdjustYValue;
738  bool MustAdjustZValue;
739 
740  bool ForceXLabelReset;
741  bool ForceYLabelReset;
742  bool ForceZLabelReset;
743 
744  double XAxisRange[2];
745  double YAxisRange[2];
746  double ZAxisRange[2];
747 
748  double LabelScale;
749  double TitleScale;
750 
751  double ScreenSize;
752  double LabelOffset;
753  double TitleOffset;
754 
756 
758  double MajorStart[3];
759  double DeltaMajor[3];
761 
762  int RenderGeometry(bool &initialRender, vtkViewport *viewport, bool checkAxisVisibility,int (vtkAxisActor::*renderMethod)(vtkViewport*));
763 
764  void TransformBounds(vtkViewport *viewport, const double bounds[6],
765  double pts[8][3]);
766  void AdjustAxes(double bounds[6],
767  double xCoords[NUMBER_OF_ALIGNED_AXIS][6],
768  double yCoords[NUMBER_OF_ALIGNED_AXIS][6],
769  double zCoords[NUMBER_OF_ALIGNED_AXIS][6],
770  double xRange[2], double yRange[2], double zRange[2]);
771 
772  bool ComputeTickSize(double bounds[6]);
773  void AdjustValues(const double xRange[2],
774  const double yRange[2],
775  const double zRange[2]);
776  void AdjustRange(const double bounds[6]);
777  void BuildAxes(vtkViewport *);
778  void DetermineRenderAxes(vtkViewport *);
779  void SetNonDependentAttributes(void);
780  void BuildLabels(vtkAxisActor *axes[NUMBER_OF_ALIGNED_AXIS]);
781  void AdjustTicksComputeRange(vtkAxisActor *axes[NUMBER_OF_ALIGNED_AXIS],
782  double rangeMin, double rangeMax);
783 
784  void AutoScale(vtkViewport *viewport);
785  void AutoScale(vtkViewport *viewport, vtkAxisActor *axes[NUMBER_OF_ALIGNED_AXIS]);
786  double AutoScale(vtkViewport *viewport, double screenSize, double position[3]);
787 };
788 
789 
790 #endif
vtkCubeAxesActor::SetTitleOffset
void SetTitleOffset(double offset)
vtkCubeAxesActor::GetYAxesGridlinesProperty
vtkProperty * GetYAxesGridlinesProperty()
vtkGetVector6Macro
#define vtkGetVector6Macro(name, type)
Definition: vtkSetGet.h:380
vtkCubeAxesActor::ActualYLabel
char * ActualYLabel
Definition: vtkCubeAxesActor.h:621
vtkCubeAxesActor::GetXAxesLinesProperty
vtkProperty * GetXAxesLinesProperty()
vtkRenderingAnnotationModule.h
vtkCubeAxesActor::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *)
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:132
vtkCubeAxesActor::SetXAxesLinesProperty
void SetXAxesLinesProperty(vtkProperty *)
NUMBER_OF_ALIGNED_AXIS
#define NUMBER_OF_ALIGNED_AXIS
Definition: vtkCubeAxesActor.h:78
vtkCubeAxesActor::ZAxesGridpolysProperty
vtkProperty * ZAxesGridpolysProperty
Definition: vtkCubeAxesActor.h:684
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkCubeAxesActor::StickyAxes
int StickyAxes
Definition: vtkCubeAxesActor.h:582
vtkCubeAxesActor::RenderSomething
int RenderSomething
Definition: vtkCubeAxesActor.h:666
vtkCubeAxesActor::SetUseTextActor3D
void SetUseTextActor3D(int val)
vtkCubeAxesActor::XAxisVisibility
int XAxisVisibility
Definition: vtkCubeAxesActor.h:626
vtkCubeAxesActor::YLabelFormat
char * YLabelFormat
Definition: vtkCubeAxesActor.h:655
vtkCubeAxesActor::ZAxesGridlinesProperty
vtkProperty * ZAxesGridlinesProperty
Definition: vtkCubeAxesActor.h:678
vtkCubeAxesActor::ZTitle
char * ZTitle
Definition: vtkCubeAxesActor.h:617
vtkSetVector2Macro
#define vtkSetVector2Macro(name, type)
Definition: vtkSetGet.h:254
vtkCubeAxesActor::GetUseTextActor3D
int GetUseTextActor3D()
vtkAxisActor
Create an axis with tick marks and labels.
Definition: vtkAxisActor.h:94
vtkCubeAxesActor::MaxOf
double MaxOf(double, double, double, double)
vtkCubeAxesActor::DrawYGridlines
int DrawYGridlines
Definition: vtkCubeAxesActor.h:643
vtkCubeAxesActor::ZAxisTickVisibility
int ZAxisTickVisibility
Definition: vtkCubeAxesActor.h:632
vtkCubeAxesActor::GetXAxesInnerGridlinesProperty
vtkProperty * GetXAxesInnerGridlinesProperty()
vtkCubeAxesActor::XAxesGridlinesProperty
vtkProperty * XAxesGridlinesProperty
Definition: vtkCubeAxesActor.h:676
vtkGetVector2Macro
#define vtkGetVector2Macro(name, type)
Definition: vtkSetGet.h:270
vtkCubeAxesActor::SetTickLocationToBoth
void SetTickLocationToBoth(void)
Definition: vtkCubeAxesActor.h:424
vtkCubeAxesActor::DistanceLODThreshold
double DistanceLODThreshold
Definition: vtkCubeAxesActor.h:593
vtkCubeAxesActor::MaxOf
double MaxOf(double, double)
vtkCubeAxesActor::XAxisLabelVisibility
int XAxisLabelVisibility
Definition: vtkCubeAxesActor.h:638
vtkCubeAxesActor::vtkCubeAxesActor
vtkCubeAxesActor()
vtkSetVector3Macro
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:287
vtkCubeAxesActor::ZUnits
char * ZUnits
Definition: vtkCubeAxesActor.h:618
vtkCubeAxesActor::SetAxisLabels
void SetAxisLabels(int axis, vtkStringArray *value)
vtkCubeAxesActor::XAxesInnerGridlinesProperty
vtkProperty * XAxesInnerGridlinesProperty
Definition: vtkCubeAxesActor.h:679
vtkCubeAxesActor::SetZAxesGridpolysProperty
void SetZAxesGridpolysProperty(vtkProperty *)
vtkCubeAxesActor::RebuildAxes
bool RebuildAxes
Definition: vtkCubeAxesActor.h:611
VTK_FLY_FURTHEST_TRIAD
#define VTK_FLY_FURTHEST_TRIAD
Definition: vtkCubeAxesActor.h:66
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:35
VTK_FLY_STATIC_EDGES
#define VTK_FLY_STATIC_EDGES
Definition: vtkCubeAxesActor.h:68
vtkCubeAxesActor::SetFlyModeToClosestTriad
void SetFlyModeToClosestTriad()
Definition: vtkCubeAxesActor.h:189
vtkCubeAxesActor::GetXAxesGridpolysProperty
vtkProperty * GetXAxesGridpolysProperty()
vtkCubeAxesActor::SetYAxesGridpolysProperty
void SetYAxesGridpolysProperty(vtkProperty *)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkCubeAxesActor::XAxisMinorTickVisibility
int XAxisMinorTickVisibility
Definition: vtkCubeAxesActor.h:634
vtkCubeAxesActor
create a plot of a bounding box edges -
Definition: vtkCubeAxesActor.h:89
vtkCubeAxesActor::RenderOverlay
virtual int RenderOverlay(vtkViewport *)
vtkCubeAxesActor::GetZAxesGridlinesProperty
vtkProperty * GetZAxesGridlinesProperty()
vtkCubeAxesActor::SetFlyModeToStaticEdges
void SetFlyModeToStaticEdges()
Definition: vtkCubeAxesActor.h:195
vtkCubeAxesActor::ComputeStickyAxesBoundingSphere
void ComputeStickyAxesBoundingSphere(vtkViewport *viewport, const double bounds[6], double sphereCenter[3], double &sphereRadius)
vtkCubeAxesActor::SetYAxesInnerGridlinesProperty
void SetYAxesInnerGridlinesProperty(vtkProperty *)
vtkCubeAxesActor::EnableDistanceLOD
int EnableDistanceLOD
Definition: vtkCubeAxesActor.h:589
vtkCubeAxesActor::GetViewportLimitedBounds
void GetViewportLimitedBounds(vtkViewport *viewport, double bounds[6])
vtkCubeAxesActor::GetXAxesGridlinesProperty
vtkProperty * GetXAxesGridlinesProperty()
vtkCubeAxesActor::RenderTranslucentPolygonalGeometry
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
vtkgl::range
GLenum GLint * range
Definition: vtkgl.h:14180
vtkCubeAxesActor::YAxisTickVisibility
int YAxisTickVisibility
Definition: vtkCubeAxesActor.h:631
vtkCubeAxesActor::SetZAxesGridlinesProperty
void SetZAxesGridlinesProperty(vtkProperty *)
vtkCubeAxesActor::Digits
int Digits(double min, double max)
vtkCubeAxesActor::SetYAxesGridlinesProperty
void SetYAxesGridlinesProperty(vtkProperty *)
vtkCubeAxesActor::DrawYInnerGridlines
int DrawYInnerGridlines
Definition: vtkCubeAxesActor.h:647
vtkCubeAxesActor::XAxisTickVisibility
int XAxisTickVisibility
Definition: vtkCubeAxesActor.h:630
vtkCubeAxesActor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkCubeAxesActor::YAxesInnerGridlinesProperty
vtkProperty * YAxesInnerGridlinesProperty
Definition: vtkCubeAxesActor.h:680
max
#define max(a, b)
Definition: vtkX3DExporterFIWriterHelper.h:30
vtkCubeAxesActor::ZAxisMinorTickVisibility
int ZAxisMinorTickVisibility
Definition: vtkCubeAxesActor.h:636
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkCubeAxesActor::GetZAxesInnerGridlinesProperty
vtkProperty * GetZAxesInnerGridlinesProperty()
vtkgl::val
GLuint GLfloat * val
Definition: vtkgl.h:13789
vtkCubeAxesActor::YAxisVisibility
int YAxisVisibility
Definition: vtkCubeAxesActor.h:627
vtkX3D::position
@ position
Definition: vtkX3D.h:261
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkX3D::point
@ point
Definition: vtkX3D.h:236
vtkCubeAxesActor::LabelExponent
int LabelExponent(double min, double max)
vtkCubeAxesActor::GetBoundsPointBits
static void GetBoundsPointBits(unsigned int pointIndex, unsigned int &xBit, unsigned int &yBit, unsigned int &zBit)
vtkCubeAxesActor::UseOrientedBounds
int UseOrientedBounds
Definition: vtkCubeAxesActor.h:688
vtkGetVector3Macro
#define vtkGetVector3Macro(name, type)
Definition: vtkSetGet.h:304
vtkgl::value
GLsizei const GLfloat * value
Definition: vtkgl.h:12021
vtkCubeAxesActor::SetXAxesGridlinesProperty
void SetXAxesGridlinesProperty(vtkProperty *)
vtkCubeAxesActor::GridLineLocation
int GridLineLocation
Definition: vtkCubeAxesActor.h:579
vtkCubeAxesActor::New
static vtkCubeAxesActor * New()
vtkCubeAxesActor::SetTickLocationToOutside
void SetTickLocationToOutside(void)
Definition: vtkCubeAxesActor.h:422
vtkCubeAxesActor::Inertia
int Inertia
Definition: vtkCubeAxesActor.h:660
VTK_FLY_OUTER_EDGES
#define VTK_FLY_OUTER_EDGES
Definition: vtkCubeAxesActor.h:64
vtkCubeAxesActor::CornerOffset
double CornerOffset
Definition: vtkCubeAxesActor.h:658
vtkCubeAxesActor::GetTitleTextProperty
vtkTextProperty * GetTitleTextProperty(int)
vtkCubeAxesActor::GetLabelTextProperty
vtkTextProperty * GetLabelTextProperty(int)
vtkCubeAxesActor::ViewAngleLODThreshold
double ViewAngleLODThreshold
Definition: vtkCubeAxesActor.h:601
vtkCubeAxesActor::FlyMode
int FlyMode
Definition: vtkCubeAxesActor.h:559
vtkCubeAxesActor::RenderTranslucentGeometry
virtual int RenderTranslucentGeometry(vtkViewport *)
vtkCubeAxesActor::EnableViewAngleLOD
int EnableViewAngleLOD
Definition: vtkCubeAxesActor.h:597
vtkCubeAxesActor::YAxisMinorTickVisibility
int YAxisMinorTickVisibility
Definition: vtkCubeAxesActor.h:635
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkCubeAxesActor::GetYAxesLinesProperty
vtkProperty * GetYAxesLinesProperty()
vtkCubeAxesActor::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *)
vtkCubeAxesActor::~vtkCubeAxesActor
~vtkCubeAxesActor()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkCubeAxesActor::YAxesGridpolysProperty
vtkProperty * YAxesGridpolysProperty
Definition: vtkCubeAxesActor.h:683
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkCubeAxesActor::FindFurtherstAxisIndex
int FindFurtherstAxisIndex(double pts[8][3])
vtkCubeAxesActor::DrawXGridlines
int DrawXGridlines
Definition: vtkCubeAxesActor.h:642
vtkCamera
a virtual camera for 3D rendering
Definition: vtkCamera.h:49
vtkCubeAxesActor::GetBoundsPoint
static void GetBoundsPoint(unsigned int pointIndex, const double bounds[6], double point[3])
vtkCubeAxesActor::UpdateLabels
void UpdateLabels(vtkAxisActor **axis, int index)
vtkCubeAxesActor::SetFlyModeToFurthestTriad
void SetFlyModeToFurthestTriad()
Definition: vtkCubeAxesActor.h:191
vtkActor.h
vtkCubeAxesActor::XAxesLinesProperty
vtkProperty * XAxesLinesProperty
Definition: vtkCubeAxesActor.h:673
vtkCubeAxesActor::ActualXLabel
char * ActualXLabel
Definition: vtkCubeAxesActor.h:620
vtkgl::offset
GLintptr offset
Definition: vtkgl.h:11844
vtkCubeAxesActor::UpdateGridLineVisibility
void UpdateGridLineVisibility(int axisIndex)
vtkCubeAxesActor::DrawZGridlines
int DrawZGridlines
Definition: vtkCubeAxesActor.h:644
vtkCubeAxesActor::ZAxesLinesProperty
vtkProperty * ZAxesLinesProperty
Definition: vtkCubeAxesActor.h:675
vtkCubeAxesActor::YAxesGridlinesProperty
vtkProperty * YAxesGridlinesProperty
Definition: vtkCubeAxesActor.h:677
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkCubeAxesActor::SetLabelScaling
void SetLabelScaling(bool, int, int, int)
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkCubeAxesActor::SetTickLocationToInside
void SetTickLocationToInside(void)
Definition: vtkCubeAxesActor.h:420
VTK_FLY_STATIC_TRIAD
#define VTK_FLY_STATIC_TRIAD
Definition: vtkCubeAxesActor.h:67
VTK_TICKS_INSIDE
#define VTK_TICKS_INSIDE
Definition: vtkCubeAxesActor.h:70
vtkCubeAxesActor::DrawXGridpolys
int DrawXGridpolys
Definition: vtkCubeAxesActor.h:650
vtkCubeAxesActor::DrawXInnerGridlines
int DrawXInnerGridlines
Definition: vtkCubeAxesActor.h:646
vtkCubeAxesActor::GetRenderedBounds
virtual double * GetRenderedBounds()
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkCubeAxesActor::SetYAxesLinesProperty
void SetYAxesLinesProperty(vtkProperty *)
vtkCubeAxesActor::SetSaveTitlePosition
void SetSaveTitlePosition(int val)
vtkCubeAxesActor::ActualZLabel
char * ActualZLabel
Definition: vtkCubeAxesActor.h:622
vtkCubeAxesActor::FFix
double FFix(double)
vtkTextProperty
represent text properties.
Definition: vtkTextProperty.h:39
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkCubeAxesActor::SetZAxesInnerGridlinesProperty
void SetZAxesInnerGridlinesProperty(vtkProperty *)
vtkCubeAxesActor::UseAxisOrigin
int UseAxisOrigin
Definition: vtkCubeAxesActor.h:691
vtkCubeAxesActor::RenderCount
int RenderCount
Definition: vtkCubeAxesActor.h:662
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkCubeAxesActor::DrawZGridpolys
int DrawZGridpolys
Definition: vtkCubeAxesActor.h:652
vtkCubeAxesActor::ZAxesInnerGridlinesProperty
vtkProperty * ZAxesInnerGridlinesProperty
Definition: vtkCubeAxesActor.h:681
vtkCubeAxesActor::YAxisLabelVisibility
int YAxisLabelVisibility
Definition: vtkCubeAxesActor.h:639
vtkCubeAxesActor::TickLocation
int TickLocation
Definition: vtkCubeAxesActor.h:624
vtkCubeAxesActor::HasTranslucentPolygonalGeometry
int HasTranslucentPolygonalGeometry()
vtkgl::index
GLuint index
Definition: vtkgl.h:11983
vtkCubeAxesActor::YTitle
char * YTitle
Definition: vtkCubeAxesActor.h:615
vtkCubeAxesActor::SetFlyModeToOuterEdges
void SetFlyModeToOuterEdges()
Definition: vtkCubeAxesActor.h:187
vtkCubeAxesActor::Camera
vtkCamera * Camera
Definition: vtkCubeAxesActor.h:557
vtkCubeAxesActor::GetAxisLabels
vtkStringArray * GetAxisLabels(int axis)
vtkCubeAxesActor::XLabelFormat
char * XLabelFormat
Definition: vtkCubeAxesActor.h:654
vtkCubeAxesActor::GetZAxesLinesProperty
vtkProperty * GetZAxesLinesProperty()
vtkCubeAxesActor::YUnits
char * YUnits
Definition: vtkCubeAxesActor.h:616
vtkSetVector6Macro
#define vtkSetVector6Macro(name, type)
Definition: vtkSetGet.h:360
vtkCubeAxesActor::XTitle
char * XTitle
Definition: vtkCubeAxesActor.h:613
vtkCubeAxesActor::YAxesLinesProperty
vtkProperty * YAxesLinesProperty
Definition: vtkCubeAxesActor.h:674
vtkCubeAxesActor::SetLabelOffset
void SetLabelOffset(double offset)
vtkCubeAxesActor::XUnits
char * XUnits
Definition: vtkCubeAxesActor.h:614
vtkCubeAxesActor::GetYAxesInnerGridlinesProperty
vtkProperty * GetYAxesInnerGridlinesProperty()
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:45
vtkCubeAxesActor::GetRenderedBounds
virtual void GetRenderedBounds(double rBounds[6])
vtkCubeAxesActor::SetXAxesGridpolysProperty
void SetXAxesGridpolysProperty(vtkProperty *)
vtkProperty
represent surface properties of a geometric object
Definition: vtkProperty.h:64
VTK_TICKS_BOTH
#define VTK_TICKS_BOTH
Definition: vtkCubeAxesActor.h:72
vtkCubeAxesActor::FindBoundaryEdge
void FindBoundaryEdge(int &indexOfAxisX, int &indexOfAxisY, int &indexOfAxisZ, double pts[8][3])
vtkCubeAxesActor::SetScreenSize
void SetScreenSize(double screenSize)
vtkCubeAxesActor::ZLabelFormat
char * ZLabelFormat
Definition: vtkCubeAxesActor.h:656
vtkCubeAxesActor::ZAxisLabelVisibility
int ZAxisLabelVisibility
Definition: vtkCubeAxesActor.h:640
vtkCubeAxesActor::FSign
double FSign(double, double)
vtkCubeAxesActor::SetUse2DMode
void SetUse2DMode(int val)
vtkCubeAxesActor::SetCamera
virtual void SetCamera(vtkCamera *)
vtkCubeAxesActor::DrawYGridpolys
int DrawYGridpolys
Definition: vtkCubeAxesActor.h:651
vtkCubeAxesActor::GetUse2DMode
int GetUse2DMode()
vtkCubeAxesActor::DrawZInnerGridlines
int DrawZInnerGridlines
Definition: vtkCubeAxesActor.h:648
vtkCubeAxesActor::FRound
int FRound(double fnt)
vtkCubeAxesActor::GetYAxesGridpolysProperty
vtkProperty * GetYAxesGridpolysProperty()
vtkCubeAxesActor::GetZAxesGridpolysProperty
vtkProperty * GetZAxesGridpolysProperty()
vtkCubeAxesActor::SetZAxesLinesProperty
void SetZAxesLinesProperty(vtkProperty *)
vtkCubeAxesActor::CenterStickyAxes
int CenterStickyAxes
Definition: vtkCubeAxesActor.h:585
vtkCubeAxesActor::SetFlyModeToStaticTriad
void SetFlyModeToStaticTriad()
Definition: vtkCubeAxesActor.h:193
vtkCubeAxesActor::FindClosestAxisIndex
int FindClosestAxisIndex(double pts[8][3])
vtkCubeAxesActor::GetNumTicks
int GetNumTicks(double range, double fxt)
VTKRENDERINGANNOTATION_EXPORT
#define VTKRENDERINGANNOTATION_EXPORT
Definition: vtkRenderingAnnotationModule.h:15
BuildTime
vtkTimeStamp BuildTime
Definition: vtkOpenGLExtensionManager.h:327
vtkCubeAxesActor::XAxesGridpolysProperty
vtkProperty * XAxesGridpolysProperty
Definition: vtkCubeAxesActor.h:682
VTK_TICKS_OUTSIDE
#define VTK_TICKS_OUTSIDE
Definition: vtkCubeAxesActor.h:71
vtkCubeAxesActor::SetXAxesInnerGridlinesProperty
void SetXAxesInnerGridlinesProperty(vtkProperty *)
vtkCubeAxesActor::ZAxisVisibility
int ZAxisVisibility
Definition: vtkCubeAxesActor.h:628
VTK_FLY_CLOSEST_TRIAD
#define VTK_FLY_CLOSEST_TRIAD
Definition: vtkCubeAxesActor.h:65