28 #ifndef vtkAxisFollower_h
29 #define vtkAxisFollower_h
59 vtkSetMacro(AutoCenter,
int);
60 vtkGetMacro(AutoCenter,
int);
61 vtkBooleanMacro(AutoCenter,
int);
68 vtkSetMacro(EnableDistanceLOD,
int);
69 vtkGetMacro(EnableDistanceLOD,
int);
76 vtkSetClampMacro(DistanceLODThreshold,
double, 0.0, 1.0);
77 vtkGetMacro(DistanceLODThreshold,
double);
83 vtkSetMacro(EnableViewAngleLOD,
int);
84 vtkGetMacro(EnableViewAngleLOD,
int);
91 vtkSetClampMacro(ViewAngleLODThreshold,
double, 0.0, 1.0);
92 vtkGetMacro(ViewAngleLODThreshold,
double);
97 vtkSetMacro(ScreenOffset,
double);
98 vtkGetMacro(ScreenOffset,
double);
113 virtual void ComputeTransformMatrix(
vtkRenderer *ren);
122 double screenSize,
double position[3]);
129 void CalculateOrthogonalVectors(
double Rx[3],
double Ry[3],
double Rz[3],
135 double Rx[3],
double Ry[3],
double Rz[3],
139 void ComputerAutoCenterTranslation(
const double& autoScaleFactor,
143 int TestDistanceVisibility();
144 void ExecuteViewAngleVisibility(
double normal[3]);
146 bool IsTextUpsideDown(
double* a,
double* b);
164 int VisibleAtCurrentViewAngle;
177 #endif // vtkAxisFollower_h
abstract superclass for all actors, volumes and annotations
vtkWeakPointer< vtkAxisActor > Axis
represent and manipulate 4x4 transformation matrices
abstract specification for Viewports
virtual void Render(vtkRenderer *ren)
Create an axis with tick marks and labels.
abstract specification for renderers
void ShallowCopy(vtkProp *prop)
#define VTKRENDERINGANNOTATION_EXPORT
a simple class to control print indentation
a virtual camera for 3D rendering
double ViewAngleLODThreshold
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
abstract class specifies interface to map data to graphics primitives
a subclass of vtkFollower that ensures that data is always parallel to the axis defined by a vtkAxisA...
a subclass of actor that always faces the camera
static vtkFollower * New()
double DistanceLODThreshold
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)