Public Types | Public Member Functions | Protected Types | Static Protected Member Functions

OpenTissue::geometry::detail::SamplingDirections< vector3_type > Class Template Reference

#include <geometry_sampling_directions.h>

List of all members.

Public Types

enum  sampling_type { sphere_type, random_type, tetrahedron_type, icosahedron_type }

Public Member Functions

 SamplingDirections ()
void init ()
std::size_t size () const
vector3_type const & operator() (unsigned int idx) const

Protected Types

typedef polymesh::PolyMesh mesh_type

Static Protected Member Functions

static std::vector
< vector3_type > & 
dir ()

Detailed Description

template<typename vector3_type>
class OpenTissue::geometry::detail::SamplingDirections< vector3_type >

Auxiliary class used to setup and retrieve sampling directions.


Member Typedef Documentation

template<typename vector3_type >
typedef polymesh::PolyMesh OpenTissue::geometry::detail::SamplingDirections< vector3_type >::mesh_type [protected]

Member Enumeration Documentation

Enumerator:
sphere_type 
random_type 
tetrahedron_type 
icosahedron_type 

Constructor & Destructor Documentation

template<typename vector3_type >
OpenTissue::geometry::detail::SamplingDirections< vector3_type >::SamplingDirections (  )  [inline]

Member Function Documentation

template<typename vector3_type >
static std::vector<vector3_type>& OpenTissue::geometry::detail::SamplingDirections< vector3_type >::dir (  )  [inline, static, protected]

< Sampling directions

template<typename vector3_type >
void OpenTissue::geometry::detail::SamplingDirections< vector3_type >::init (  )  [inline]
template<typename vector3_type >
vector3_type const& OpenTissue::geometry::detail::SamplingDirections< vector3_type >::operator() ( unsigned int  idx  )  const [inline]
template<typename vector3_type >
std::size_t OpenTissue::geometry::detail::SamplingDirections< vector3_type >::size (  )  const [inline]

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