A callback used while doing a lengthy operation to a mesh.
A developer creates an instance of this class and passes a pointer to it into the CalcBoolOp() or Optimize() function.
#include <mesh.h>
Public Member Functions |
|
virtual | ~MeshOpProgress () |
Destructor. |
|
virtual void | Init (int total)=0 |
This method is called once with the total
number of increments. |
|
virtual BOOL | Progress (int p)=0 |
This method is called over and over with a
new value for p. |
virtual ~MeshOpProgress | ( | ) | [inline, virtual] |
Destructor.
{;}
virtual void Init | ( | int | total | ) | [pure virtual] |
This method is called once with the total number of increments.
total | The total number of increments. |
virtual BOOL Progress | ( | int | p | ) | [pure virtual] |
This method is called over and over with a new value for p.
The percentage complete is p/total.
p | The number completed so far. |