deSkinTransformChain Class Reference

Skin Chain Transform. More...

#include <deSkinTransformChain.h>

List of all members.

Public Member Functions

Constructors and Destructors
 deSkinTransformChain ()
 Creates a new chain transform.
 ~deSkinTransformChain ()
 Cleans up the chain transform.
Management
int GetTransformCount () const
 Retrieves the number of transforms.
deSkinTransformGetTransformAt (int index) const
 Retrieves the transform at the given index.
int IndexOfTransform (deSkinTransform *transform) const
 Retrieves the index of the transform or -1 if not found.
bool HasTransform (deSkinTransform *transform) const
 Determines if the given transform exists in the chain.
void AddTransform (deSkinTransform *transform)
 Adds a transform.
void RemoveTransform (deSkinTransform *transform)
 Removes a transform.
void RemoveAllTransforms ()
 Removes all transforms.
bool GetClamp () const
 Determines if the texture coordinates have to be clamped after calculating them using the transforms.
void SetClamp (bool clamp)
 Sets if the texture coordinates have to be clamped after calculating them using the transforms.
const char * GetMatrixName () const
 Retrieves the matrix name.
void SetMatrixName (const char *matrixName)
 Sets the matrix name.

Detailed Description

Skin Chain Transform.

Manages a chain of transforms. The matrices retrieved from the individual transforms are concatenated in the order the transforms are listed.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deSkinTransformChain::deSkinTransformChain (  )

Creates a new chain transform.

deSkinTransformChain::~deSkinTransformChain (  )

Cleans up the chain transform.


Member Function Documentation

void deSkinTransformChain::AddTransform ( deSkinTransform transform )

Adds a transform.

bool deSkinTransformChain::GetClamp (  ) const [inline]

Determines if the texture coordinates have to be clamped after calculating them using the transforms.

const char* deSkinTransformChain::GetMatrixName (  ) const [inline]

Retrieves the matrix name.

If not NULL the matrix assigned to this name is used instead of the transforms.

deSkinTransform* deSkinTransformChain::GetTransformAt ( int  index ) const

Retrieves the transform at the given index.

int deSkinTransformChain::GetTransformCount (  ) const [inline]

Retrieves the number of transforms.

bool deSkinTransformChain::HasTransform ( deSkinTransform transform ) const

Determines if the given transform exists in the chain.

int deSkinTransformChain::IndexOfTransform ( deSkinTransform transform ) const

Retrieves the index of the transform or -1 if not found.

void deSkinTransformChain::RemoveAllTransforms (  )

Removes all transforms.

void deSkinTransformChain::RemoveTransform ( deSkinTransform transform )

Removes a transform.

void deSkinTransformChain::SetClamp ( bool  clamp )

Sets if the texture coordinates have to be clamped after calculating them using the transforms.

void deSkinTransformChain::SetMatrixName ( const char *  matrixName )

Sets the matrix name.

If not NULL the matrix assigned to this name is used instead of the transforms.


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