17 #ifndef vtkProp3DAxisFollower_h
18 #define vtkProp3DAxisFollower_h
22 #include "vtkRenderingAnnotationModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
71 vtkSetMacro(EnableDistanceLOD,
int);
72 vtkGetMacro(EnableDistanceLOD,
int);
81 vtkSetClampMacro(DistanceLODThreshold,
double, 0.0, 1.0);
82 vtkGetMacro(DistanceLODThreshold,
double);
91 vtkSetMacro(EnableViewAngleLOD,
int);
92 vtkGetMacro(EnableViewAngleLOD,
int);
101 vtkSetClampMacro(ViewAngleLODThreshold,
double, 0.0, 1.0);
102 vtkGetMacro(ViewAngleLODThreshold,
double);
110 double GetScreenOffset();
111 void SetScreenOffset(
double offset);
118 vtkSetVector2Macro(ScreenOffsetVector,
double);
119 vtkGetVector2Macro(ScreenOffsetVector,
double);
137 static double AutoScale(
158 void CalculateOrthogonalVectors(
166 void ComputerAutoCenterTranslation(const
double& autoScaleFactor,
double translation[3]);
168 int TestDistanceVisibility();
169 void ExecuteViewAngleVisibility(
double normal[3]);
171 bool IsTextUpsideDown(
double* a,
double* b);
175 int EnableDistanceLOD;
176 double DistanceLODThreshold;
178 int EnableViewAngleLOD;
179 double ViewAngleLODThreshold;
181 double ScreenOffsetVector[2];
191 int VisibleAtCurrentViewAngle;
194 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
int RenderOpaqueGeometry(vtkViewport *viewport) override
This causes the actor to be rendered.
abstract specification for Viewports
Create an axis with tick marks and labels.
int RenderVolumetricGeometry(vtkViewport *viewport) override
This causes the actor to be rendered.
#define VTK_DEPRECATED_IN_9_6_0(reason)
a simple class to control print indentation
a virtual camera for 3D rendering
a weak reference to a vtkObject.
a vtkProp3D that always faces the camera
static vtkProp3DFollower * New()
Creates a follower with no camera set.
a subclass of vtkProp3DFollower that ensures that data is always parallel to the axis defined by a vt...
void ShallowCopy(vtkProp *prop) override
Shallow copy of a follower.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods for type and printing.
void ComputeMatrix() override
Generate the matrix based on ivars.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
This causes the actor to be rendered.