#include <t4mesh_t4boundary_faces.h>
List of all members.
Detailed Description
template<class M, typename F>
class OpenTissue::t4mesh::T4BoundaryFaces< M, F >
Tetrahedra Mesh Boundary Faces. Note that if subsequent changes are made to the t4mesh are not reflected in the faces stored in this class. Meaning that a new face-queury must be initiated everytime the t4mesh changes its topology.
Example of usage:
typedef t4mesh<...> MyMeshType; MyMeshType mymesh; ... class MyFaceTraits : public DefaultFaceTraits { public: Color m_color; ... }; typedef T4BoundaryFaces<MyMeshType,MyFaceTraits> MyBoundaryFaces; MyBoundaryFaces bounday(mymesh); for(MyBoundaryFaces::face_iterator face=boundary.begin();face!=boundary.end();++face) { face->m_color = Color::white; std::cout << face->idx0() << std::endl; }
Member Typedef Documentation
template<class M, typename F>
template<class M, typename F>
template<class M, typename F>
template<class M, typename F>
template<class M, typename F>
template<class M, typename F>
Constructor & Destructor Documentation
template<class M, typename F>
Default Constructor. Constructs an empty set of boundary faces.
template<class M, typename F>
Specialezed Constructor Traverses the tetrahedral mesh, and extracts all boundary faces. A boundary face is a face that only have one neighboring tetrahedron. A face inside the tetrahedral mesh will have exactly two neighboring tetrahedra.
Face node indices are given in CCW order.
- Parameters:
-
| mesh | The tetrahedral mesh from which boundary faces are extracted. |
Member Function Documentation
template<class M, typename F>
template<class M, typename F>
template<class M, typename F>
template<class M, typename F>
Member Data Documentation
template<class M, typename F>
Container of extrated boundary faces.
The documentation for this class was generated from the following file:
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/core/containers/t4mesh/t4mesh_t4boundary_faces.h