HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_PrimTypeCompat.h File Reference

Contains transitional objects to provide some backward compatibility for code that references old GEO primitive ids. New code should explicitly use either GA_Primitive::getTypeId() or GA_Primitive::getFamilyMask(), as appropriate. These transitional objects will be removed in the next major release. More...

#include "GEO_API.h"
#include <GA/GA_PrimCompat.h>
+ Include dependency graph for GEO_PrimTypeCompat.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 GEO_PrimTypeCompat
 

Enumerations

enum  {
  GEO_PrimTypeCompat::GEOPRIMPOLY_FILEID = 0x00000001, GEO_PrimTypeCompat::GEOPRIMNURBCURVE_FILEID = 0x00000002, GEO_PrimTypeCompat::GEOPRIMBEZCURVE_FILEID = 0x00000004, GEO_PrimTypeCompat::GEOPRIMMESH_FILEID = 0x00000010,
  GEO_PrimTypeCompat::GEOPRIMNURBSURF_FILEID = 0x00000020, GEO_PrimTypeCompat::GEOPRIMBEZSURF_FILEID = 0x00000040, GEO_PrimTypeCompat::GEOPRIMPASTESURF_FILEID = 0x00000f00, GEO_PrimTypeCompat::GEOPRIMCIRCLE_FILEID = 0x00001000,
  GEO_PrimTypeCompat::GEOPRIMSPHERE_FILEID = 0x00002000, GEO_PrimTypeCompat::GEOPRIMTUBE_FILEID = 0x00004000, GEO_PrimTypeCompat::GEOPRIMPART_FILEID = 0x00008000, GEO_PrimTypeCompat::GEOPRIMMETABALL_FILEID = 0x00100000,
  GEO_PrimTypeCompat::GEOPRIMMETASQUAD_FILEID = 0x00200000, GEO_PrimTypeCompat::GEOPRIMMETALINE_FILEID = 0x00300000, GEO_PrimTypeCompat::GEOPRIMMETABEZ_FILEID = 0x00400000, GEO_PrimTypeCompat::GEOPRIMMETATRI_FILEID = 0x00500000,
  GEO_PrimTypeCompat::GEOPRIMTRIFAN_FILEID = 0x10000000, GEO_PrimTypeCompat::GEOPRIMTRISTRIP_FILEID = 0x20000000, GEO_PrimTypeCompat::GEOPRIMTRIBEZIER_FILEID = 0x30000000, GEO_PrimTypeCompat::GEOPRIMVOLUME_FILEID = 0x40000000
}
 

Functions

GEO_API int GEO_PrimTypeCompat::getPrimType (const TypeMask &mask)
 
GEO_API TypeMask GEO_PrimTypeCompat::convertMaskFromFile (unsigned mask)
 Map from an old file bitfield to the compatibility type mask. More...
 
GEO_API unsigned GEO_PrimTypeCompat::convertToFileFromMask (TypeMask mask)
 Inverse of convertMaskFromFile() More...
 

Variables

GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMNONE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOFACE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMPOLY
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMNURBCURVE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMBEZCURVE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOCURVE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOHULL
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMMESH
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMNURBSURF
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMBEZSURF
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOTPSURF
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOSPLINE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMPASTESURF
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMQUADRIC
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMCIRCLE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMSPHERE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMTUBE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMPART
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMMETA
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMMETABALL
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMMETASQUAD
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMMETALINE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMMETABEZ
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMMETATRI
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMOTHER
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMTRIFAN
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMTRISTRIP
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMTRIBEZIER
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMVOLUME
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMTETRAHEDRON
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMPOLYSOUP
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMVDB
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMHEXAHEDRON
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMCHANNEL
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOALLFUTURE
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMALL
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMU
 
GEO_API const TypeMask GEO_PrimTypeCompat::GEOPRIMUV
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMPOLYN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMNURBCURVEN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMBEZCURVEN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMMESHN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMNURBSURFN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMBEZSURFN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMPASTESURFN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMCIRCLEN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMSPHEREN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMTUBEN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMPARTN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMMETABALLN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMMETASQUADN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMMETALINEN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMMETABEZN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMMETATRIN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMTRIFANN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMTRISTRIPN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMTRIBEZIERN
 
GEO_API const char * GEO_PrimTypeCompat::GEOPRIMVOLUMEN
 

Detailed Description

Contains transitional objects to provide some backward compatibility for code that references old GEO primitive ids. New code should explicitly use either GA_Primitive::getTypeId() or GA_Primitive::getFamilyMask(), as appropriate. These transitional objects will be removed in the next major release.

Definition in file GEO_PrimTypeCompat.h.