GEO_VertexAttribDict Class Reference

Attribute dictionary for vertices. More...

#include <GEO_AttribDict.h>

Inheritance diagram for GEO_VertexAttribDict:

GB_AttributeDict UT_LinkList

List of all members.

Public Member Functions

 GEO_VertexAttribDict (GEO_PrimList &primList)
virtual ~GEO_VertexAttribDict ()
virtual void sortAs (const GB_AttributeDict &table)
GB_AttributeRef append (const char *n, int s, GB_AttribType type, const void *defValue)
GB_AttributeRef append (const char *n, int s, GB_AttribType type, GB_AttribTypeInfo type_info, const void *defValue)
GB_AttributeRef appendClone (const GB_Attribute *src)
void destroy (const char *name, int size, GB_AttribType type)
void destroy (const char *name, GB_AttribType type)
 same as destroy but use relaxed search ignoring size comparison
GB_AttributeRef grow (const char *n, int oldsize, GB_AttribType type, unsigned int addedsize)
void promoteAttrib (const char *n, int s, GB_AttribType type)
 Promote an attribute to the vertex dictionary.
void demoteAttrib (const char *n, int s, GB_AttribType type)
 Demote an attribute to the point dictionary.
void fillVertex (GEO_Vertex &vtx) const
void setPointDict (GEO_PointAttribDict *pd)
void destroyIndex (const char *name, const char *label)
void cleanIndex (const char *name)
 cleaning will remove all unused indices
void collapseIndex ()
 Collapses all index attribs.
void resetIndex ()
 Clears all index attribs.

Friends

template<typename T >
void geoCopyAttribDict (T *me, const GB_AttributeDict &src)


Detailed Description

Attribute dictionary for vertices.

Definition at line 90 of file GEO_AttribDict.h.


Constructor & Destructor Documentation

GEO_VertexAttribDict::GEO_VertexAttribDict ( GEO_PrimList primList  ) 

virtual GEO_VertexAttribDict::~GEO_VertexAttribDict (  )  [virtual]


Member Function Documentation

GB_AttributeRef GEO_VertexAttribDict::append ( const char *  n,
int  s,
GB_AttribType  type,
GB_AttribTypeInfo  type_info,
const void *  defValue 
)

GB_AttributeRef GEO_VertexAttribDict::append ( const char *  n,
int  s,
GB_AttribType  type,
const void *  defValue 
)

GB_AttributeRef GEO_VertexAttribDict::appendClone ( const GB_Attribute src  ) 

void GEO_VertexAttribDict::cleanIndex ( const char *  name  ) 

cleaning will remove all unused indices

void GEO_VertexAttribDict::collapseIndex (  ) 

Collapses all index attribs.

void GEO_VertexAttribDict::demoteAttrib ( const char *  n,
int  s,
GB_AttribType  type 
)

Demote an attribute to the point dictionary.

void GEO_VertexAttribDict::destroy ( const char *  name,
GB_AttribType  type 
)

same as destroy but use relaxed search ignoring size comparison

void GEO_VertexAttribDict::destroy ( const char *  name,
int  size,
GB_AttribType  type 
)

void GEO_VertexAttribDict::destroyIndex ( const char *  name,
const char *  label 
)

void GEO_VertexAttribDict::fillVertex ( GEO_Vertex vtx  )  const

GB_AttributeRef GEO_VertexAttribDict::grow ( const char *  n,
int  oldsize,
GB_AttribType  type,
unsigned int  addedsize 
)

void GEO_VertexAttribDict::promoteAttrib ( const char *  n,
int  s,
GB_AttribType  type 
)

Promote an attribute to the vertex dictionary.

void GEO_VertexAttribDict::resetIndex (  ) 

Clears all index attribs.

void GEO_VertexAttribDict::setPointDict ( GEO_PointAttribDict pd  )  [inline]

Definition at line 114 of file GEO_AttribDict.h.

virtual void GEO_VertexAttribDict::sortAs ( const GB_AttributeDict  )  [virtual]

Sort the attributes into a specific order. Basically used for making two details mergable. Attributes will be added if they don't already exist. At the conclusion, the attribute list will be identical to the table...

Implements GB_AttributeDict.


Friends And Related Function Documentation

template<typename T >
void geoCopyAttribDict ( T *  me,
const GB_AttributeDict src 
) [friend]


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:29:31 2013 for HDK by  doxygen 1.5.9