1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
// XCollDetVolDef.cpp: Body of the XCollDetVolDef class.
//
//////////////////////////////////////////////////////////////////////
#include "XCollDetVolDef.h"
#include <stdio.h>
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
XCollDetVolDef::XCollDetVolDef()
{
}
XCollDetVolDef::~XCollDetVolDef()
{
}
void XCollDetVolDef::OnPacketReceived(CigiBasePacket *Packet)
{
CigiCollDetVolDefV3 *InPckt = (CigiCollDetVolDefV3 *)Packet;
bool ok = true;
printf("===> CollDetVolDef <===\n");
printf("EntityID ==> %d\n",InPckt->GetEntityID());
printf("VolID ==> %d\n",InPckt->GetVolID());
printf("VolEn ==> %d\n",InPckt->GetVolEn());
printf("VolType ==> %d\n",InPckt->GetVolType());
printf("Xoff ==> %f\n",InPckt->GetXoff());
printf("Yoff ==> %f\n",InPckt->GetYoff());
printf("Zoff ==> %f\n",InPckt->GetZoff());
printf("HeightOrRadius ==> %f\n",InPckt->GetHeightOrRadius());
printf("Width ==> %f\n",InPckt->GetWidth());
printf("Depth ==> %f\n",InPckt->GetDepth());
printf("Roll ==> %f\n",InPckt->GetRoll());
printf("Pitch ==> %f\n",InPckt->GetPitch());
printf("Yaw ==> %f\n",InPckt->GetYaw());
}
|