vcg::MT< C > Class Template Reference
[Mt]

#include <mt.h>

List of all members.

Classes

class  Frag
struct  Node
class  Update

Public Types

typedef C Cell

Public Member Functions

void Clear ()
template<class CONT >
void Extract (CONT &selected)
 extract using the visited flag in nodes to a STL container of Cell *
template<class CONT , class POLICY >
void Extract (CONT &selected, POLICY &policy)
template<class CONT >
void Extract (CONT &selected, float error)
 error based extraction
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< Nodenodes

Detailed Description

template<class C>
class vcg::MT< C >

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.

Definition at line 53 of file mt.h.


Member Typedef Documentation

template<class C >
typedef C vcg::MT< C >::Cell

Definition at line 55 of file mt.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:03 2013