Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkCameraInterpolator2 Class Reference

#include <vtkCameraInterpolator2.h>

Inheritance diagram for vtkCameraInterpolator2:
Inheritance graph
[legend]
Collaboration diagram for vtkCameraInterpolator2:
Collaboration graph
[legend]

Public Types

enum  Modes { PATH, FIXED_DIRECTION, LOOK_AHEAD, ORTHOGONAL }
 
enum  PathInterpolationModes { LINEAR, SPLINE }
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void AddPositionPathPoint (double x, double y, double z)
 
void ClearPositionPath ()
 
void AddFocalPathPoint (double x, double y, double z)
 
void ClearFocalPath ()
 
virtual void SetPositionPathInterpolationMode (int)
 
virtual int GetPositionPathInterpolationMode ()
 
virtual void SetFocalPathInterpolationMode (int)
 
virtual int GetFocalPathInterpolationMode ()
 
void InterpolateCamera (double u, vtkCamera *)
 u has to be in the range [0, 1]. More...
 
virtual void SetFocalPointMode (int)
 Mode for managing the focal point. More...
 
virtual int GetFocalPointMode ()
 Mode for managing the focal point. More...
 
virtual void SetPositionMode (int)
 Mode for managing the camera position. More...
 
virtual int GetPositionMode ()
 Mode for managing the camera position. More...
 
virtual void SetClosedFocalPath (bool)
 When set, the FocalPointPath is treated as a closed path. More...
 
virtual bool GetClosedFocalPath ()
 When set, the FocalPointPath is treated as a closed path. More...
 
virtual void ClosedFocalPathOn ()
 When set, the FocalPointPath is treated as a closed path. More...
 
virtual void ClosedFocalPathOff ()
 When set, the FocalPointPath is treated as a closed path. More...
 
virtual void SetClosedPositionPath (bool)
 When set, the PositionPath is treated as a closed path. More...
 
virtual bool GetClosedPositionPath ()
 When set, the PositionPath is treated as a closed path. More...
 
virtual void ClosedPositionPathOn ()
 When set, the PositionPath is treated as a closed path. More...
 
virtual void ClosedPositionPathOff ()
 When set, the PositionPath is treated as a closed path. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkCameraInterpolator2New ()
 
static int IsTypeOf (const char *type)
 
static vtkCameraInterpolator2SafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkCameraInterpolator2 ()
 
 ~vtkCameraInterpolator2 () override
 
void Evaluate (double u, vtkParametricSpline *spline, double tuple[3])
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int PositionMode
 
int FocalPointMode
 
int PositionPathInterpolationMode
 
int FocalPathInterpolationMode
 
bool ClosedPositionPath
 
bool ClosedFocalPath
 
vtkPointsFocalPathPoints
 
vtkPointsPositionPathPoints
 
vtkParametricSplineFocalSpline
 
vtkParametricSplinePositionSpline
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

Definition at line 19 of file vtkCameraInterpolator2.h.

Member Typedef Documentation

◆ Superclass

Definition at line 23 of file vtkCameraInterpolator2.h.

Member Enumeration Documentation

◆ Modes

Enumerator
PATH 
FIXED_DIRECTION 
LOOK_AHEAD 
ORTHOGONAL 

Definition at line 34 of file vtkCameraInterpolator2.h.

◆ PathInterpolationModes

Enumerator
LINEAR 
SPLINE 

Definition at line 62 of file vtkCameraInterpolator2.h.

Constructor & Destructor Documentation

◆ vtkCameraInterpolator2()

vtkCameraInterpolator2::vtkCameraInterpolator2 ( )
protected

◆ ~vtkCameraInterpolator2()

vtkCameraInterpolator2::~vtkCameraInterpolator2 ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkCameraInterpolator2* vtkCameraInterpolator2::New ( )
static

◆ GetClassName()

virtual const char* vtkCameraInterpolator2::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkCameraInterpolator2::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkCameraInterpolator2::IsA ( const char *  type)
virtual

Reimplemented from vtkObjectBase.

◆ SafeDownCast()

static vtkCameraInterpolator2* vtkCameraInterpolator2::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkCameraInterpolator2::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkObject.

◆ AddPositionPathPoint()

void vtkCameraInterpolator2::AddPositionPathPoint ( double  x,
double  y,
double  z 
)

◆ ClearPositionPath()

void vtkCameraInterpolator2::ClearPositionPath ( )

◆ AddFocalPathPoint()

void vtkCameraInterpolator2::AddFocalPathPoint ( double  x,
double  y,
double  z 
)

◆ ClearFocalPath()

void vtkCameraInterpolator2::ClearFocalPath ( )

◆ SetFocalPointMode()

virtual void vtkCameraInterpolator2::SetFocalPointMode ( int  )
virtual

Mode for managing the focal point.

At least one of the two modes FocalPointMode or PositionMode must be PATH for the animation to have any effect.

