class TdGfxPfDCSAdapter : public TdGfxPfGroupAdapter

pfDCS adapter class

Inheritance:


Public Methods

TdGfxPfDCSAdapter()
Default Constructor
TdGfxPfDCSAdapter(float matrix[])
Constructor
TdGfxPfDCSAdapter( const TcUtVector3f &orientation, const TcUtVector3f &translation)
Constructor
TdGfxPfDCSAdapter( const TcUtVector3f &scale, const TcUtVector3f &orientation, const TcUtVector3f &translation)
Constructor
TdGfxPfDCSAdapter(pfDCS *dcs)
Constructor
TdGfxPfDCSAdapter(const TcUtString &compID)
Constructor
virtual ~TdGfxPfDCSAdapter()
Destructor.
void setRot(const float &x, const float &y, const float &z)
Sets rotation in x,y,z float degree angles.
void setRot(const TcUtVector3f &)
Sets the rotation in x,y,z float degree angles.
void setTrans(const float &, const float &, const float &)
Sets the absolute translation in float x,y,z values
void setTrans(const TcUtVector3f &)
Set the absolute translation in float x,y.,z values
const pfDCS* get_perfDCS() const
Returns the pfDCS

Inherited from TdGfxPfGroupAdapter:

Public Methods

void removeChild(TcGfxPfComponentAdapter &childNode)
void addChild(const TcGfxPfComponentAdapter &childNode)
int completeAsyncLoad(const TcUtString &, TcGfxPfComponentAdapter &child)
virtual bool isActive()

Inherited from TcGfxPfComponentAdapter:

Public Methods

pfNode* getPerformerNode() const
void setPerformerNode(pfNode *node)
virtual void hideGeometry()
virtual void unhideGeometry()
virtual void loadGeometry()
virtual void saveMasks()
virtual void unloadGeometry()
virtual const char* getCompId_c_str() const
void deletePerformerNode()
void setCompName(const TcUtString &)
void setTravAttributes(const TdGfxPfTravAttributes &atts)

Protected Fields

pfNode* perfNode

Protected Methods

void setPfName(const TcUtString &name)

Inherited from TcGfxDspLibComponent:

Public Methods

virtual const TcUtString& getComponentId() const
void setComponentId(const TcUtString &value)

Documentation

pfDCS adapter class. This wrapper class constructs a pfDCS using TcUtVector3f objects. An instance of this class is stored in the base TcGfxComponent as a TcGfxDspLibComponent. It is usually passed as an argument during the construction of a TdGfxPfGroup.
TdGfxPfDCSAdapter()
Default Constructor. scale = (1,1,1) rotation = (0,0,0) translation = (0,0,0)

TdGfxPfDCSAdapter(float matrix[])
Constructor
Parameters:
matrix - A matrix of 16 floats in row order a00..a03, a10..a13, a20..a23, a30, a33

TdGfxPfDCSAdapter( const TcUtVector3f &orientation, const TcUtVector3f &translation)
Constructor. These transformations are performed in the following order:
Parameters:
orientation - Specified as float degree angles x,y,z NOT head,pitch,roll
translation - Specified as x,y,z float values.

TdGfxPfDCSAdapter( const TcUtVector3f &scale, const TcUtVector3f &orientation, const TcUtVector3f &translation)
Constructor. These transformations are performed in the following order:
Parameters:
scale - Specified as x,y,z and hence can be a non-uniform scale.
orientation - Specified as float degree angles x,y,z NOT head,pitch,roll
translation - Specified as x,y,z float values.

TdGfxPfDCSAdapter(pfDCS *dcs)
Constructor
Parameters:
dcs - A pre-instantiated pfDCS.

TdGfxPfDCSAdapter(const TcUtString &compID)
Constructor. scale = (1,1,1) rotation = (0,0,0) translation = (0,0,0) This saves having to make the setCompName(..) call.
Parameters:
compID - a string name that the pfNode will be set to.

virtual ~TdGfxPfDCSAdapter()
Destructor.

void setRot(const float &x, const float &y, const float &z)
Sets rotation in x,y,z float degree angles.

void setRot(const TcUtVector3f &)
Sets the rotation in x,y,z float degree angles.

void setTrans(const float &, const float &, const float &)
Sets the absolute translation in float x,y,z values

void setTrans(const TcUtVector3f &)
Set the absolute translation in float x,y.,z values

const pfDCS* get_perfDCS() const
Returns the pfDCS


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de