libHSPlasma
Public Member Functions | Public Attributes | List of all members
hsAffineParts Class Reference

Defines an Affine transformation. More...

#include <hsAffineParts.h>

Public Member Functions

 hsAffineParts ()
void read (hsStream *S)
void write (hsStream *S)
void prcWrite (pfPrcHelper *prc)
void prcParse (const pfPrcTag *tag)
void reset ()

Public Attributes

int fI
hsVector3 fT
hsQuat fQ
hsQuat fU
hsVector3 fK
float fF

Detailed Description

Defines an Affine transformation.

This class is used to store the components of an Affine transformation, mostly for use in animations and other movement.

Constructor & Destructor Documentation

hsAffineParts::hsAffineParts ( )

Constructs a default (identity) Affine Transformation

Member Function Documentation

void hsAffineParts::prcParse ( const pfPrcTag tag)

Parse an Affine Transformation tag into the current object

void hsAffineParts::prcWrite ( pfPrcHelper prc)

Write an Affine Transformation tag to the PRC document

void hsAffineParts::read ( hsStream S)

Read the affine parts from a versioned stream

void hsAffineParts::reset ( )

Reset the Affine Transformation to its identity form

void hsAffineParts::write ( hsStream S)

Write the affine parts to a versioned stream

Member Data Documentation

float hsAffineParts::fF

Either 1.0 or -1.0; defines the sign of the determinant

int hsAffineParts::fI

The meaning of this field is currently unknown... It might be an unused flag set, or an unused component of Affine transformations. Either way, it was removed in MOUL, and seems to always be 0 in the other engines (at least as far as I've seen).

hsVector3 hsAffineParts::fK

Defines the Scaling component

hsQuat hsAffineParts::fQ

Defines the Rotation component

hsVector3 hsAffineParts::fT

Defines the Translation component

hsQuat hsAffineParts::fU

Defines the axis system of the Scaling component


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