HDK
|
Enumerations | |
enum | { GEOPRIMPOLY_FILEID = 0x00000001, GEOPRIMNURBCURVE_FILEID = 0x00000002, GEOPRIMBEZCURVE_FILEID = 0x00000004, GEOPRIMMESH_FILEID = 0x00000010, GEOPRIMNURBSURF_FILEID = 0x00000020, GEOPRIMBEZSURF_FILEID = 0x00000040, GEOPRIMPASTESURF_FILEID = 0x00000f00, GEOPRIMCIRCLE_FILEID = 0x00001000, GEOPRIMSPHERE_FILEID = 0x00002000, GEOPRIMTUBE_FILEID = 0x00004000, GEOPRIMPART_FILEID = 0x00008000, GEOPRIMMETABALL_FILEID = 0x00100000, GEOPRIMMETASQUAD_FILEID = 0x00200000, GEOPRIMMETALINE_FILEID = 0x00300000, GEOPRIMMETABEZ_FILEID = 0x00400000, GEOPRIMMETATRI_FILEID = 0x00500000, GEOPRIMTRIFAN_FILEID = 0x10000000, GEOPRIMTRISTRIP_FILEID = 0x20000000, GEOPRIMTRIBEZIER_FILEID = 0x30000000, GEOPRIMVOLUME_FILEID = 0x40000000 } |
Functions | |
GEO_API int | getPrimType (const TypeMask &mask) |
GEO_API TypeMask | convertMaskFromFile (unsigned mask) |
Map from an old file bitfield to the compatibility type mask. More... | |
GEO_API unsigned | convertToFileFromMask (TypeMask mask) |
Inverse of convertMaskFromFile() More... | |
The compatibility objects are wrapped in a name space to stress the change between the obsolete type bitmasks (e.g. GEOPRIMPOLY) and the new type ids (e.g. GEO_PRIMPOLY).
anonymous enum |
Definition at line 130 of file GEO_PrimTypeCompat.h.
Map from an old file bitfield to the compatibility type mask.
GEO_API unsigned GEO_PrimTypeCompat::convertToFileFromMask | ( | TypeMask | mask | ) |
Inverse of convertMaskFromFile()
Map from the compatibility type mask to the enum values defined in GEO_PrimType.h. If the mask doesn't match one of the enummerated types exactly, GEO_PRIMNONE will be returned. In other words
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMBEZCURVEN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMBEZSURFN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMCIRCLEN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMMESHN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMMETABALLN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMMETABEZN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMMETALINEN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMMETASQUADN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMMETATRIN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMNURBCURVEN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMNURBSURFN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMPARTN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMPASTESURFN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMPOLYN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMSPHEREN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMTRIBEZIERN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMTRIFANN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMTRISTRIPN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMTUBEN |
GEO_API const char* GEO_PrimTypeCompat::GEOPRIMVOLUMEN |