Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gte::BlendTransformController Class Reference

#include <GteBlendTransformController.h>

Inheritance diagram for gte::BlendTransformController:
Inheritance graph
[legend]

Public Member Functions

 BlendTransformController (std::shared_ptr< TransformController > const &controller0, std::shared_ptr< TransformController > const &controller1, bool geometricRotation, bool geometricScale)
 
std::shared_ptr< TransformController > const & GetController0 () const
 
std::shared_ptr< TransformController > const & GetController1 () const
 
float GetWeight () const
 
void SetWeight (float weight)
 
virtual bool Update (double applicationTime)
 
- Public Member Functions inherited from gte::TransformController
Transform const & GetTransform () const
 
void SetTransform (Transform const &localTransform)
 
 TransformController (Transform const &localTransform)
 
- Public Member Functions inherited from gte::Controller
double GetApplicationTime () const
 
ControlledObjectGetObject () const
 
void SetApplicationTime (double applicationTime)
 
virtual ~Controller ()
 

Protected Member Functions

virtual void SetObject (ControlledObject *object)
 
- Protected Member Functions inherited from gte::Controller
 Controller ()
 
double GetControlTime (double applicationTime)
 

Protected Attributes

std::shared_ptr< TransformControllermController0
 
std::shared_ptr< TransformControllermController1
 
bool mGeometricRotation
 
bool mGeometricScale
 
bool mRSMatrices
 
float mWeight
 
- Protected Attributes inherited from gte::TransformController
Transform mLocalTransform
 
- Protected Attributes inherited from gte::Controller
double mApplicationTime
 
ControlledObjectmObject
 

Additional Inherited Members

- Public Attributes inherited from gte::Controller
bool active
 
double frequency
 
double maxTime
 
double minTime
 
std::string name
 
double phase
 
RepeatType repeat
 

Detailed Description

Definition at line 16 of file GteBlendTransformController.h.

Constructor & Destructor Documentation

BlendTransformController::BlendTransformController ( std::shared_ptr< TransformController > const &  controller0,
std::shared_ptr< TransformController > const &  controller1,
bool  geometricRotation,
bool  geometricScale 
)

Definition at line 15 of file GteBlendTransformController.cpp.

Member Function Documentation

std::shared_ptr< TransformController > const & gte::BlendTransformController::GetController0 ( ) const
inline

Definition at line 63 of file GteBlendTransformController.h.

std::shared_ptr< TransformController > const & gte::BlendTransformController::GetController1 ( ) const
inline

Definition at line 69 of file GteBlendTransformController.h.

float gte::BlendTransformController::GetWeight ( ) const
inline

Definition at line 79 of file GteBlendTransformController.h.

void BlendTransformController::SetObject ( ControlledObject object)
protectedvirtual

Reimplemented from gte::Controller.

Definition at line 110 of file GteBlendTransformController.cpp.

void gte::BlendTransformController::SetWeight ( float  weight)
inline

Definition at line 74 of file GteBlendTransformController.h.

bool BlendTransformController::Update ( double  applicationTime)
virtual

Reimplemented from gte::TransformController.

Definition at line 29 of file GteBlendTransformController.cpp.

Member Data Documentation

std::shared_ptr<TransformController> gte::BlendTransformController::mController0
protected

Definition at line 56 of file GteBlendTransformController.h.

std::shared_ptr<TransformController> gte::BlendTransformController::mController1
protected

Definition at line 56 of file GteBlendTransformController.h.

bool gte::BlendTransformController::mGeometricRotation
protected

Definition at line 58 of file GteBlendTransformController.h.

bool gte::BlendTransformController::mGeometricScale
protected

Definition at line 58 of file GteBlendTransformController.h.

bool gte::BlendTransformController::mRSMatrices
protected

Definition at line 58 of file GteBlendTransformController.h.

float gte::BlendTransformController::mWeight
protected

Definition at line 57 of file GteBlendTransformController.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05