Public Member Functions

IProjectionModData Class Reference

Search for all occurrences

Detailed Description

See also:
Class IProjectionMod
Description:
provides an interface to the Projection Mod Data.

#include <IProjectionMod.h>

Inheritance diagram for IProjectionModData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Interface_ID  GetID ()
virtual ObjectWrapper GetBaseObject ()=0
  Get ObjectWrapper for the Base Object.
virtual ObjectWrapper GetCage ()=0
  Get ObjectWrapper for the Cage.
virtual bool  GetObjectSel (int iIndex, BitArray &sel)=0
  Get the object selection by Object Index.
virtual int  GetObjectSelMtlIDs (int iIndex, Tab< int > &mtlIDs)=0
  Get the material IDs by Object Index.
virtual bool  GetGeomSel (int iSelIndex, BitArray &sel)=0
  Get the object selection by Geometry Selection.
virtual int  GetGeomSelMtlIDs (int iSelIndex, Tab< int > &mtlIDs)=0
  Get the material IDs by Geometry Selection.
virtual float  GetGeomSelFaceArea (int iSelIndex)=0
  Get the surface area of selection by Geometry Selection.
virtual int  CheckDuplicateMatIDs (BitArray &bitFaceDups)=0
  Check for duplicate Material IDs Duplicate material IDs can create unwanted results with certain Project Mapping settings in RTT.
virtual int  CheckDuplicateSels (BitArray &bitFaceDups)=0
  Check for duplicate face selection Duplicate face selections can create unwanted results with certain Project Mapping settings in RTT.

Member Function Documentation

virtual Interface_ID GetID ( ) [inline, virtual]
Remarks:
This method returns the unique interface ID.

Reimplemented from BaseInterface.

{ return IPROJECTIONMODDATA_INTERFACE_ID; }
virtual ObjectWrapper& GetBaseObject ( ) [pure virtual]

Get ObjectWrapper for the Base Object.

The base object refers to the object that contains the Projection Modifier

Returns:
ObjectWrapper reference to ObjectWrapper
virtual ObjectWrapper& GetCage ( ) [pure virtual]

Get ObjectWrapper for the Cage.

Returns:
ObjectWrapper reference to ObjectWrapper
virtual bool GetObjectSel ( int  iIndex,
BitArray sel 
) [pure virtual]

Get the object selection by Object Index.

Parameters:
[in] iIndex zero based index into number of objects
[out] sel - bitarray of face selection
Returns:
bool true if valid bitarray was returned
virtual int GetObjectSelMtlIDs ( int  iIndex,
Tab< int > &  mtlIDs 
) [pure virtual]

Get the material IDs by Object Index.

Parameters:
[in] iIndex zero based index into number of objects
[out] mtlIDs - Tab< int> of material IDs in selection
Returns:
int number of material IDs found
virtual bool GetGeomSel ( int  iSelIndex,
BitArray sel 
) [pure virtual]

Get the object selection by Geometry Selection.

Parameters:
[in] iSelIndex zero based index into number of geometry selections.
[out] sel - bitarray of face selection
Returns:
bool true if valid bitarray was returned
virtual int GetGeomSelMtlIDs ( int  iSelIndex,
Tab< int > &  mtlIDs 
) [pure virtual]

Get the material IDs by Geometry Selection.

Parameters:
[in] iSelIndex zero based index into number of geometry selections
[out] mtlIDs - Tab< int> of material IDs in selection
Returns:
int number of material IDs found
virtual float GetGeomSelFaceArea ( int  iSelIndex ) [pure virtual]

Get the surface area of selection by Geometry Selection.

Parameters:
[in] iSelIndex zero based index into number of geometry selections.
Returns:
float surface area of face selection
virtual int CheckDuplicateMatIDs ( BitArray bitFaceDups ) [pure virtual]

Check for duplicate Material IDs Duplicate material IDs can create unwanted results with certain Project Mapping settings in RTT.

Parameters:
[out] bitFaceDups - bitarray of face duplicates
Returns:
int Number of faces with duplicates
virtual int CheckDuplicateSels ( BitArray bitFaceDups ) [pure virtual]

Check for duplicate face selection Duplicate face selections can create unwanted results with certain Project Mapping settings in RTT.

Parameters:
[out] bitFaceDups - bitarray of face duplicates
Returns:
int Number of faces with duplicates

IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData
IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData IProjectionModData