|
0 A.D. | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Blend4: structure mapping a blend shape for N,E,S,W to a particular map
Inner Classes, Typedefs, and Enums | |
struct |
CAlphaMapCalculator::Blend4
Blend8: structure mapping a blend shape for N,NE,E,SE,S,SW,W,NW to a particular map |
struct |
CAlphaMapCalculator::Blend8
Data tables for mapping between shapes and blend maps |
Field Summary | |
const CAlphaMapCalculator::Blend4[] |
Blends1Neighbour
|
const CAlphaMapCalculator::Blend4[] |
Blends2Neighbour
|
const CAlphaMapCalculator::Blend8[] |
Blends2Neighbour8
|
const CAlphaMapCalculator::Blend4[] |
Blends3Neighbour
|
const CAlphaMapCalculator::Blend8[] |
Blends3Neighbour8
|
const CAlphaMapCalculator::Blend8[] |
Blends4Neighbour8
|
const CAlphaMapCalculator::Blend8[] |
Blends5Neighbour8
|
const CAlphaMapCalculator::Blend8[] |
Blends6Neighbour8
|
const CAlphaMapCalculator::Blend8[] |
Blends7Neighbour8
|
Method Summary | |
int |
Calculate( BlendShape8 shape, unsigned int& flags )
|
int |
LookupBlend( int tableSize, const S* table, const T& shape, unsigned int& flags )
Calculate: return the index of the blend map that fits the given shape, and the set of flip/rotation flags to get the shape correctly oriented |
int |
MatchBlendShape( const T& templateshape, const T& shape, unsigned int& flags )
LookupBlend: find and return the blendmap fitting the given shape by iterating through the given data table and testing each shape in flipped and rotated forms until a match is found |
bool |
MatchBlendShapeFlipped( const T& templateshape, const T& shape, unsigned int& flags )
MatchBlendShape: try and find a matching blendmap, and the required flip/ rotation flags, to fit the given shape to the template |
Field Detail |
public const CAlphaMapCalculator::Blend4 Blends1Neighbour[];
public const CAlphaMapCalculator::Blend4 Blends2Neighbour[];
public const CAlphaMapCalculator::Blend8 Blends2Neighbour8[];
public const CAlphaMapCalculator::Blend4 Blends3Neighbour[];
public const CAlphaMapCalculator::Blend8 Blends3Neighbour8[];
public const CAlphaMapCalculator::Blend8 Blends4Neighbour8[];
public const CAlphaMapCalculator::Blend8 Blends5Neighbour8[];
public const CAlphaMapCalculator::Blend8 Blends6Neighbour8[];
public const CAlphaMapCalculator::Blend8 Blends7Neighbour8[];
Method Detail |
public int Calculate( BlendShape8 shape, unsigned int& flags );
public int LookupBlend( int tableSize, const S* table, const T& shape, unsigned int& flags );
public int MatchBlendShape( const T& templateshape, const T& shape, unsigned int& flags );
public bool MatchBlendShapeFlipped( const T& templateshape, const T& shape, unsigned int& flags );
|
0 A.D.
Generated on September 04, 2007 at 18:13 CppDoc v2.4.0 |
|||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |