OpenVDB  9.0.1
Public Member Functions | List of all members
PolygonPool Class Reference

Collection of quads and triangles. More...

#include <openvdb/tools/VolumeToMesh.h>

Public Member Functions

 PolygonPool ()
 
 PolygonPool (const size_t numQuads, const size_t numTriangles)
 
void copy (const PolygonPool &rhs)
 
void resetQuads (size_t size)
 
void clearQuads ()
 
void resetTriangles (size_t size)
 
void clearTriangles ()
 
const size_t & numQuads () const
 
openvdb::Vec4Iquad (size_t n)
 
const openvdb::Vec4Iquad (size_t n) const
 
const size_t & numTriangles () const
 
openvdb::Vec3Itriangle (size_t n)
 
const openvdb::Vec3Itriangle (size_t n) const
 
char & quadFlags (size_t n)
 
const char & quadFlags (size_t n) const
 
char & triangleFlags (size_t n)
 
const char & triangleFlags (size_t n) const
 
bool trimQuads (const size_t n, bool reallocate=false)
 
bool trimTrinagles (const size_t n, bool reallocate=false)
 

Detailed Description

Collection of quads and triangles.

Constructor & Destructor Documentation

PolygonPool ( )
inline
PolygonPool ( const size_t  numQuads,
const size_t  numTriangles 
)
inline

Member Function Documentation

void clearQuads ( )
inline
void clearTriangles ( )
inline
void copy ( const PolygonPool rhs)
inline
const size_t& numQuads ( ) const
inline
const size_t& numTriangles ( ) const
inline
openvdb::Vec4I& quad ( size_t  n)
inline
const openvdb::Vec4I& quad ( size_t  n) const
inline
char& quadFlags ( size_t  n)
inline
const char& quadFlags ( size_t  n) const
inline
void resetQuads ( size_t  size)
inline
void resetTriangles ( size_t  size)
inline
openvdb::Vec3I& triangle ( size_t  n)
inline
const openvdb::Vec3I& triangle ( size_t  n) const
inline
char& triangleFlags ( size_t  n)
inline
const char& triangleFlags ( size_t  n) const
inline
bool trimQuads ( const size_t  n,
bool  reallocate = false 
)
inline
bool trimTrinagles ( const size_t  n,
bool  reallocate = false 
)
inline