17 #ifndef vtkAxisFollower_h
18 #define vtkAxisFollower_h
21 #include "vtkRenderingAnnotationModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
67 vtkSetMacro(EnableDistanceLOD,
int);
68 vtkGetMacro(EnableDistanceLOD,
int);
77 vtkSetClampMacro(DistanceLODThreshold,
double, 0.0, 1.0);
78 vtkGetMacro(DistanceLODThreshold,
double);
87 vtkSetMacro(EnableViewAngleLOD,
int);
88 vtkGetMacro(EnableViewAngleLOD,
int);
97 vtkSetClampMacro(ViewAngleLODThreshold,
double, 0.0, 1.0);
98 vtkGetMacro(ViewAngleLODThreshold,
double);
106 double GetScreenOffset();
107 void SetScreenOffset(
double offset);
115 vtkSetVector2Macro(ScreenOffsetVector,
double);
116 vtkGetVector2Macro(ScreenOffsetVector,
double);
138 virtual void ComputeTransformMatrix(
vtkRenderer* ren);
149 static double AutoScale(
156 void CalculateOrthogonalVectors(
164 void ComputerAutoCenterTranslation(const
double& autoScaleFactor,
double translation[3]);
166 int TestDistanceVisibility();
167 void ExecuteViewAngleVisibility(
double normal[3]);
169 bool IsTextUpsideDown(
double* a,
double* b);
173 int EnableDistanceLOD;
174 double DistanceLODThreshold;
176 int EnableViewAngleLOD;
177 double ViewAngleLODThreshold;
179 double ScreenOffsetVector[2];
185 int VisibleAtCurrentViewAngle;
194 VTK_ABI_NAMESPACE_END
195 #endif // vtkAxisFollower_h
abstract superclass for all actors, volumes and annotations
abstract specification for Viewports
void ComputeMatrix() override
Overridden to disable this function, and use ComputeTransformMatrix instead, as we need a renderer to...
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) override
Shallow copy of a follower.
#define VTK_DEPRECATED_IN_9_6_0(reason)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
a virtual camera for 3D rendering
a weak reference to a vtkObject.
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()
Creates a follower with no camera set.