13 #ifndef __GA_PrimitiveDefinition__ 
   14 #define __GA_PrimitiveDefinition__ 
   42     bool allowed_to_parallelize);
 
   76                                     { 
return myIntrinsicManager; }
 
   78                                     { 
return myIntrinsicManager; }
 
   96     { 
UT_ASSERT_MSG(0, 
"This should never be called anymore!  All regular constructors must be threadsafe.  This function is only here for the deprecation warning message."); }
 
  145                         { 
return mySharedDataLoader != 0; }
 
  148                         { mySharedDataLoader = l; }
 
  150                                         { 
return mySharedDataLoader; }
 
  156                         { 
return myConstructor; }
 
  165         bool isforprimarydetail);
 
  194     const SharedDataLoader      *mySharedDataLoader;
 
  197     bool                myHasLocalTransform;
 
  204     const bool myForPrimaryDetail;
 
void setHasLocalTransform(bool x)
Set whether the primitive is has a transform associated with it. 
 
GLuint GLsizei const GLchar * label
 
virtual GA_SharedLoadDataStat * stat(UT_JSONParser &parser) const 
 
void setHasCECaches(bool x)
 
bool hasCECaches() const 
Return whether the primitive is able to be cached on the GPU. 
 
The merge map keeps track of information when merging details. 
 
GLboolean GLboolean GLboolean GLboolean a
 
JSON reader class which handles parsing of JSON or bJSON files. 
 
Manager to keep track of global handle to name mappings. 
 
const GA_IntrinsicManager & getIntrinsicManager() const 
Primitive intrinsic attributes defined for this primitive. 
 
exint GA_Size
Defines the bit width for index and offset types in GA. 
 
void setSharedDataLoader(const SharedDataLoader *l)
Associate the primitive type with a shared data loader. 
 
const UT_StringHolder & getIcon() const 
The icon associated with the primitive type (if any). 
 
#define UT_ASSERT_MSG(ZZ,...)
 
#define SYS_DEPRECATED_REPLACE(__V__, __R__)
 
GA_PrimitiveFamilyMask getFamilyMask() const 
The optional family mask. 
 
void setIcon(const UT_StringHolder &icon)
Set the icon for the primitive. 
 
Class to load shared data. 
 
GA_IntrinsicManager & getIntrinsicManager()
 
const UT_StringHolder & getToken() const 
The name of the primitive. 
 
bool any(const vbool4 &v)
 
bool hasSharedLoadData() const 
Return whether the primitive type has a shared data loader. 
 
GLuint const GLchar * name
 
virtual ~SharedDataLoader()
 
SYS_FORCE_INLINE const GA_PrimitiveTypeId & getId() const 
The unique ID assigned by the GA_PrimitiveFactory. 
 
A map of string to various well defined value types. 
 
const SharedDataLoader * sharedDataLoader() const 
 
void(* GA_PrimitiveBlockConstructor)(GA_Primitive **new_prims, GA_Size nprimitives, GA_Detail &detail, GA_Offset start_offset, const GA_PrimitiveDefinition &def, bool allowed_to_parallelize)
 
Container class for all geometry. 
 
Definition of a geometric primitive. 
 
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
 
bool hasLocalTransform() const 
Return whether the primitive has a transform associated with it. 
 
const UT_StringHolder & getLabel() const 
The label (user friendly & readable token) of the primitive. 
 
bool isForPrimaryDetail() const 
 
void setLabel(const UT_StringHolder &label)
Set the label for the primitive.