GEO_PointAttribDict Class Reference

Attribute dictionary for points. More...

#include <GEO_AttribDict.h>

Inheritance diagram for GEO_PointAttribDict:

GB_AttributeDict UT_LinkList

List of all members.

Public Member Functions

 GEO_PointAttribDict (GEO_PointList &pointList)
virtual ~GEO_PointAttribDict ()
virtual void sortAs (const GB_AttributeDict &table)
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 fillPoint (GEO_Point &pt) const
 fill pt's attr list
void setVertexDict (GEO_VertexAttribDict *vd)
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.
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)

Friends

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


Detailed Description

Attribute dictionary for points.

Definition at line 36 of file GEO_AttribDict.h.


Constructor & Destructor Documentation

GEO_PointAttribDict::GEO_PointAttribDict ( GEO_PointList pointList  ) 

virtual GEO_PointAttribDict::~GEO_PointAttribDict (  )  [virtual]


Member Function Documentation

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

Note: if the dictionary already has point capture attributes, append will actually insert the attribute before the existing capture attribute. It really should be named "add", but I'm leaving it "append" to look like the other dictionaries.

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

Note: if the dictionary already has point capture attributes, append will actually insert the attribute before the existing capture attribute. It really should be named "add", but I'm leaving it "append" to look like the other dictionaries.

GB_AttributeRef GEO_PointAttribDict::appendClone ( const GB_Attribute src  ) 

Note: if the dictionary already has point capture attributes, append will actually insert the attribute before the existing capture attribute. It really should be named "add", but I'm leaving it "append" to look like the other dictionaries.

void GEO_PointAttribDict::cleanIndex ( const char *  name  ) 

cleaning will remove all unused indices

void GEO_PointAttribDict::collapseIndex (  ) 

Collapses all index attribs.

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

same as destroy but use relaxed search ignoring size comparison

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

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

void GEO_PointAttribDict::fillPoint ( GEO_Point pt  )  const

fill pt's attr list

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

void GEO_PointAttribDict::resetIndex (  ) 

Clears all index attribs.

void GEO_PointAttribDict::setVertexDict ( GEO_VertexAttribDict vd  )  [inline]

Definition at line 64 of file GEO_AttribDict.h.

virtual void GEO_PointAttribDict::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:23 2013 for HDK by  doxygen 1.5.9