GDT_VertexList Class Reference

#include <GDT_VertexList.h>

Inheritance diagram for GDT_VertexList:

GDT_TokenList

List of all members.

Public Member Functions

 GDT_VertexList ()
 GDT_VertexList (const GDT_VertexList &other)
virtual ~GDT_VertexList ()
void mergeVertexDeltas (const GDT_VertexList &other, bool inverse=false)
void applyScaledDelta (GEO_Detail &gdp, GEO_Primitive &prim, int vtxidx, float scale) const
void endVertexAttributeChange (const GB_AttributeData &data, unsigned int prim_index, unsigned int linear_index_in_prim)
void updateVertexOffsets (const GEO_Detail &gdp)
virtual unsigned int getElementCount (const GEO_Detail &gdp) const
virtual void initIterate () const
virtual GB_AttributeElemgetNextAttributeElement (GEO_Detail &gdp) const
virtual GB_AttributeElemgetAttributeElement (GEO_Detail &gdp, unsigned int index) const
virtual GB_AttributeDictgetAttributeDict (GEO_Detail &gdp) const
virtual GB_AttributeRef appendGdpAttribute (GEO_Detail &gdp, const char *name, int size, GB_AttribType type, const void *defvalue) const
virtual GB_AttributeRef growGdpAttribute (GEO_Detail &gdp, const char *name, int oldsize, GB_AttribType type, unsigned int addedsize) const
virtual int saveAttribs (ostream &os, int binary=0) const
bool loadOffsets (UT_JSONParser &p)
virtual bool legacyLoadAttribs (UT_IStream &is, uint size)
virtual void destroy ()

Protected Member Functions

virtual void getAttributeElements (const GEO_Detail &beforegdp, const GEO_Detail &aftergdp, unsigned int before_elem_index, unsigned int after_elem_index, const GB_AttributeElem *&beforeelem, const GB_AttributeElem *&afterelem) const
void buildOffsetArray (const GEO_Detail &gdp, UT_IntArray &array)
bool calculatePrimVertex (unsigned int idx, const UT_IntArray &offsets, unsigned int &primidx, unsigned int &vertexidx, int start=0, int end=-1) const


Detailed Description

Definition at line 31 of file GDT_VertexList.h.


Constructor & Destructor Documentation

GDT_VertexList::GDT_VertexList (  ) 

GDT_VertexList::GDT_VertexList ( const GDT_VertexList other  ) 

virtual GDT_VertexList::~GDT_VertexList (  )  [inline, virtual]

Definition at line 36 of file GDT_VertexList.h.


Member Function Documentation

virtual GB_AttributeRef GDT_VertexList::appendGdpAttribute ( GEO_Detail gdp,
const char *  name,
int  size,
GB_AttribType  type,
const void *  defvalue 
) const [inline, virtual]

Implements GDT_TokenList.

Definition at line 80 of file GDT_VertexList.h.

void GDT_VertexList::applyScaledDelta ( GEO_Detail gdp,
GEO_Primitive prim,
int  vtxidx,
float  scale 
) const

void GDT_VertexList::buildOffsetArray ( const GEO_Detail gdp,
UT_IntArray array 
) [protected]

bool GDT_VertexList::calculatePrimVertex ( unsigned int  idx,
const UT_IntArray offsets,
unsigned int &  primidx,
unsigned int &  vertexidx,
int  start = 0,
int  end = -1 
) const [protected]

virtual void GDT_VertexList::destroy (  )  [virtual]

Reimplemented from GDT_TokenList.

void GDT_VertexList::endVertexAttributeChange ( const GB_AttributeData data,
unsigned int  prim_index,
unsigned int  linear_index_in_prim 
)

virtual GB_AttributeDict& GDT_VertexList::getAttributeDict ( GEO_Detail gdp  )  const [inline, virtual]

Implements GDT_TokenList.

Definition at line 76 of file GDT_VertexList.h.

virtual GB_AttributeElem* GDT_VertexList::getAttributeElement ( GEO_Detail gdp,
unsigned int  index 
) const [virtual]

Implements GDT_TokenList.

virtual void GDT_VertexList::getAttributeElements ( const GEO_Detail beforegdp,
const GEO_Detail aftergdp,
unsigned int  before_elem_index,
unsigned int  after_elem_index,
const GB_AttributeElem *&  beforeelem,
const GB_AttributeElem *&  afterelem 
) const [protected, virtual]

Implements GDT_TokenList.

virtual unsigned int GDT_VertexList::getElementCount ( const GEO_Detail gdp  )  const [virtual]

Implements GDT_TokenList.

virtual GB_AttributeElem* GDT_VertexList::getNextAttributeElement ( GEO_Detail gdp  )  const [virtual]

Implements GDT_TokenList.

virtual GB_AttributeRef GDT_VertexList::growGdpAttribute ( GEO_Detail gdp,
const char *  name,
int  oldsize,
GB_AttribType  type,
unsigned int  addedsize 
) const [inline, virtual]

Implements GDT_TokenList.

Definition at line 89 of file GDT_VertexList.h.

virtual void GDT_VertexList::initIterate (  )  const [virtual]

Implements GDT_TokenList.

virtual bool GDT_VertexList::legacyLoadAttribs ( UT_IStream is,
uint  size 
) [virtual]

Reimplemented from GDT_TokenList.

bool GDT_VertexList::loadOffsets ( UT_JSONParser p  ) 

void GDT_VertexList::mergeVertexDeltas ( const GDT_VertexList other,
bool  inverse = false 
)

virtual int GDT_VertexList::saveAttribs ( ostream &  os,
int  binary = 0 
) const [virtual]

Reimplemented from GDT_TokenList.

void GDT_VertexList::updateVertexOffsets ( const GEO_Detail gdp  ) 


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

Generated on Mon Jan 28 00:48:15 2013 for HDK by  doxygen 1.5.9