Public Member Functions | Public Attributes

FaceSmooth Class Reference

Search for all occurrences

Detailed Description

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

Description:
This class is available in release 3.0 and later only.

This class represents the notion of the edit mesh Face Smooth operation. This updates the smoothing group infomation in the face.
Data Members:
DWORD f

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

DWORD mask

The mask into the face of the smoothing groups.

DWORD val;

The smoothing group information to store.

#include <meshdelta.h>

Inheritance diagram for FaceSmooth:
Inheritance graph
[legend]

List of all members.

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
DWORD  mask
DWORD  val

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
DWORD mask
DWORD val

FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth
FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth FaceSmooth