Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
WeightFaceList.h
Go to the documentation of this file.
1//! @file WeightFaceList.h
2//! @brief CWeightFaceList is a CFaceList that contains CWeightFace
3//!
4/////////////////////////////////////////////////////////////////////
5
6#if !defined(WEIGHTFACELIST_INCLUDE)
7#define WEIGHTFACELIST_INCLUDE
8
9#ifdef _MSC_VER
10#pragma once
11#endif // _MSC_VER
12
13#include "FaceList.h"
14#include "WeightFace.h"
15
16BEGIN_MOOTOOLS_NAMESPACE
17
18//! @class CWeightFaceList
19//! @brief CWeightFaceList is a CFaceList that contains CWieghtFace. It usually belongs to a CWeightChannel.
20class DLL_3DFUNCTION CWeightFaceList : public CFaceList
21{
22public:
23 using CFaceList::operator=;
24
25 DECLARE_SERIAL_XOBJECT(CWeightFaceList);
26
27 //! Create a new face list. When weightFaces is provided, the data structure (datachunks) is inherited but the face list is created empty
29 virtual ~CWeightFaceList(); //!< Use Delete instead, unless the CWeightFaceList 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(WEIGHTFACELIST_INCLUDE)
CFaceList class is the base class for different kind of face list.
CWeightFace is a face that refers to a weight in a CWeightPointList.
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
CWeightFaceList is a CFaceList that contains CWieghtFace. It usually belongs to a CWeightChannel.
Definition WeightFaceList.h:21
CWeightFaceList(CWeightFaceList *weightFaces=NULL)
Create a new face list. When weightFaces is provided, the data structure (datachunks) is inherited bu...
virtual CFace * CreateFace() const
use ReleaseFace(CFace *) to delete created face
virtual ~CWeightFaceList()
Use Delete instead, unless the CWeightFaceList is created on the stack (take care that it is referenc...