vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT > Class Template Reference
[Tetramesh]

#include <topology.h>

List of all members.

Classes

struct  _triV

Public Types

typedef
STL_TETRA_CONT::const_iterator 
const_TetraIterator
 The type of constant face iterator.
typedef
STL_VERT_CONT::const_iterator 
const_VertexIterator
 The type of constant vertex iterator.
typedef STL_TETRA_CONT TetraContainer
 The tethaedhron container.
typedef STL_TETRA_CONT::iterator TetraIterator
 The type of tetra iterator.
typedef STL_TETRA_CONT::value_type TetraType
 The tetrahedron type.
typedef STL_VERT_CONT VertexContainer
 The vertex container.
typedef STL_VERT_CONT::iterator VertexIterator
 The type of vertex iterator.
typedef STL_VERT_CONT::value_type VertexType
 The vertex type.

Static Public Member Functions

static bool IsExternEdge (TetraType *t, int edge)
 this function is used to test if an edge is extern

static void _AttachTTTopology (TetraType *t0, int i0, TetraType *t1, int i1)
 Connect trought Tetrahedron-Tetrahedron Topology t0 and t1 with faces i0 and i1.
static void DetachTTTopology (TetraType *t)
 Detach Tetrahedron-Tetrahedron Topology.
static void setExternalVertices (VertexContainer &vert, TetraContainer &tetra)
 set the external vertex according to Tetra-Tetra topology
static void TestExternalVertex (VertexContainer &vert, TetraContainer &tetra)
 test if all and only the exernal vertex are set of border
static void TestTTTopology (VertexContainer &vert, TetraContainer &tetra)
 Test the Tetrahedron-Tetrahedron Topology (by Face).
static void TTTopology (const VertexContainer &vert, TetraContainer &tetra)
 Build the Tetrahedron-Tetrahedron Topology (by Face).

static void ClearVTTopology (VertexContainer &vert, TetraContainer &tetra)
 Clear the vertex-tetra (VT) topology.
static void DetachVTTopology (VertexType *v, TetraType *t)
 Erase one tetrahedron from VTTopology of one specified vertex.
static void DetachVTTopology (TetraType *t)
 Erase one tetrahedron from VTTopology of all his vertices.
static void InsertVTTopology (TetraType *t)
 Insert the tetrahedron t in VT topology for all his vertices.
static void InsertVTTopology (VertexType *v, int z, TetraType *t)
 Insert the tetrahedron t in VT topology for vertex v of index z.
static void TestVTTopology (VertexContainer &vert, TetraContainer &tetra)
 Test the Tetrahedron-Tetrahedron (TT) topology (by face).
static void VTTopology (VertexContainer &vert, TetraContainer &tetra)
 Create the VT topology for tetrahedrons that are into containers.

Detailed Description

template<class STL_VERT_CONT, class STL_TETRA_CONT>
class vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >

Class UpdateTopology. This is class for Topology of a tetrahedralmesh.

Parameters:
STL_VERT_CONT (Template Parameter) Specifies the type of the vertices container any the vertex type.
STL_TETRA_CONT (Template Parameter) Specifies the type of the tetrahedrons container any the tetrahedrons type.

Definition at line 174 of file complex/tetramesh/update/topology.h.


Member Typedef Documentation

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_TETRA_CONT::const_iterator vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::const_TetraIterator

The type of constant face iterator.

Definition at line 201 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_VERT_CONT::const_iterator vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::const_VertexIterator

The type of constant vertex iterator.

Definition at line 198 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_TETRA_CONT vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::TetraContainer

The tethaedhron container.

Definition at line 183 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_TETRA_CONT::iterator vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::TetraIterator

The type of tetra iterator.

Definition at line 195 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_TETRA_CONT::value_type vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::TetraType

The tetrahedron type.

Definition at line 189 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_VERT_CONT vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::VertexContainer

The vertex container.

Definition at line 180 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_VERT_CONT::iterator vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::VertexIterator

The type of vertex iterator.

Definition at line 192 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_VERT_CONT::value_type vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::VertexType

The vertex type.

Definition at line 186 of file complex/tetramesh/update/topology.h.


Member Function Documentation

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::_AttachTTTopology ( TetraType t0,
int  i0,
TetraType t1,
int  i1 
) [inline, static]

Connect trought Tetrahedron-Tetrahedron Topology t0 and t1 with faces i0 and i1.

Definition at line 398 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::ClearVTTopology ( VertexContainer vert,
TetraContainer tetra 
) [inline, static]

Clear the vertex-tetra (VT) topology.

Definition at line 228 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::DetachTTTopology ( TetraType t  )  [inline, static]

Detach Tetrahedron-Tetrahedron Topology.

Definition at line 412 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::DetachVTTopology ( VertexType v,
TetraType t 
) [inline, static]

Erase one tetrahedron from VTTopology of one specified vertex.

In the list of the vertex v must be present the tetrahedron that you want to detach

Definition at line 246 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::DetachVTTopology ( TetraType t  )  [inline, static]

Erase one tetrahedron from VTTopology of all his vertices.

Definition at line 238 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::InsertVTTopology ( TetraType t  )  [inline, static]

Insert the tetrahedron t in VT topology for all his vertices.

Definition at line 287 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::InsertVTTopology ( VertexType v,
int  z,
TetraType t 
) [inline, static]

Insert the tetrahedron t in VT topology for vertex v of index z.

Definition at line 274 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::IsExternEdge ( TetraType t,
int  edge 
) [inline, static]

this function is used to test if an edge is extern

Definition at line 615 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::setExternalVertices ( VertexContainer vert,
TetraContainer tetra 
) [inline, static]

set the external vertex according to Tetra-Tetra topology

Definition at line 509 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::TestExternalVertex ( VertexContainer vert,
TetraContainer tetra 
) [inline, static]

test if all and only the exernal vertex are set of border

Definition at line 455 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::TestTTTopology ( VertexContainer vert,
TetraContainer tetra 
) [inline, static]

Test the Tetrahedron-Tetrahedron Topology (by Face).

Definition at line 422 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::TestVTTopology ( VertexContainer vert,
TetraContainer tetra 
) [inline, static]

Test the Tetrahedron-Tetrahedron (TT) topology (by face).

Definition at line 299 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::TTTopology ( const VertexContainer vert,
TetraContainer tetra 
) [inline, static]

Build the Tetrahedron-Tetrahedron Topology (by Face).

-Tetrahedron Topology Funtions

Definition at line 325 of file complex/tetramesh/update/topology.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static void vcg::tetra::UpdateTopologyBase< STL_VERT_CONT, STL_TETRA_CONT >::VTTopology ( VertexContainer vert,
TetraContainer tetra 
) [inline, static]

Create the VT topology for tetrahedrons that are into containers.

-Tetrahedron Topology Funtions

Definition at line 212 of file complex/tetramesh/update/topology.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:28 2013