#include <geometry_tetrahedron_slicer.h>
Public Types | |
typedef vector3_type_ | vector3_type |
typedef vector3_type::value_type | real_type |
Public Member Functions | |
TetrahedronSlicer (vector3_type const &p0, vector3_type const &p1, vector3_type const &p2, vector3_type const &p3) | |
Protected Member Functions | |
template<typename plane_type > | |
void | compute_slice (plane_type const &plane) |
Protected Attributes | |
vector3_type | m_nodes [4] |
Nodes of tetrahedron. | |
int | m_edges [6][2] |
vector3_type | m_intersections [4] |
Intersection points of slice and tetrahedron. | |
vector3_type | m_triangle1 [3] |
Vertices of first triangle in slice. | |
vector3_type | m_triangle2 [3] |
Vertices of second trinagle in slice. |
typedef vector3_type::value_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::real_type |
typedef vector3_type_ OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::vector3_type |
OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::TetrahedronSlicer | ( | vector3_type const & | p0, | |
vector3_type const & | p1, | |||
vector3_type const & | p2, | |||
vector3_type const & | p3 | |||
) | [inline] |
void OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::compute_slice | ( | plane_type const & | plane | ) | [inline, protected] |
int OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_edges[6][2] [protected] |
Edge topology of tetrahedron m_edges[i][0] index of the first node of the i'th edge m_edges[i][1] index of the second node of the i'th edge
vector3_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_intersections[4] [protected] |
Intersection points of slice and tetrahedron.
vector3_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_nodes[4] [protected] |
Nodes of tetrahedron.
vector3_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_triangle1[3] [protected] |
Vertices of first triangle in slice.
vector3_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_triangle2[3] [protected] |
Vertices of second trinagle in slice.