Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
UVWFaceList.h
Go to the documentation of this file.
1//! @file UVWFaceList.h
2//! @brief CUVWFaceList is a CFaceList that contains CUVWFace
3//!
4//////////////////////////////////////////////////////////////////////
5
6#if !defined(AFX_UVWFACELIST_H__87AE9F01_44D4_11D3_A382_B19716B5FB20__INCLUDED_)
7#define AFX_UVWFACELIST_H__87AE9F01_44D4_11D3_A382_B19716B5FB20__INCLUDED_
8
9#ifdef _MSC_VER
10#pragma once
11#endif // _MSC_VER
12
13#include "FaceList.h"
14#include "UVWFace.h"
15
16BEGIN_MOOTOOLS_NAMESPACE
17
18//! @class CUVWFaceList
19//! @brief CUVWFaceList is a CFaceList that contains CUVWFace. It usually belongs to a CUVWChannel.
20class DLL_3DFUNCTION CUVWFaceList : public CFaceList
21{
22public:
23 using CFaceList::operator=;
24
25 DECLARE_SERIAL_XOBJECT(CUVWFaceList);
26
27 // Create a new face list. When uvwFaces is provided, the data structure (datachunks) is inherited but the face list is created empty
29 virtual ~CUVWFaceList(); // Use Delete() instead, unless the CUVWFaceList is created on the stack (take care that it is referenced once only in this case)
30
31 virtual CFace *CreateFace() const; // use ReleaseFace(CFace *) to delete created face
32
33#ifdef _DEBUG
35#endif
36};
37
38END_MOOTOOLS_NAMESPACE
39
40#endif // !defined(AFX_UVWFACELIST_H__87AE9F01_44D4_11D3_A382_B19716B5FB20__INCLUDED_)
CFaceList class is the base class for different kind of face list.
CUVWFace is a face that refers to an UV in a CUVWPointList.
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
A CFace contains the information related to a given face in a CFaceList.
Definition Face.h:97
CFaceList is the common base class for a lot of different classes (C3DFaceList, CUVWFaceList....
Definition FaceList.h:179
CUVWFaceList is a CFaceList that contains CUVWFace. It usually belongs to a CUVWChannel.
Definition UVWFaceList.h:21
virtual CFace * CreateFace() const
Get a face object the appropriate derived face type (ie it will return a C3DFace, with C3DFaceList,...