#include <meshdelta.h>
This class represents the notion of a face create within a MeshDelta.
The public data members provide the index of any original face the new face may be based on as well as the new face itself. The virtue of providing the original face information is that we may use it to track per-face data that isn't contained within the face itself. Note that this class relates closely to the new custom per-face data channels. For details on the implementations see Class IFaceDataChannel, Class IFaceDataMgr.
Public Member Functions |
|
FaceCreate (DWORD f, const Face &fc) | |
FaceCreate (const Face &fc) | |
FaceCreate (DWORD f) | |
FaceCreate () | |
FaceCreate (const FaceCreate &fc) | |
FaceCreate & | operator= (const FaceCreate &fc) |
Public Attributes |
|
DWORD | original |
The face in the input mesh this new face
should copy properties from. |
|
Face | face |
The new face. |
FaceCreate | ( | DWORD | f, |
const Face & | fc | ||
) | [inline] |
FaceCreate | ( | const Face & | fc | ) | [inline] |
FaceCreate | ( | DWORD | f | ) | [inline] |
: original(f) { }
FaceCreate | ( | ) | [inline] |
FaceCreate | ( | const FaceCreate & | fc | ) | [inline] |
FaceCreate& operator= | ( | const FaceCreate & | fc | ) | [inline] |
DWORD original |
The face in the input mesh this new face should copy properties from.
If UNDEFINED, this face is assumed to be totally original and should not copy properties from any faces in the input mesh.
The new face.