Tesseract 0.28.4
Loading...
Searching...
No Matches
VHACD::IVHACD::IUserCallback Class Referenceabstract

#include <VHACD.h>

Inheritance diagram for VHACD::IVHACD::IUserCallback:

Public Member Functions

virtual void Update (const double overallProgress, const double stageProgress, const char *const stage, const char *operation)=0
virtual void NotifyVHACDComplete ()

Detailed Description

This optional pure virtual interface is used to notify the caller of the progress of convex decomposition as well as a signal when it is complete when running in a background thread

Member Function Documentation

◆ Update()

virtual void VHACD::IVHACD::IUserCallback::Update ( const double overallProgress,
const double stageProgress,
const char *const stage,
const char * operation )
pure virtual

Notifies the application of the current state of the convex decomposition operation

Parameters
overallProgress: Total progress from 0-100%
stageProgress: Progress of the current stage 0-100%
stage: A text description of the current stage we are in
operation: A text description of what operation is currently being performed.