29 #ifndef vtkAxisFollower_h
30 #define vtkAxisFollower_h
32 #include "vtkRenderingAnnotationModule.h"
67 vtkGetMacro(AutoCenter,
int);
78 vtkGetMacro(EnableDistanceLOD,
int);
87 vtkSetClampMacro(DistanceLODThreshold,
double, 0.0, 1.0);
88 vtkGetMacro(DistanceLODThreshold,
double);
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);
156 double screenSize,
double position[3]);
162 void CalculateOrthogonalVectors(
double Rx[3],
double Ry[3],
double Rz[3],
167 double Rx[3],
double Ry[3],
double Rz[3],
171 void ComputerAutoCenterTranslation(
const double& autoScaleFactor,
174 int TestDistanceVisibility();
175 void ExecuteViewAngleVisibility(
double normal[3]);
177 bool IsTextUpsideDown(
double* a,
double* b);
187 double ScreenOffsetVector[2];
194 int VisibleAtCurrentViewAngle;
207 #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)
This causes the actor to be rendered.
Create an axis with tick marks and labels.
abstract specification for renderers
void ShallowCopy(vtkProp *prop)
Shallow copy of a follower.
a simple class to control print indentation
a virtual camera for 3D rendering
double ViewAngleLODThreshold
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
This causes the actor to be rendered.
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...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
a subclass of actor that always faces the camera
static vtkFollower * New()
Creates a follower with no camera set.
double DistanceLODThreshold
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
This causes the actor to be rendered.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.