29 #ifndef vtkProp3DAxisFollower_h
30 #define vtkProp3DAxisFollower_h
33 #include "vtkRenderingAnnotationModule.h"
80 vtkSetMacro(EnableDistanceLOD,
int);
81 vtkGetMacro(EnableDistanceLOD,
int);
90 vtkSetClampMacro(DistanceLODThreshold,
double, 0.0, 1.0);
91 vtkGetMacro(DistanceLODThreshold,
double);
100 vtkSetMacro(EnableViewAngleLOD,
int);
101 vtkGetMacro(EnableViewAngleLOD,
int);
110 vtkSetClampMacro(ViewAngleLODThreshold,
double, 0.0, 1.0);
111 vtkGetMacro(ViewAngleLODThreshold,
double);
119 double GetScreenOffset();
120 void SetScreenOffset(
double offset);
127 vtkSetVector2Macro(ScreenOffsetVector,
double);
128 vtkGetVector2Macro(ScreenOffsetVector,
double);
146 static double AutoScale(
167 void CalculateOrthogonalVectors(
174 void ComputerAutoCenterTranslation(
const double& autoScaleFactor,
double translation[3]);
176 int TestDistanceVisibility();
177 void ExecuteViewAngleVisibility(
double normal[3]);
179 bool IsTextUpsideDown(
double* a,
double* b);
189 double ScreenOffsetVector[2];
199 int VisibleAtCurrentViewAngle;
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.
a simple class to control print indentation
a virtual camera for 3D rendering
a vtkProp3D that always faces the camera
static vtkProp3DFollower * New()
Creates a follower with no camera set.
double ViewAngleLODThreshold
double DistanceLODThreshold
vtkWeakPointer< vtkViewport > Viewport
a subclass of vtkProp3DFollower that ensures that data is always parallel to the axis defined by a vt...
vtkWeakPointer< vtkAxisActor > Axis
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.