VTK
|
a subclass of vtkProp3DFollower that ensures that data is always parallel to the axis defined by a vtkAxisActor. More...
#include <vtkProp3DAxisFollower.h>
a subclass of vtkProp3DFollower that ensures that data is always parallel to the axis defined by a vtkAxisActor.
vtkProp3DAxisFollower is a subclass of vtkProp3DFollower that always follows its specified axis. More specifically it will not change its position or scale, but it will continually update its orientation so that it is aligned with the axis and facing at angle to the camera to provide maximum visibilty. This is typically used for text labels for 3d plots.
Definition at line 38 of file vtkProp3DAxisFollower.h.
Standard VTK methods for type and printing.
Reimplemented from vtkProp3DFollower.
Definition at line 47 of file vtkProp3DAxisFollower.h.
vtkProp3DAxisFollower::vtkProp3DAxisFollower | ( | ) | [protected] |
vtkProp3DAxisFollower::~vtkProp3DAxisFollower | ( | ) | [protected] |
static vtkProp3DAxisFollower* vtkProp3DAxisFollower::New | ( | ) | [static] |
Creates a follower with no camera set.
Reimplemented from vtkProp3DFollower.
static int vtkProp3DAxisFollower::IsTypeOf | ( | const char * | type | ) | [static] |
Standard VTK methods for type and printing.
Reimplemented from vtkProp3DFollower.
virtual int vtkProp3DAxisFollower::IsA | ( | const char * | type | ) | [virtual] |
Standard VTK methods for type and printing.
Reimplemented from vtkProp3DFollower.
static vtkProp3DAxisFollower* vtkProp3DAxisFollower::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Standard VTK methods for type and printing.
Reimplemented from vtkProp3DFollower.
virtual vtkObjectBase* vtkProp3DAxisFollower::NewInstanceInternal | ( | ) | const [protected, virtual] |
Standard VTK methods for type and printing.
Reimplemented from vtkProp3DFollower.
Standard VTK methods for type and printing.
Reimplemented from vtkProp3DFollower.
void vtkProp3DAxisFollower::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Standard VTK methods for type and printing.
Reimplemented from vtkProp3DFollower.
virtual void vtkProp3DAxisFollower::SetAxis | ( | vtkAxisActor * | ) | [virtual] |
Set axis that needs to be followed.
virtual vtkAxisActor* vtkProp3DAxisFollower::GetAxis | ( | ) | [virtual] |
Set axis that needs to be followed.
virtual void vtkProp3DAxisFollower::SetAutoCenter | ( | int | ) | [virtual] |
Set/Get state of auto center mode where additional translation will be added to make sure the underlying geometry has its pivot point at the center of its bounds.
virtual int vtkProp3DAxisFollower::GetAutoCenter | ( | ) | [virtual] |
Set/Get state of auto center mode where additional translation will be added to make sure the underlying geometry has its pivot point at the center of its bounds.
virtual void vtkProp3DAxisFollower::AutoCenterOn | ( | ) | [virtual] |
Set/Get state of auto center mode where additional translation will be added to make sure the underlying geometry has its pivot point at the center of its bounds.
virtual void vtkProp3DAxisFollower::AutoCenterOff | ( | ) | [virtual] |
Set/Get state of auto center mode where additional translation will be added to make sure the underlying geometry has its pivot point at the center of its bounds.
virtual void vtkProp3DAxisFollower::SetEnableDistanceLOD | ( | int | ) | [virtual] |
Enable / disable use of distance based LOD. If enabled the actor will not be visible at a certain distance from the camera. Default is false.
virtual int vtkProp3DAxisFollower::GetEnableDistanceLOD | ( | ) | [virtual] |
Enable / disable use of distance based LOD. If enabled the actor will not be visible at a certain distance from the camera. Default is false.
virtual void vtkProp3DAxisFollower::SetDistanceLODThreshold | ( | double | ) | [virtual] |
Set distance LOD threshold (0.0 - 1.0).This determines at what fraction of camera far clip range, actor is not visible. Default is 0.80.
virtual double vtkProp3DAxisFollower::GetDistanceLODThreshold | ( | ) | [virtual] |
Set distance LOD threshold (0.0 - 1.0).This determines at what fraction of camera far clip range, actor is not visible. Default is 0.80.
virtual void vtkProp3DAxisFollower::SetEnableViewAngleLOD | ( | int | ) | [virtual] |
Enable / disable use of view angle based LOD. If enabled the actor will not be visible at a certain view angle. Default is true.
virtual int vtkProp3DAxisFollower::GetEnableViewAngleLOD | ( | ) | [virtual] |
Enable / disable use of view angle based LOD. If enabled the actor will not be visible at a certain view angle. Default is true.
virtual void vtkProp3DAxisFollower::SetViewAngleLODThreshold | ( | double | ) | [virtual] |
Set view angle LOD threshold (0.0 - 1.0).This determines at what view angle to geometry will make the geometry not visibile. Default is 0.34.
virtual double vtkProp3DAxisFollower::GetViewAngleLODThreshold | ( | ) | [virtual] |
Set view angle LOD threshold (0.0 - 1.0).This determines at what view angle to geometry will make the geometry not visibile. Default is 0.34.
virtual void vtkProp3DAxisFollower::SetScreenOffset | ( | double | ) | [virtual] |
Set/Get the desired screen offset from the axis.
virtual double vtkProp3DAxisFollower::GetScreenOffset | ( | ) | [virtual] |
Set/Get the desired screen offset from the axis.
virtual void vtkProp3DAxisFollower::ComputeMatrix | ( | ) | [virtual] |
Generate the matrix based on ivars. This method overloads its superclasses ComputeMatrix() method due to the special vtkProp3DAxisFollower matrix operations.
Reimplemented from vtkProp3DFollower.
void vtkProp3DAxisFollower::ShallowCopy | ( | vtkProp * | prop | ) | [virtual] |
Shallow copy of a follower. Overloads the virtual vtkProp method.
Reimplemented from vtkProp3DFollower.
static double vtkProp3DAxisFollower::AutoScale | ( | vtkViewport * | viewport, |
vtkCamera * | camera, | ||
double | screenSize, | ||
double | position[3] | ||
) | [static] |
Calculate scale factor to maintain same size of a object on the screen.
virtual int vtkProp3DAxisFollower::RenderOpaqueGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
This causes the actor to be rendered. It in turn will render the actor's property, texture map and then mapper. If a property hasn't been assigned, then the actor will create one automatically.
Reimplemented from vtkProp3DFollower.
virtual int vtkProp3DAxisFollower::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
This causes the actor to be rendered. It in turn will render the actor's property, texture map and then mapper. If a property hasn't been assigned, then the actor will create one automatically.
Reimplemented from vtkProp3DFollower.
virtual int vtkProp3DAxisFollower::RenderVolumetricGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
This causes the actor to be rendered. It in turn will render the actor's property, texture map and then mapper. If a property hasn't been assigned, then the actor will create one automatically.
Reimplemented from vtkProp3DFollower.
virtual void vtkProp3DAxisFollower::SetViewport | ( | vtkViewport * | viewport | ) | [virtual] |
virtual vtkViewport* vtkProp3DAxisFollower::GetViewport | ( | ) | [virtual] |
void vtkProp3DAxisFollower::CalculateOrthogonalVectors | ( | double | Rx[3], |
double | Ry[3], | ||
double | Rz[3], | ||
vtkAxisActor * | axis1, | ||
double * | dop, | ||
vtkViewport * | ren | ||
) | [protected] |
void vtkProp3DAxisFollower::ComputeRotationAndTranlation | ( | vtkViewport * | ren, |
double | translation[3], | ||
double | Rx[3], | ||
double | Ry[3], | ||
double | Rz[3], | ||
vtkAxisActor * | axis | ||
) | [protected] |
void vtkProp3DAxisFollower::ComputerAutoCenterTranslation | ( | const double & | autoScaleFactor, |
double | translation[3] | ||
) | [protected] |
int vtkProp3DAxisFollower::TestDistanceVisibility | ( | ) | [protected] |
void vtkProp3DAxisFollower::ExecuteViewAngleVisibility | ( | double | normal[3] | ) | [protected] |
bool vtkProp3DAxisFollower::IsTextUpsideDown | ( | double * | a, |
double * | b | ||
) | [protected] |
int vtkProp3DAxisFollower::AutoCenter [protected] |
Definition at line 153 of file vtkProp3DAxisFollower.h.
int vtkProp3DAxisFollower::EnableDistanceLOD [protected] |
Definition at line 155 of file vtkProp3DAxisFollower.h.
double vtkProp3DAxisFollower::DistanceLODThreshold [protected] |
Definition at line 156 of file vtkProp3DAxisFollower.h.
int vtkProp3DAxisFollower::EnableViewAngleLOD [protected] |
Definition at line 158 of file vtkProp3DAxisFollower.h.
double vtkProp3DAxisFollower::ViewAngleLODThreshold [protected] |
Definition at line 159 of file vtkProp3DAxisFollower.h.
double vtkProp3DAxisFollower::ScreenOffset [protected] |
Definition at line 161 of file vtkProp3DAxisFollower.h.
vtkWeakPointer<vtkAxisActor> vtkProp3DAxisFollower::Axis [protected] |
Definition at line 163 of file vtkProp3DAxisFollower.h.
vtkWeakPointer<vtkViewport> vtkProp3DAxisFollower::Viewport [protected] |
Definition at line 164 of file vtkProp3DAxisFollower.h.