Public Types

deSkinTransform Class Reference

Skin Transform. More...

#include <deSkinTransform.h>

List of all members.

Public Types

enum  eMatrixFunctions { emfTranslation, emfRotation, emfScaling, emfShearing }
 

Matrix Functions.

More...
enum  eParameterFunctions {
  epfNone, epfSquare, epfLinear, epfSine,
  epfLeftSaw, epfRightSaw
}
 

Parameter Functions.

More...

Public Member Functions

Constructors and Destructors
 deSkinTransform ()
 Creates a new transform.
 ~deSkinTransform ()
 Cleans up the transform.
Management
int GetMatrixFunction () const
 Retrieves the matrix fuction.
void SetMatrixFunction (int matrixFunction)
 Sets the geomtric function.
float GetScaleU () const
 Retrieves the input scale factor for the U parametr.
void SetScaleU (float scaleU)
 Sets the scale factor for the U parameter.
float GetOffsetU () const
 Retrieves the offset for the U parameter.
void SetOffsetU (float offsetU)
 Sets the offset for the U parameter.
int GetFunctionU () const
 Retrieves the fuction for the U parameter.
void SetFunctionU (int functionU)
 Sets the function for the U parameter.
float GetMinimumU () const
 Retrieves the function minimum for the U parameter.
void SetMinimumU (float minimumU)
 Sets the function minimum for the U parameter.
float GetMaximumU () const
 Retrieves the function maximum for the U parameter.
void SetMaximumU (float maximumU)
 Sets the function maximum for the U parameter.
void SetStaticU (float valueU)
 Sets the U parameter to a static value.
float GetScaleV () const
 Retrieves the input scale factor for the V parametr.
void SetScaleV (float scaleV)
 Sets the scale factor for the V parameter.
float GetOffsetV () const
 Retrieves the offset for the V parameter.
void SetOffsetV (float offsetV)
 Sets the offset for the V parameter.
int GetFunctionV () const
 Retrieves the fuction for the V parameter.
void SetFunctionV (int functionV)
 Sets the function for the V parameter.
float GetMinimumV () const
 Retrieves the function minimum for the V parameter.
void SetMinimumV (float minimumV)
 Sets the function minimum for the V parameter.
float GetMaximumV () const
 Retrieves the function maximum for the V parameter.
void SetMaximumV (float maximumV)
 Sets the function maximum for the V parameter.
void SetStaticV (float valueV)
 Sets the V parameter to a static value.

Detailed Description

Skin Transform.

Transforms the texture coordinates using a matrix. The matrix is generated using one of the matrix functions. The parameters influence the generated matrix. For matrix functions with one parameter the u parameter is used.

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

Member Enumeration Documentation

Matrix Functions.

Enumerator:
emfTranslation 

Translation.

emfRotation 

Rotation.

emfScaling 

Scaling.

emfShearing 

Shearing.

Parameter Functions.

Enumerator:
epfNone 

None ( uses always minimum ).

epfSquare 

Square.

epfLinear 

Linear.

epfSine 

Sine.

epfLeftSaw 

Left saw.

epfRightSaw 

Right saw.


Constructor & Destructor Documentation

deSkinTransform::deSkinTransform (  )

Creates a new transform.

deSkinTransform::~deSkinTransform (  )

Cleans up the transform.


Member Function Documentation

int deSkinTransform::GetFunctionU (  ) const [inline]

Retrieves the fuction for the U parameter.

int deSkinTransform::GetFunctionV (  ) const [inline]

Retrieves the fuction for the V parameter.

int deSkinTransform::GetMatrixFunction (  ) const [inline]

Retrieves the matrix fuction.

float deSkinTransform::GetMaximumU (  ) const [inline]

Retrieves the function maximum for the U parameter.

float deSkinTransform::GetMaximumV (  ) const [inline]

Retrieves the function maximum for the V parameter.

float deSkinTransform::GetMinimumU (  ) const [inline]

Retrieves the function minimum for the U parameter.

float deSkinTransform::GetMinimumV (  ) const [inline]

Retrieves the function minimum for the V parameter.

float deSkinTransform::GetOffsetU (  ) const [inline]

Retrieves the offset for the U parameter.

float deSkinTransform::GetOffsetV (  ) const [inline]

Retrieves the offset for the V parameter.

float deSkinTransform::GetScaleU (  ) const [inline]

Retrieves the input scale factor for the U parametr.

float deSkinTransform::GetScaleV (  ) const [inline]

Retrieves the input scale factor for the V parametr.

void deSkinTransform::SetFunctionU ( int  functionU )

Sets the function for the U parameter.

void deSkinTransform::SetFunctionV ( int  functionV )

Sets the function for the V parameter.

void deSkinTransform::SetMatrixFunction ( int  matrixFunction )

Sets the geomtric function.

void deSkinTransform::SetMaximumU ( float  maximumU )

Sets the function maximum for the U parameter.

void deSkinTransform::SetMaximumV ( float  maximumV )

Sets the function maximum for the V parameter.

void deSkinTransform::SetMinimumU ( float  minimumU )

Sets the function minimum for the U parameter.

void deSkinTransform::SetMinimumV ( float  minimumV )

Sets the function minimum for the V parameter.

void deSkinTransform::SetOffsetU ( float  offsetU )

Sets the offset for the U parameter.

void deSkinTransform::SetOffsetV ( float  offsetV )

Sets the offset for the V parameter.

void deSkinTransform::SetScaleU ( float  scaleU )

Sets the scale factor for the U parameter.

void deSkinTransform::SetScaleV ( float  scaleV )

Sets the scale factor for the V parameter.

void deSkinTransform::SetStaticU ( float  valueU )

Sets the U parameter to a static value.

void deSkinTransform::SetStaticV ( float  valueV )

Sets the V parameter to a static value.


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