HDK
|
#include <GU_PolyReduce2.h>
Public Types | |
using | AttribArray = UT_Array< GA_Attribute * > |
Public Member Functions | |
DecimatorT (const GU_Detail *gdp, const Parms &parms, const GA_PrimitiveGroup *prims=nullptr, const GA_PointGroup *hard_feature_pts=nullptr, const GA_EdgeGroup *hard_feature_edges=nullptr, const GA_PointGroup *soft_feature_pts=nullptr, const GA_EdgeGroup *soft_feature_edges=nullptr, const GA_Attribute *retention_attrib=nullptr, bool preserve_quads=false, const GU_Detail *rest_gdp=nullptr, const GU_Detail *view_gdp=nullptr, bool build_cache=true) | |
~DecimatorT () | |
fpreal | reduce (GU_Detail *gdp, exint target_num_polys, exint target_num_pts, T min_error, T max_error, const GU_Detail *rest_gdp=nullptr, const char *error_attrib_name=nullptr) |
exint | initialNumPolys () const |
exint | initialNumPoints () const |
int | numWarnings () const |
const UT_StringRef & | getWarning (int i) const |
Definition at line 425 of file GU_PolyReduce2.h.
using GU_PolyReduce2::DecimatorT< T >::AttribArray = UT_Array<GA_Attribute *> |
Definition at line 428 of file GU_PolyReduce2.h.
GU_PolyReduce2::DecimatorT< T >::DecimatorT | ( | const GU_Detail * | gdp, |
const Parms & | parms, | ||
const GA_PrimitiveGroup * | prims = nullptr , |
||
const GA_PointGroup * | hard_feature_pts = nullptr , |
||
const GA_EdgeGroup * | hard_feature_edges = nullptr , |
||
const GA_PointGroup * | soft_feature_pts = nullptr , |
||
const GA_EdgeGroup * | soft_feature_edges = nullptr , |
||
const GA_Attribute * | retention_attrib = nullptr , |
||
bool | preserve_quads = false , |
||
const GU_Detail * | rest_gdp = nullptr , |
||
const GU_Detail * | view_gdp = nullptr , |
||
bool | build_cache = true |
||
) |
GU_PolyReduce2::DecimatorT< T >::~DecimatorT | ( | ) |
|
inline |
Definition at line 462 of file GU_PolyReduce2.h.
|
inline |
Definition at line 454 of file GU_PolyReduce2.h.
|
inline |
Definition at line 451 of file GU_PolyReduce2.h.
|
inline |
Definition at line 461 of file GU_PolyReduce2.h.
fpreal GU_PolyReduce2::DecimatorT< T >::reduce | ( | GU_Detail * | gdp, |
exint | target_num_polys, | ||
exint | target_num_pts, | ||
T | min_error, | ||
T | max_error, | ||
const GU_Detail * | rest_gdp = nullptr , |
||
const char * | error_attrib_name = nullptr |
||
) |