28 #ifndef vtkProp3DAxisFollower_h
29 #define vtkProp3DAxisFollower_h
61 vtkSetMacro(AutoCenter,
int);
62 vtkGetMacro(AutoCenter,
int);
63 vtkBooleanMacro(AutoCenter,
int);
70 vtkSetMacro(EnableDistanceLOD,
int);
71 vtkGetMacro(EnableDistanceLOD,
int);
78 vtkSetClampMacro(DistanceLODThreshold,
double, 0.0, 1.0);
79 vtkGetMacro(DistanceLODThreshold,
double);
85 vtkSetMacro(EnableViewAngleLOD,
int);
86 vtkGetMacro(EnableViewAngleLOD,
int);
93 vtkSetClampMacro(ViewAngleLODThreshold,
double, 0.0, 1.0);
94 vtkGetMacro(ViewAngleLODThreshold,
double);
99 vtkSetMacro(ScreenOffset,
double);
100 vtkGetMacro(ScreenOffset,
double);
115 double screenSize,
double position[3]);
134 void CalculateOrthogonalVectors(
double Rx[3],
double Ry[3],
double Rz[3],
140 double Rx[3],
double Ry[3],
double Rz[3],
144 void ComputerAutoCenterTranslation(
const double& autoScaleFactor,
148 int TestDistanceVisibility();
149 void ExecuteViewAngleVisibility(
double normal[3]);
151 bool IsTextUpsideDown(
double* a,
double* b);
170 int VisibleAtCurrentViewAngle;
abstract superclass for all actors, volumes and annotations
abstract specification for Viewports
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RenderVolumetricGeometry(vtkViewport *viewport)
Create an axis with tick marks and labels.
void ShallowCopy(vtkProp *prop)
#define VTKRENDERINGANNOTATION_EXPORT
a simple class to control print indentation
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
a virtual camera for 3D rendering
a vtkProp3D that always faces the camera
static vtkProp3DFollower * New()
double ViewAngleLODThreshold
double DistanceLODThreshold
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
vtkWeakPointer< vtkViewport > Viewport
a subclass of vtkProp3DFollower that ensures that data is always parallel to the axis defined by a vt...
virtual void ComputeMatrix()
vtkWeakPointer< vtkAxisActor > Axis