GB/GB_AttributeDefines.h File Reference

Go to the source code of this file.

Defines

#define GB_ATTRIB_ALIGN_SIZE   sizeof(void *)

Enumerations

enum  GB_AttribType {
  GB_ATTRIB_FLOAT = 0, GB_ATTRIB_INT = 1, GB_ATTRIB_MIXED = 3, GB_ATTRIB_INDEX = 4,
  GB_ATTRIB_VECTOR = 5
}
enum  GB_AttribTypeInfo { GB_ATTRIB_INFO_NONE = 0, GB_ATTRIB_INFO_INDEX_PAIR = 1, GB_ATTRIB_NUM_INFO }
 Extended type information for attributes. More...
enum  GB_AttributeStorage {
  GB_STORAGE_UNDEF, GB_STORAGE_INT, GB_STORAGE_INT8, GB_STORAGE_INT16,
  GB_STORAGE_INT32, GB_STORAGE_INT64, GB_STORAGE_FPREAL, GB_STORAGE_FPREAL16,
  GB_STORAGE_FPREAL32, GB_STORAGE_FPREAL64, GB_STORAGE_STRING, GB_STORAGE_OPAQUE,
  GB_STORAGE_VOID
}


Define Documentation

#define GB_ATTRIB_ALIGN_SIZE   sizeof(void *)

Definition at line 70 of file GB_AttributeDefines.h.


Enumeration Type Documentation

This enum defines the types of storage for attributes in GA_Attribute

Warning:
Do not change the numeric values since these are saved in binary geometry files.
Enumerator:
GB_ATTRIB_FLOAT  Attribute storage is 32-bit floating point values.
GB_ATTRIB_INT  Attribute storage is 32-bit integer values.
GB_ATTRIB_MIXED  Mixed attributes are not saved/loaded in .bgeo files. They represent blind data that the geometry library doesn't know anything about.
GB_ATTRIB_INDEX  A GB_ATTRIB_INDEX attribute maintains a separate table of string values. These string values have a unique integer associated with them. The attribute stores a 32-bit integer which refers to a string in the table on the GB_Attribute. The following methods are used to access the table:
GB_ATTRIB_VECTOR  Same as float, but is always has a tuple size of 3 floats. In addition, when the geometry is transformed, any vector attributes are transformed as a normal.

Definition at line 26 of file GB_AttributeDefines.h.

Extended type information for attributes.

Enumerator:
GB_ATTRIB_INFO_NONE 
GB_ATTRIB_INFO_INDEX_PAIR  Floating values represent index/value pairs for capture weights.
GB_ATTRIB_NUM_INFO  Sentinal.

Definition at line 60 of file GB_AttributeDefines.h.

Enumerator:
GB_STORAGE_UNDEF 
GB_STORAGE_INT 
GB_STORAGE_INT8 
GB_STORAGE_INT16 
GB_STORAGE_INT32 
GB_STORAGE_INT64 
GB_STORAGE_FPREAL 
GB_STORAGE_FPREAL16 
GB_STORAGE_FPREAL32 
GB_STORAGE_FPREAL64 
GB_STORAGE_STRING 
GB_STORAGE_OPAQUE 
GB_STORAGE_VOID 

Definition at line 72 of file GB_AttributeDefines.h.


Generated on Mon Jan 28 00:47:24 2013 for HDK by  doxygen 1.5.9