#include <mt.h>
Classes | |
| class | Frag |
| struct | Node |
| class | Update |
Public Types | |
| typedef C | Cell |
Public Member Functions | |
| void | Clear () |
| template<class CONT > | |
| void | Extract (CONT &selected, float error) |
| error based extraction | |
| template<class CONT , class POLICY > | |
| void | Extract (CONT &selected, POLICY &policy) |
| template<class CONT > | |
| void | Extract (CONT &selected) |
| extract using the visited flag in nodes to a STL container of Cell * | |
| void | Load (std::vector< Update > &updates) |
| build mt strucure from a sequence of updates. | |
| void | Visit (Node *node, std::queue< Node * > &qnode) |
| add a node to the queue recursively mantaining coherence. | |
Private Attributes | |
| std::vector< Node > | nodes |
The templated class for representing a mt structure. The class is templated over the Cell class which MUST implement this functions: float Error(); float Distance(Cell &c, Point3f &p); see mt_file.h for an example.