Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

OpenTissue::geometry::TetrahedronSlicer< vector3_type_ > Class Template Reference

#include <geometry_tetrahedron_slicer.h>

List of all members.

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.

template<typename vector3_type_>
class OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >


Member Typedef Documentation

template<typename vector3_type_ >
typedef vector3_type::value_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::real_type
template<typename vector3_type_ >
typedef vector3_type_ OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::vector3_type

Constructor & Destructor Documentation

template<typename 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]

Member Function Documentation

template<typename vector3_type_ >
template<typename plane_type >
void OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::compute_slice ( plane_type const &  plane  )  [inline, protected]

Member Data Documentation

template<typename vector3_type_ >
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

template<typename vector3_type_ >
vector3_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_intersections[4] [protected]

Intersection points of slice and tetrahedron.

template<typename vector3_type_ >
vector3_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_nodes[4] [protected]

Nodes of tetrahedron.

template<typename vector3_type_ >
vector3_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_triangle1[3] [protected]

Vertices of first triangle in slice.

template<typename vector3_type_ >
vector3_type OpenTissue::geometry::TetrahedronSlicer< vector3_type_ >::m_triangle2[3] [protected]

Vertices of second trinagle in slice.


The documentation for this class was generated from the following file: