27#define VHACD_VERSION_MAJOR 2
28#define VHACD_VERSION_MINOR 3
80 virtual void Update(
double overallProgress,
82 double operationProgress,
83 const std::string& stage,
84 const std::string& operation) = 0;
97 virtual void Log(
const std::string& msg)
const = 0;
155 uint32_t countPoints,
156 uint32_t
const* triangles,
157 uint32_t countTriangles,
160 uint32_t countPoints,
161 uint32_t
const* triangles,
162 uint32_t countTriangles,
uint32_t m_nTriangles
Definition: VHACD.h:106
double m_volume
Definition: VHACD.h:107
double * m_points
Definition: VHACD.h:103
uint32_t m_nPoints
Definition: VHACD.h:105
std::array< double, 3 > m_center
Definition: VHACD.h:108
uint32_t * m_triangles
Definition: VHACD.h:104
IUserCallback & operator=(IUserCallback &&)=default
virtual ~IUserCallback()=default
virtual void Update(double overallProgress, double stageProgress, double operationProgress, const std::string &stage, const std::string &operation)=0
IUserCallback(IUserCallback &&)=default
IUserCallback & operator=(const IUserCallback &)=default
IUserCallback(const IUserCallback &)=default
IUserLogger(const IUserLogger &)=default
virtual ~IUserLogger()=default
IUserLogger(IUserLogger &&)=default
virtual void Log(const std::string &msg) const =0
IUserLogger & operator=(const IUserLogger &)=default
IUserLogger & operator=(IUserLogger &&)=default
IUserLogger * m_logger
Definition: VHACD.h:140
double m_minVolumePerCH
Definition: VHACD.h:138
uint32_t m_mode
Definition: VHACD.h:146
double m_beta
Definition: VHACD.h:137
bool m_projectHullVertices
Definition: VHACD.h:150
uint32_t m_pca
Definition: VHACD.h:145
uint32_t m_maxConvexHulls
Definition: VHACD.h:149
double m_concavity
Definition: VHACD.h:135
uint32_t m_maxNumVerticesPerCH
Definition: VHACD.h:142
void Init()
Definition: VHACD.h:115
uint32_t m_convexhullDownsampling
Definition: VHACD.h:144
uint32_t m_resolution
Definition: VHACD.h:141
IUserCallback * m_callback
Definition: VHACD.h:139
double m_alpha
Definition: VHACD.h:136
uint32_t m_oclAcceleration
Definition: VHACD.h:148
Parameters()
Definition: VHACD.h:114
uint32_t m_planeDownsampling
Definition: VHACD.h:143
uint32_t m_convexhullApproximation
Definition: VHACD.h:147
IVHACD(IVHACD &&)=default
IVHACD(const IVHACD &)=default
virtual bool Compute(float const *points, uint32_t countPoints, uint32_t const *triangles, uint32_t countTriangles, const Parameters ¶ms)=0
virtual bool ComputeCenterOfMass(std::array< double, 3 > ¢erOfMass) const =0
virtual bool OCLInit(void const *oclDevice, IUserLogger const *logger=nullptr)=0
virtual uint32_t GetNConvexHulls() const =0
virtual bool Compute(double const *points, uint32_t countPoints, uint32_t const *triangles, uint32_t countTriangles, const Parameters ¶ms)=0
virtual bool OCLRelease(IUserLogger const *logger=nullptr)=0
IVHACD & operator=(const IVHACD &)=default
virtual ~IVHACD()=default
virtual void GetConvexHull(uint32_t index, ConvexHull &ch) const =0
virtual bool IsReady() const
Definition: VHACD.h:179
IVHACD & operator=(IVHACD &&)=default
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: vhacdCircularList.h:32
IVHACD * CreateVHACD_ASYNC()
Definition: VHACD-ASYNC.cpp:310
IVHACD * CreateVHACD()
Definition: VHACD.cpp:233