Class FaceCreate
See Also: Class MeshDelta , Class Face
class FaceCreate
Description:
This class is available in release 4.0 and later only.
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.
Data Members:
public:
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.
Face face;
The new face.
Methods:
public:
Prototype:
FaceCreate (DWORD f, const Face & fc) : original(f), face(fc);
Remarks:
Constructor.
Constructor. Initializes data members to the values passed.
Default Implementation:
{ }
Prototype:
FaceCreate (const Face & fc) : original(UNDEFINED), face(fc);
Remarks:
Constructor.
Constructor. Initializes face to the value passed, and initializes original to UNDEFINED.
Default Implementation:
{ }
Prototype:
FaceCreate (DWORD f) : original(f);
Remarks:
Constructor.
Constructor. Initializes original to the value passed. Does not initialize the face data member.
Default Implementation:
{ }
Prototype:
FaceCreate () : original(UNDEFINED);
Remarks:
Constructor. Initializes original to UNDEFINED. Does not initialize the face data member.
Default Implementation:
{ }
Prototype:
FaceCreate (const FaceCreate & fc) : original(fc.original), face(fc.face);
Remarks:
Constructor
Constructor. Initializes data members to match those in fc.
Default Implementation:
{ }
Prototype:
FaceCreate & operator= (const FaceCreate & fc);
Remarks:
Assignment operator. Sets all data members to be equal to those in fc.
Default Implementation:
{ original = fc.original; face=fc.face; return *this; }