HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GU_PolyReduce2::DecimatorT< T > Class Template Reference

#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_StringRefgetWarning (int i) const
 

Detailed Description

template<typename T>
class GU_PolyReduce2::DecimatorT< T >

Definition at line 415 of file GU_PolyReduce2.h.

Member Typedef Documentation

template<typename T >
using GU_PolyReduce2::DecimatorT< T >::AttribArray = UT_Array<GA_Attribute *>

Definition at line 418 of file GU_PolyReduce2.h.

Constructor & Destructor Documentation

template<typename T >
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 
)
template<typename T >
GU_PolyReduce2::DecimatorT< T >::~DecimatorT ( )

Member Function Documentation

template<typename T >
const UT_StringRef& GU_PolyReduce2::DecimatorT< T >::getWarning ( int  i) const
inline

Definition at line 452 of file GU_PolyReduce2.h.

template<typename T >
exint GU_PolyReduce2::DecimatorT< T >::initialNumPoints ( ) const
inline

Definition at line 444 of file GU_PolyReduce2.h.

template<typename T >
exint GU_PolyReduce2::DecimatorT< T >::initialNumPolys ( ) const
inline

Definition at line 441 of file GU_PolyReduce2.h.

template<typename T >
int GU_PolyReduce2::DecimatorT< T >::numWarnings ( ) const
inline

Definition at line 451 of file GU_PolyReduce2.h.

template<typename T >
fpreal GU_PolyReduce2::DecimatorT< T >::reduce ( GU_Detail gdp,
exint  target_num_polys,
exint  target_num_pts,
min_error,
max_error,
const GU_Detail rest_gdp = nullptr,
const char *  error_attrib_name = nullptr 
)

The documentation for this class was generated from the following file: