|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CMeshMorpher Class ReferenceUtility to blend shapes.
More...
#include <mesh_morpher.h>
List of all members.
Public Methods |
| CMeshMorpher () |
void | init (CVertexBuffer *vbOri, CVertexBuffer *vbDst, IVertexBufferHard *vbDstHrd, bool hasTgSpace) |
void | initSkinned (CVertexBuffer *vbOri, CVertexBuffer *vbDst, IVertexBufferHard *vbDstHrd, bool hasTgSpace, std::vector< CVector > *vVertices, std::vector< CVector > *vNormals, std::vector< CVector > *vTgSpace, bool bSkinApplied) |
void | update (std::vector< CAnimatedMorph > *pBSFactor) |
void | updateSkinned (std::vector< CAnimatedMorph > *pBSFactor) |
void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
Public Attributes |
std::vector< CBlendShape > | BlendShapes |
Private Types |
enum | TState { OriginalAll = 0,
OriginalVBDst,
Modified
} |
Private Attributes |
CVertexBuffer * | _VBOri |
CVertexBuffer * | _VBDst |
IVertexBufferHard * | _VBDstHrd |
std::vector< CVector > * | _Vertices |
std::vector< CVector > * | _Normals |
std::vector< CVector > * | _TgSpace |
bool | _SkinApplied: 1 |
bool | _UseTgSpace: 1 |
std::vector< uint8 > | _Flags |
Detailed Description
Utility to blend shapes.
-
Author:
-
Matthieu 'TrapII' Besson , Nevrax France
-
Date:
-
2001
Definition at line 64 of file mesh_morpher.h.
Member Enumeration Documentation
enum NL3D::CMeshMorpher::TState [private]
|
|
|
-
Enumeration values:
-
OriginalAll |
|
OriginalVBDst |
|
Modified |
|
Definition at line 66 of file mesh_morpher.h. |
Constructor & Destructor Documentation
NL3D::CMeshMorpher::CMeshMorpher |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CMeshMorpher::initSkinned |
( |
CVertexBuffer * |
vbOri, |
|
|
CVertexBuffer * |
vbDst, |
|
|
IVertexBufferHard * |
vbDstHrd, |
|
|
bool |
hasTgSpace, |
|
|
std::vector< CVector > * |
vVertices, |
|
|
std::vector< CVector > * |
vNormals, |
|
|
std::vector< CVector > * |
vTgSpace, |
|
|
bool |
bSkinApplied |
|
) |
|
|
void NL3D::CMeshMorpher::update |
( |
std::vector< CAnimatedMorph > * |
pBSFactor |
) |
|
|
void NL3D::CMeshMorpher::updateSkinned |
( |
std::vector< CAnimatedMorph > * |
pBSFactor |
) |
|
|
|
Definition at line 233 of file mesh_morpher.cpp.
References _Flags, _Normals, _SkinApplied, _TgSpace, _UseTgSpace, _VBDst, _VBDstHrd, _VBOri, _Vertices, BlendShapes, NLMISC::clamp, Modified, nlassert, OriginalAll, and OriginalVBDst. |
Member Data Documentation
std::vector<uint8> NL3D::CMeshMorpher::_Flags [private]
|
|
std::vector<CVector>* NL3D::CMeshMorpher::_Normals [private]
|
|
bool NL3D::CMeshMorpher::_SkinApplied [private]
|
|
std::vector<CVector>* NL3D::CMeshMorpher::_TgSpace [private]
|
|
bool NL3D::CMeshMorpher::_UseTgSpace [private]
|
|
std::vector<CVector>* NL3D::CMeshMorpher::_Vertices [private]
|
|
std::vector<CBlendShape> NL3D::CMeshMorpher::BlendShapes
|
|
The documentation for this class was generated from the following files:
|
|