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.
Definition at line 221 of file GA_PolyCounts.h.
typedef iteratorT<GA_PolyCounts, UT_Array<SizeCount> > GA_PolyCounts::iterator |
Definition at line 220 of file GA_PolyCounts.h.
|
inline |
Definition at line 264 of file GA_PolyCounts.h.
|
inline |
Definition at line 267 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 323 of file GA_PolyCounts.h.
|
inline |
Definition at line 333 of file GA_PolyCounts.h.
Definition at line 280 of file GA_PolyCounts.h.
|
inline |
Definition at line 281 of file GA_PolyCounts.h.
|
inline |
Definition at line 316 of file GA_PolyCounts.h.
|
inline |
Definition at line 287 of file GA_PolyCounts.h.
|
inline |
Definition at line 289 of file GA_PolyCounts.h.
Definition at line 313 of file GA_PolyCounts.h.
Definition at line 314 of file GA_PolyCounts.h.
|
inline |
Definition at line 386 of file GA_PolyCounts.h.
|
inline |
Definition at line 347 of file GA_PolyCounts.h.
|
inline |
Definition at line 354 of file GA_PolyCounts.h.
Simpler than getVertexRange if you just want the polygon size.
Definition at line 362 of file GA_PolyCounts.h.
|
inline |
Definition at line 371 of file GA_PolyCounts.h.
|
inline |
Definition at line 271 of file GA_PolyCounts.h.
|
inline |
Definition at line 311 of file GA_PolyCounts.h.