Public Member Functions

MeshOpProgress Class Reference

Search for all occurrences

Detailed Description

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.

See also:
Class Mesh.

#include <mesh.h>

Inheritance diagram for MeshOpProgress:
Inheritance graph
[legend]

List of all members.

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.

Constructor & Destructor Documentation

virtual ~MeshOpProgress ( ) [inline, virtual]

Destructor.

{;}

Member Function Documentation

virtual void Init ( int  total ) [pure virtual]

This method is called once with the total number of increments.

Parameters:
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.

Parameters:
p The number completed so far.
Returns:
If TRUE processing will continue. If FALSE processing is aborted.

MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress
MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress MeshOpProgress