Public Member Functions | Public Attributes

FaceCreate Class Reference

Search for all occurrences

Detailed Description

See also:
Class MeshDelta , Class Face

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:
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.

#include <meshdelta.h>

Inheritance diagram for FaceCreate:
Inheritance graph
[legend]

List of all members.

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
Face  face

Constructor & Destructor Documentation

FaceCreate ( DWORD  f,
const Face fc 
) [inline]
Remarks:
Constructor.

Constructor. Initializes data members to the values passed.
: original(f), face(fc) { }
FaceCreate ( const Face fc ) [inline]
Remarks:
Constructor.

Constructor. Initializes face to the value passed, and initializes original to UNDEFINED.
: original(UNDEFINED), face(fc) { }
FaceCreate ( DWORD  f ) [inline]
Remarks:
Constructor.

Constructor. Initializes original to the value passed. Does not initialize the face data member.
: original(f) { }
FaceCreate ( ) [inline]
Remarks:
Constructor. Initializes original to UNDEFINED. Does not initialize the face data member.
: original(UNDEFINED) { }
FaceCreate ( const FaceCreate fc ) [inline]
Remarks:
Copy Constructor

Constructor. Initializes data members to match those in fc.
: original(fc.original), face(fc.face) { }

Member Function Documentation

FaceCreate& operator= ( const FaceCreate fc ) [inline]
Remarks:
Assignment operator. Sets all data members to be equal to those in fc.
Default Implementation:
{ original = fc.original; face=fc.face; return *this; }
{ original = fc.original; face=fc.face; return *this; }

Member Data Documentation

DWORD original

FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate
FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate FaceCreate