#include <GDT_VertexList.h>

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_AttributeElem * | getNextAttributeElement (GEO_Detail &gdp) const |
| virtual GB_AttributeElem * | getAttributeElement (GEO_Detail &gdp, unsigned int index) const |
| virtual GB_AttributeDict & | getAttributeDict (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 |
Definition at line 31 of file GDT_VertexList.h.
| 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.
| virtual GB_AttributeRef GDT_VertexList::appendGdpAttribute | ( | GEO_Detail & | gdp, | |
| const char * | name, | |||
| int | size, | |||
| GB_AttribType | type, | |||
| const void * | defvalue | |||
| ) | const [inline, virtual] |
| 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] |
| 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] |
| 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 | ) |
1.5.9