FaceSmooth Class Reference
 
 
 
FaceSmooth Class Reference

#include <meshdelta.h>

Inheritance diagram for FaceSmooth:
MaxHeapOperators

Class Description

This class represents the notion of the edit mesh Face Smooth operation.

This updates the smoothing group infomation in the face.

See also:
Class Mesh, Class Face, Class Point3.

Public Member Functions

  FaceSmooth ()
  FaceSmooth (DWORD ff, DWORD mk, DWORD vl)
DllExport void  Apply (Face &ff)
DllExport void  Apply (FaceSmooth &fs)

Public Attributes

DWORD  f
  The face to change. This is a zero based index into the Mesh::faces array.
DWORD  mask
  The mask into the face of the smoothing groups.
DWORD  val
  The smoothing group information to store.

Constructor & Destructor Documentation

FaceSmooth ( ) [inline]
Remarks:
Constructor. The flags and f are set to 0.
{ f=mask=0; }
FaceSmooth ( DWORD  ff,
DWORD  mk,
DWORD  vl 
) [inline]
Remarks:
Constructor. The data members are initalized to the values passed.
{ f=ff; mask=mk; val=vl; }

Member Function Documentation

DllExport void Apply ( Face ff )
Remarks:
Applies this smoothing change to the given face.
Parameters:
Face &ff The face to update.
DllExport void Apply ( FaceSmooth fs )
Remarks:
Assigns the flags and val to the given FaceSmooth object from this one.
Parameters:
FaceSmooth &fs The FaceSmooth object to alter.

Member Data Documentation

DWORD f

The face to change. This is a zero based index into the Mesh::faces array.

DWORD mask

The mask into the face of the smoothing groups.

DWORD val

The smoothing group information to store.