#include <OgreOptimisedUtil.h>
Public Member Functions | |
OptimisedUtil (void) | |
virtual | ~OptimisedUtil () |
virtual void | softwareVertexSkinning (const float *srcPosPtr, float *destPosPtr, const float *srcNormPtr, float *destNormPtr, const float *blendWeightPtr, const unsigned char *blendIndexPtr, const Matrix4 *const *blendMatrices, size_t srcPosStride, size_t destPosStride, size_t srcNormStride, size_t destNormStride, size_t blendWeightStride, size_t blendIndexStride, size_t numWeightsPerVertex, size_t numVertices)=0 |
Performs software vertex skinning. | |
virtual void | softwareVertexMorph (Real t, const float *srcPos1, const float *srcPos2, float *dstPos, size_t numVertices)=0 |
Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes. | |
virtual void | concatenateAffineMatrices (const Matrix4 &baseMatrix, const Matrix4 *srcMatrices, Matrix4 *dstMatrices, size_t numMatrices)=0 |
Concatenate an affine matrix to an array of affine matrices. | |
virtual void | calculateFaceNormals (const float *positions, const EdgeData::Triangle *triangles, Vector4 *faceNormals, size_t numTriangles)=0 |
Calculate the face normals for the triangles based on position information. | |
virtual void | calculateLightFacing (const Vector4 &lightPos, const Vector4 *faceNormals, char *lightFacings, size_t numFaces)=0 |
Calculate the light facing state of the triangle's face normals. | |
virtual void | extrudeVertices (const Vector4 &lightPos, Real extrudeDist, const float *srcPositions, float *destPositions, size_t numVertices)=0 |
Extruding vertices by a fixed distance based on light position. | |
Static Public Member Functions | |
static OptimisedUtil * | getImplementation (void) |
Gets the implementation of this class. | |
Static Protected Member Functions | |
static OptimisedUtil * | _detectImplementation (void) |
Detect best implementation based on run-time environment. | |
Static Protected Attributes | |
static OptimisedUtil * | msImplementation |
Store a pointer to the implementation. | |
Private Member Functions | |
OptimisedUtil (const OptimisedUtil &rhs) | |
Privated copy constructor, to prevent misuse. | |
OptimisedUtil & | operator= (const OptimisedUtil &rhs) |
Privated operator=, to prevent misuse. |
Definition at line 41 of file OgreOptimisedUtil.h.
|
Privated copy constructor, to prevent misuse.
|
|
Definition at line 58 of file OgreOptimisedUtil.h. |
|
Definition at line 60 of file OgreOptimisedUtil.h. |
|
Detect best implementation based on run-time environment.
|
|
Calculate the face normals for the triangles based on position information.
|
|
Calculate the light facing state of the triangle's face normals.
|
|
Concatenate an affine matrix to an array of affine matrices.
|
|
Extruding vertices by a fixed distance based on light position.
|
|
Gets the implementation of this class.
Definition at line 67 of file OgreOptimisedUtil.h. |
|
Privated operator=, to prevent misuse.
|
|
Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes.
|
|
Performs software vertex skinning.
|
|
Store a pointer to the implementation.
Definition at line 51 of file OgreOptimisedUtil.h. |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:49:53 2009