#include "DisplayCommon.h"
{
int lBlendShapeCount, lBlendShapeChannelCount, lTargetShapeCount;
for (int lBlendShapeIndex = 0; lBlendShapeIndex < lBlendShapeCount; ++lBlendShapeIndex)
{
DisplayString(
" BlendShape ", (
char *) lBlendShape->
GetName());
for(int lBlendShapeChannelIndex = 0; lBlendShapeChannelIndex < lBlendShapeChannelCount; ++lBlendShapeChannelIndex)
{
DisplayString(
" BlendShapeChannel ", (
char *) lBlendShapeChannel->
GetName());
DisplayDouble(
" Default Deform Value: ", lBlendShapeChannel->
DeformPercent.
Get());
for (int lTargetShapeIndex = 0; lTargetShapeIndex < lTargetShapeCount; ++lTargetShapeIndex)
{
DisplayString(
" TargetShape ", (
char *) lShape->
GetName());
bool lStatus = lShape->GetNormals(&lNormals);
for(j = 0; j < lControlPointsCount; j++)
{
DisplayInt(" Control Point ", j);
Display3DVector(" Coordinates: ", lControlPoints[j]);
if (lStatus && lNormals && lNormals->
GetCount() == lControlPointsCount)
{
Display3DVector(
" Normal Vector: ", lNormals->
GetAt(j));
}
}
DisplayString("");
}
}
}
}