28 #ifndef __vtkAxisFollower_h
29 #define __vtkAxisFollower_h
58 vtkSetMacro(AutoCenter,
int);
59 vtkGetMacro(AutoCenter,
int);
60 vtkBooleanMacro(AutoCenter,
int);
67 vtkSetMacro(EnableDistanceLOD,
int);
68 vtkGetMacro(EnableDistanceLOD,
int);
75 vtkSetClampMacro(DistanceLODThreshold,
double, 0.0, 1.0);
76 vtkGetMacro(DistanceLODThreshold,
double);
82 vtkSetMacro(EnableViewAngleLOD,
int);
83 vtkGetMacro(EnableViewAngleLOD,
int);
90 vtkSetClampMacro(ViewAngleLODThreshold,
double, 0.0, 1.0);
91 vtkGetMacro(ViewAngleLODThreshold,
double);
96 vtkSetMacro(ScreenOffset,
double);
97 vtkGetMacro(ScreenOffset,
double);
112 virtual void ComputeTransformMatrix(
vtkRenderer *ren);
121 double screenSize,
double position[3]);
128 void CalculateOrthogonalVectors(
double Rx[3],
double Ry[3],
double Rz[3],
134 double Rx[3],
double Ry[3],
double Rz[3],
138 void ComputerAutoCenterTranslation(
const double& autoScaleFactor,
142 int TestDistanceVisibility();
143 void ExecuteViewAngleVisibility(
double normal[3]);
160 int AxisPointingLeft;
161 int VisibleAtCurrentViewAngle;
174 #endif // __vtkAxisFollower_h