8#ifndef CLASS_3DEXTRA_DATA_H
9#define CLASS_3DEXTRA_DATA_H
17BEGIN_MOOTOOLS_NAMESPACE
36 DECLARE_SERIAL_XOBJECT(COriginalIndexMethods);
38 SIZET GetSizeof()
const;
39 ElementType GetType()
const;
40 ElementType GetBaseType()
const;
41 void ConstructElement(
void*
pNewData);
46inline COriginalIndexData::COriginalIndexData()
48 index = (
unsigned int)-1;
51inline SIZET COriginalIndexMethods::GetSizeof()
const
56inline ElementType COriginalIndexMethods::GetType()
const
58 return MAKE_CUSTOM_ID(
'O',
'R',
'I',
'N');
61inline ElementType COriginalIndexMethods::GetBaseType()
const
63 return MAKE_CUSTOM_ID(
'O',
'R',
'I',
'N');
68inline void COriginalIndexMethods::ConstructElement(
void*
pNewData)
86 DECLARE_SERIAL_XOBJECT(CBackFaceMaterialMethods);
88 SIZET GetSizeof()
const;
89 ElementType GetType()
const;
90 ElementType GetBaseType()
const;
91 void ConstructElement(
void*
pNewData);
96inline CBackFaceMaterialData::CBackFaceMaterialData()
98 matid = MATERIAL_UNDEFINED;
101inline SIZET CBackFaceMaterialMethods::GetSizeof()
const
106inline ElementType CBackFaceMaterialMethods::GetType()
const
108 return MAKE_CUSTOM_ID(
'B',
'K',
'M',
'T');
111inline ElementType CBackFaceMaterialMethods::GetBaseType()
const
113 return MAKE_CUSTOM_ID(
'B',
'K',
'M',
'T');
118inline void CBackFaceMaterialMethods::ConstructElement(
void*
pNewData)
138 SIZET GetSizeof()
const;
139 ElementType GetType()
const;
140 ElementType GetBaseType()
const;
141 void ConstructElement(
void*
pNewData);
146inline CFaceTagID::CFaceTagID()
151inline SIZET CFaceTagIDMethods::GetSizeof()
const
156inline ElementType CFaceTagIDMethods::GetType()
const
158 return MAKE_CUSTOM_ID(
'T',
'G',
'I',
'D');
161inline ElementType CFaceTagIDMethods::GetBaseType()
const
163 return MAKE_CUSTOM_ID(
'T',
'G',
'I',
'D');
168inline void CFaceTagIDMethods::ConstructElement(
void*
pNewData)
178#define FACE_3DSMAX_EXTRA_DATA MAKE_CUSTOM_ID('M', 'X', 'E', 'X')
179#define FACE_3DSMAX_EXTRA_DATA2 MAKE_CUSTOM_ID('M', 'X', 'E', '2')
184 unsigned int smoothGroup;
192class CMaxFaceData2 :
public CMaxFaceData
200inline CMaxFaceData::CMaxFaceData()
205inline CMaxFaceData2::CMaxFaceData2()
212 DECLARE_SERIAL_XOBJECT(CMaxFaceMethods);
214 SIZET GetSizeof()
const;
215 ElementType GetType()
const;
216 ElementType GetBaseType()
const;
217 void ConstructElement(
void*
pNewData);
220inline SIZET CMaxFaceMethods::GetSizeof()
const
222 return sizeof(CMaxFaceData);
225inline ElementType CMaxFaceMethods::GetType()
const
227 return MAKE_CUSTOM_ID(
'M',
'X',
'D',
'T');
230inline ElementType CMaxFaceMethods::GetBaseType()
const
232 return MAKE_CUSTOM_ID(
'M',
'X',
'D',
'T');
235inline void CMaxFaceMethods::ConstructElement(
void*
pNewData)
240class DLL_3DFUNCTION CMaxFaceMethods2 :
public CMaxFaceMethods
242 DECLARE_SERIAL_XOBJECT(CMaxFaceMethods2);
244 SIZET GetSizeof()
const;
245 ElementType GetType()
const;
246 void ConstructElement(
void*
pNewData);
249inline SIZET CMaxFaceMethods2::GetSizeof()
const
251 return sizeof(CMaxFaceData2);
254inline ElementType CMaxFaceMethods2::GetType()
const
256 return MAKE_CUSTOM_ID(
'M',
'X',
'D',
'2');
259inline void CMaxFaceMethods2::ConstructElement(
void*
pNewData)
261 xConstruct(CMaxFaceData2,
pNewData);
264END_MOOTOOLS_NAMESPACE
An advanced array class containing data that needs to be construct / destruct.
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
Class for storing the back face material using FACE_BACK_MATERIAL id in C3DFaceList::AddDataChunk.
Definition 3DExtraData.h:78
CElementMethods is provided to CElementArray and give some information on the data as well as the met...
Definition ElementArray.h:22
Class for storing the original face index in CFaceList::SaveFacesIndex or CPointList::SavePointsIndex...
Definition 3DExtraData.h:28