IFXAuthorFaceUpdate

This class provides an authoring view of how a single IFXAuthorFace should be adjusted to increase or descrease the mesh's resolution. A short list of IFXAuthorFaceUpdate records is used by each IFXAuthorVertexUpdate record to describe which faces and which face attribute pointers must be changed to effect the resolution change. Each IFXAuthorFaceUpdate record contains: (FaceIndex AttributeType index [layer] DecreaseValue IncreaseValue).

Interface Methods

Description

IFXAuthorFaceUpdate

Class constructor

~IFXAuthorFaceUpdate

Class destructor

FaceIndex

Returns a reference to the FaceIndex field of the IFXAuthorFaceUpdate record

CornerIndex

Returns a reference to the CornerIndex field of the IFXAuthorFaceUpdate record

LayerIndex

Returns a reference to the LayerIndex field of the IFXAuthorFaceUpdate record

DecreaseValue

Returns a reference to the DecreaseValue field of the IFXAuthorFaceUpdate record

IncreaseValue

Returns a reference to the IncreaseValue field of the IFXAuthorFaceUpdate record

WhichAttribute

Returns a reference to the WhichAttribute field of the IFXAuthorFaceUpdate record


enum AttributeType {Undefined, Position, Normal, TexCoord}

AttributeType is an enumerated that describes which face attribute index will require adjusting when the IFXAuthorFaceUpdate record is applied. Legal values include Position, Normal, and TexCoord.


IFXAuthorFaceUpdate::IFXAuthorFaceUpdate()

Class constructor

Parameters:

None

Return Values:

None


IFXAuthorFaceUpdate::~IFXAuthorFaceUpdate()

Class destructor

Parameters:

None

Return Values:

None


IFXAuthorFaceUpdate::FaceIndex()

This method returns a reference to the FaceIndex field of the IFXAuthorFaceUpdate record. The method can be used to get or set the associated data value. The face index is the mesh index of the face to be updated.

Parameters:

None

Return Values:

A reference to the FaceIndex integer field


IFXAuthorFaceUpdate::CornerIndex()

This method returns a reference to the CornerIndex field of the IFXAuthorFaceUpdate record. The method can be used to get or set the associated data value. The corner index is the vertex index within the triangular face to be updated. Legal values are in the range of [0..2].

Parameters:

None

Return Values:

A reference to the CornerIndex integer field


IFXAuthorFaceUpdate::LayerIndex()

This method returns a reference to the LayerIndex field of the IFXAuthorFaceUpdate record. The method can be used to get or set the associated data value. The layer indexes which texture coordinate layer should be adjusted for the face indicated by FaceIndex. Note that this field only has meaning in the case where AttributeType is equal to TexCoord. Legal values are in the range of [0...IFX_AUTHOR_UPDATES_MAX_NUM_LAYERS].

Parameters:

None

Return Values:

A reference to the LayerIndex integer field


IFXAuthorFaceUpdate::DecreaseValue()

This method returns a reference to the DecreaseValue field of the IFXAuthorFaceUpdate record. The method can be used to get or set the associated data value. The decrease value indicates what the value of the indicated face attribute index should be after application of this IFXAuthorFaceUpdate record during a Decrease Resolution operation.

Parameters:

None

Return Values:

A reference to the IFXAuthorGeomIndex field


IFXAuthorFaceUpdate::IncreaseValue()

This method returns a reference to the IncreaseValue field of the IFXAuthorFaceUpdate record. The method can be used to get or set the associated data value. The increase value indicates what the value of the indicated face attribute index should be after application of this IFXAuthorFaceUpdate record during an Increase Resolution operation.

Parameters:

None

Return Values:

A reference to the IFXAuthorGeomIndex field


IFXAuthorFaceUpdate::WhichAttribute()

This method returns a reference to the WhichAttribute field of the IFXAuthorFaceUpdate record. The method can be used to get or set the associated data value. This type indicates which attribute index in the face (indicated by FaceIndex) is to be updated. See the IFXAuthorFaceUpdate::AttributeType description above for legal values.

Parameters:

None

Return Values:

A reference to the WhichAttribute field

 

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.