29 #ifndef vtkAxisFollower_h
30 #define vtkAxisFollower_h
33 #include "vtkRenderingAnnotationModule.h"
77 vtkSetMacro(EnableDistanceLOD,
int);
78 vtkGetMacro(EnableDistanceLOD,
int);
87 vtkSetClampMacro(DistanceLODThreshold,
double, 0.0, 1.0);
88 vtkGetMacro(DistanceLODThreshold,
double);
97 vtkSetMacro(EnableViewAngleLOD,
int);
98 vtkGetMacro(EnableViewAngleLOD,
int);
107 vtkSetClampMacro(ViewAngleLODThreshold,
double, 0.0, 1.0);
108 vtkGetMacro(ViewAngleLODThreshold,
double);
116 double GetScreenOffset();
117 void SetScreenOffset(
double offset);
125 vtkSetVector2Macro(ScreenOffsetVector,
double);
126 vtkGetVector2Macro(ScreenOffsetVector,
double);
144 virtual void ComputeTransformMatrix(
vtkRenderer* ren);
155 static double AutoScale(
162 void CalculateOrthogonalVectors(
169 void ComputerAutoCenterTranslation(
const double& autoScaleFactor,
double translation[3]);
171 int TestDistanceVisibility();
172 void ExecuteViewAngleVisibility(
double normal[3]);
174 bool IsTextUpsideDown(
double* a,
double* b);
184 double ScreenOffsetVector[2];
190 int VisibleAtCurrentViewAngle;
199 #endif // vtkAxisFollower_h