◆ GetFocalPointMode()

virtual int vtkCameraInterpolator2::GetFocalPointMode ( )
virtual

Mode for managing the focal point.

At least one of the two modes FocalPointMode or PositionMode must be PATH for the animation to have any effect.

◆ SetPositionMode()

virtual void vtkCameraInterpolator2::SetPositionMode ( int  )
virtual

Mode for managing the camera position.

At least one of the two modes FocalPointMode or PositionMode must be PATH for the animation to have any effect.

◆ GetPositionMode()

virtual int vtkCameraInterpolator2::GetPositionMode ( )
virtual

Mode for managing the camera position.

At least one of the two modes FocalPointMode or PositionMode must be PATH for the animation to have any effect.

◆ SetPositionPathInterpolationMode()

virtual void vtkCameraInterpolator2::SetPositionPathInterpolationMode ( int  )
virtual

◆ GetPositionPathInterpolationMode()

virtual int vtkCameraInterpolator2::GetPositionPathInterpolationMode ( )
virtual

◆ SetFocalPathInterpolationMode()

virtual void vtkCameraInterpolator2::SetFocalPathInterpolationMode ( int  )
virtual

◆ GetFocalPathInterpolationMode()

virtual int vtkCameraInterpolator2::GetFocalPathInterpolationMode ( )
virtual

◆ SetClosedFocalPath()

virtual void vtkCameraInterpolator2::SetClosedFocalPath ( bool  )
virtual

When set, the FocalPointPath is treated as a closed path.

◆ GetClosedFocalPath()

virtual bool vtkCameraInterpolator2::GetClosedFocalPath ( )
virtual

When set, the FocalPointPath is treated as a closed path.

◆ ClosedFocalPathOn()

virtual void vtkCameraInterpolator2::ClosedFocalPathOn ( )
virtual

When set, the FocalPointPath is treated as a closed path.

◆ ClosedFocalPathOff()

virtual void vtkCameraInterpolator2::ClosedFocalPathOff ( )
virtual

When set, the FocalPointPath is treated as a closed path.

◆ SetClosedPositionPath()

virtual void vtkCameraInterpolator2::SetClosedPositionPath ( bool  )
virtual

When set, the PositionPath is treated as a closed path.

◆ GetClosedPositionPath()

virtual bool vtkCameraInterpolator2::GetClosedPositionPath ( )
virtual

When set, the PositionPath is treated as a closed path.

◆ ClosedPositionPathOn()

virtual void vtkCameraInterpolator2::ClosedPositionPathOn ( )
virtual

When set, the PositionPath is treated as a closed path.

◆ ClosedPositionPathOff()

virtual void vtkCameraInterpolator2::ClosedPositionPathOff ( )
virtual

When set, the PositionPath is treated as a closed path.

◆ InterpolateCamera()

void vtkCameraInterpolator2::InterpolateCamera ( double  u,
vtkCamera  
)

u has to be in the range [0, 1].

◆ Evaluate()

void vtkCameraInterpolator2::Evaluate ( double  u,
vtkParametricSpline spline,
double  tuple[3] 
)
protected

Member Data Documentation

◆ PositionMode

int vtkCameraInterpolator2::PositionMode
protected

Definition at line 105 of file vtkCameraInterpolator2.h.

◆ FocalPointMode

int vtkCameraInterpolator2::FocalPointMode
protected

Definition at line 106 of file vtkCameraInterpolator2.h.

◆ PositionPathInterpolationMode

int vtkCameraInterpolator2::PositionPathInterpolationMode
protected

Definition at line 107 of file vtkCameraInterpolator2.h.

◆ FocalPathInterpolationMode

int vtkCameraInterpolator2::FocalPathInterpolationMode
protected

Definition at line 108 of file vtkCameraInterpolator2.h.

◆ ClosedPositionPath

bool vtkCameraInterpolator2::ClosedPositionPath
protected

Definition at line 109 of file vtkCameraInterpolator2.h.

◆ ClosedFocalPath

bool vtkCameraInterpolator2::ClosedFocalPath
protected

Definition at line 110 of file vtkCameraInterpolator2.h.

◆ FocalPathPoints

vtkPoints* vtkCameraInterpolator2::FocalPathPoints
protected

Definition at line 112 of file vtkCameraInterpolator2.h.

◆ PositionPathPoints

vtkPoints* vtkCameraInterpolator2::PositionPathPoints
protected

Definition at line 113 of file vtkCameraInterpolator2.h.

◆ FocalSpline

vtkParametricSpline* vtkCameraInterpolator2::FocalSpline
protected

Definition at line 115 of file vtkCameraInterpolator2.h.

◆ PositionSpline

vtkParametricSpline* vtkCameraInterpolator2::PositionSpline
protected

Definition at line 116 of file vtkCameraInterpolator2.h.


The documentation for this class was generated from the following file: