![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: c7bMesGridBox.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 // 00010 // File c7bMesGridBox 00011 // 00012 // Class: DtC7bMesGridBox 00013 // 00014 // The class is public because should not be used but anyone else than 00015 // DtC7b. 00016 // 00017 00018 #ifndef __DtC7bMesGridBox 00019 #define __DtC7bMesGridBox 00020 00021 #include "ctdb/ctdbDefines.h" 00022 #include <stdio.h> 00023 #include "ctdb/c7NetTypes.h" 00024 00025 class DT_DLL_ctdb DtC7bMesGridBox_Little 00026 { 00027 public: 00028 DtC7NetInt32 myLFBCorner[3]; 00029 DtC7NetInt32 myRBTCorner[3]; 00030 DtC7NetInt32 myParentId; 00031 DtC7NetU16 myX; 00032 DtC7NetU16 myGridIndex; 00033 DtC7NetU16 myZ; 00034 DtC7NetU16 myY; 00035 DtC7NetU32 myWasted1; 00036 DtC7NetU16 padding1; 00037 DtC7NetU16 myNumApertures; 00038 DtC7NetU32 myWasted2; 00039 DtC7NetU16 padding2; 00040 DtC7NetU16 myNumTriangles; 00041 DtC7NetU32 myWasted3; 00042 }; 00043 00044 class DT_DLL_ctdb DtC7bMesGridBox_Big 00045 { 00046 public: 00047 DtC7NetInt32 myLFBCorner[3]; 00048 DtC7NetInt32 myRBTCorner[3]; 00049 DtC7NetInt32 myParentId; 00050 DtC7NetU16 myGridIndex; 00051 DtC7NetU16 myX; 00052 DtC7NetU16 myY; 00053 DtC7NetU16 myZ; 00054 DtC7NetU32 myWasted1; 00055 DtC7NetU16 myNumApertures; 00056 DtC7NetU16 padding1; 00057 DtC7NetU32 myWasted2; 00058 DtC7NetU16 myNumTriangles; 00059 DtC7NetU16 padding2; 00060 DtC7NetU32 myWasted3; 00061 }; 00062 00063 class DT_DLL_ctdb DtC7bMesGridBox 00064 { 00065 public: 00066 00067 DtC7bMesGridBox(); 00068 ~DtC7bMesGridBox(); 00069 00070 bool read(FILE *f); 00071 00072 const DtC7NetU16& x() const; 00073 const DtC7NetU16& y() const; 00074 const DtC7NetU16& z() const; 00075 const DtC7NetU16& numApertures() const; 00076 const DtC7NetU16& numTriangles() const; 00077 00078 DtC7bMesGridBox_Little* myLittle; 00079 DtC7bMesGridBox_Big* myBig; 00080 00081 DtC7NetInt32 *myChildrenIds; 00082 DtC7NetU16 *myApertureIds; 00083 DtC7NetInt32 *myWallTriangleIds; 00084 }; 00085 00086 #endif 00087