HDK
|
#include <GA_PolyCounts.h>
Classes | |
class | iteratorT |
class | Range |
Range class for multi-threading with TBB. More... | |
class | SizeCount |
Public Types | |
typedef iteratorT < GA_PolyCounts, UT_Array < SizeCount > > | iterator |
typedef iteratorT< const GA_PolyCounts, const UT_Array < SizeCount > > | const_iterator |
Public Member Functions | |
GA_PolyCounts () | |
GA_PolyCounts (const GA_PolyCounts &that) | |
GA_PolyCounts & | operator= (const GA_PolyCounts &that) |
iterator | begin () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | findVertex (GA_Size relativevertex) const |
Range | range () const |
UT_Array< SizeCount > & | getArray () |
const UT_Array< SizeCount > & | getArray () const |
void | clear () |
void | append (GA_Size size, GA_Size count=1) |
void | append (const GA_PolyCounts &that) |
GA_Size | getNumPolygons () const |
GA_Size | getNumVertices () const |
GA_Size | getSize (GA_Size polygon) const |
Simpler than getVertexRange if you just want the polygon size. More... | |
void | getVertexRange (GA_Size polygon, GA_Size &start, GA_Size &size) const |
int64 | getMemoryUsage (bool inclusive) const |
Definition at line 26 of file GA_PolyCounts.h.
typedef iteratorT<const GA_PolyCounts, const UT_Array<SizeCount> > GA_PolyCounts::const_iterator |
Definition at line 222 of file GA_PolyCounts.h.
typedef iteratorT<GA_PolyCounts, UT_Array<SizeCount> > GA_PolyCounts::iterator |
Definition at line 221 of file GA_PolyCounts.h.
|
inline |
Definition at line 265 of file GA_PolyCounts.h.
|
inline |
Definition at line 268 of file GA_PolyCounts.h.
Adds "count" polygons with "size" vertices each to the end of the list. For example, to add 5000000 triangles, call append(3,5000000). Since this is run-length encoded, if the last entry was already for polygons with "size" vertices, "count" will just be added to the last entry.
Definition at line 324 of file GA_PolyCounts.h.
|
inline |
Definition at line 334 of file GA_PolyCounts.h.
Definition at line 281 of file GA_PolyCounts.h.
|
inline |
Definition at line 282 of file GA_PolyCounts.h.
|
inline |
Definition at line 317 of file GA_PolyCounts.h.
|
inline |
Definition at line 288 of file GA_PolyCounts.h.
|
inline |
Definition at line 290 of file GA_PolyCounts.h.
Definition at line 314 of file GA_PolyCounts.h.
Definition at line 315 of file GA_PolyCounts.h.
|
inline |
Definition at line 387 of file GA_PolyCounts.h.
|
inline |
Definition at line 348 of file GA_PolyCounts.h.
|
inline |
Definition at line 355 of file GA_PolyCounts.h.
Simpler than getVertexRange if you just want the polygon size.
Definition at line 363 of file GA_PolyCounts.h.
|
inline |
Definition at line 372 of file GA_PolyCounts.h.
|
inline |
Definition at line 272 of file GA_PolyCounts.h.
|
inline |
Definition at line 312 of file GA_PolyCounts.h.