2001-01-11 00:32:10 +08:00
|
|
|
// DofRecord.cpp
|
|
|
|
|
|
|
|
#include "flt.h"
|
|
|
|
#include "Registry.h"
|
|
|
|
#include "DofRecord.h"
|
|
|
|
|
|
|
|
using namespace flt;
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// DofRecord
|
|
|
|
//
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
RegisterRecordProxy<DofRecord> g_DofProxy;
|
|
|
|
|
|
|
|
DofRecord::DofRecord()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// virtual
|
|
|
|
DofRecord::~DofRecord()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void DofRecord::endian()
|
|
|
|
{
|
2001-09-20 05:08:56 +08:00
|
|
|
SDegreeOfFreedom *pSDof = (SDegreeOfFreedom*)getData();
|
2001-01-11 00:32:10 +08:00
|
|
|
|
|
|
|
ENDIAN( pSDof->diReserved );
|
|
|
|
pSDof->OriginLocalDOF.endian();
|
|
|
|
pSDof->PointOnXaxis.endian();
|
|
|
|
pSDof->PointInXYplane.endian();
|
2001-09-20 05:08:56 +08:00
|
|
|
pSDof->dfZ.endian();
|
|
|
|
pSDof->dfY.endian();
|
|
|
|
pSDof->dfX.endian();
|
|
|
|
pSDof->dfPitch.endian();
|
|
|
|
pSDof->dfRoll.endian();
|
|
|
|
pSDof->dfYaw.endian();
|
|
|
|
pSDof->dfZscale.endian();
|
|
|
|
pSDof->dfYscale.endian();
|
|
|
|
pSDof->dfXscale.endian();
|
|
|
|
ENDIAN( pSDof->dwFlags );
|
2001-01-11 00:32:10 +08:00
|
|
|
}
|