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

OpenTissue::edm::Surface< edm_types > Class Template Reference

#include <edm_surface.h>

Inheritance diagram for OpenTissue::edm::Surface< edm_types >:
OpenTissue::edm::EllipsoidPatch< edm_types > OpenTissue::edm::GenericBezierPatch< edm_types > OpenTissue::edm::QuadraticBezierPatch< edm_types >

List of all members.

Classes

struct  SurfaceParticle

Public Types

typedef edm_types::model_type base_type
typedef edm_types::value_traits value_traits
typedef edm_types::real_type real_type
typedef edm_types::vector3_type vector3_type
typedef edm_types::tensor2_type tensor2_type
typedef edm_types::Particle particle_type
typedef base_type::EDMMatrix EDMMatrix
typedef base_type::EDMVector EDMVector
typedef std::vector
< SurfaceParticle
SurfaceParticles

Public Member Functions

 Surface ()
virtual ~Surface ()
bool initialize (size_t M, size_t N)
Surfacewrapping (bool M, bool N)
size_t get_num_M (bool include_wrapping=false) const
size_t get_num_N (bool include_wrapping=false) const
SurfaceParticle const & particle (size_t m, size_t n) const
size_t nodes () const
size_t index_adjust (long m, long n) const
Surfaceset_natural_position (size_t idx, vector3_type const &r)
Surfaceset_initial_position (size_t idx, vector3_type const &r)
Surfaceset_fixed (size_t m, size_t n, bool fixed)
Surfaceset_mass (size_t m, size_t n, real_type const &mass)
Surfaceset_damping (size_t m, size_t n, real_type const &damping)
Surfaceset_tension (size_t m, size_t n, tensor2_type const &tension)
Surfaceset_rigidity (size_t m, size_t n, tensor2_type const &rigidity)

Protected Member Functions

bool index_check (long m, long n) const
SurfaceParticle const & grid_adjust (long m, long n) const
vector3_type const & r (long m, long n) const

Protected Attributes

size_t m_M
size_t m_N
bool m_wrap_M
bool m_wrap_N

template<typename edm_types>
class OpenTissue::edm::Surface< edm_types >


Member Typedef Documentation

template<typename edm_types>
typedef base_type::EDMMatrix OpenTissue::edm::Surface< edm_types >::EDMMatrix
template<typename edm_types>
typedef base_type::EDMVector OpenTissue::edm::Surface< edm_types >::EDMVector
template<typename edm_types>
typedef edm_types::Particle OpenTissue::edm::Surface< edm_types >::particle_type
template<typename edm_types>
typedef std::vector<SurfaceParticle> OpenTissue::edm::Surface< edm_types >::SurfaceParticles
template<typename edm_types>
typedef edm_types::tensor2_type OpenTissue::edm::Surface< edm_types >::tensor2_type

Constructor & Destructor Documentation

template<typename edm_types>
OpenTissue::edm::Surface< edm_types >::Surface (  )  [inline]
template<typename edm_types>
virtual OpenTissue::edm::Surface< edm_types >::~Surface (  )  [inline, virtual]

Member Function Documentation

template<typename edm_types>
size_t OpenTissue::edm::Surface< edm_types >::get_num_M ( bool  include_wrapping = false  )  const [inline]
template<typename edm_types>
size_t OpenTissue::edm::Surface< edm_types >::get_num_N ( bool  include_wrapping = false  )  const [inline]
template<typename edm_types>
SurfaceParticle const& OpenTissue::edm::Surface< edm_types >::grid_adjust ( long  m,
long  n 
) const [inline, protected]
template<typename edm_types>
size_t OpenTissue::edm::Surface< edm_types >::index_adjust ( long  m,
long  n 
) const [inline]
template<typename edm_types>
bool OpenTissue::edm::Surface< edm_types >::index_check ( long  m,
long  n 
) const [inline, protected]
template<typename edm_types>
bool OpenTissue::edm::Surface< edm_types >::initialize ( size_t  M,
size_t  N 
) [inline]
template<typename edm_types>
size_t OpenTissue::edm::Surface< edm_types >::nodes (  )  const [inline]
template<typename edm_types>
SurfaceParticle const& OpenTissue::edm::Surface< edm_types >::particle ( size_t  m,
size_t  n 
) const [inline]
template<typename edm_types>
vector3_type const& OpenTissue::edm::Surface< edm_types >::r ( long  m,
long  n 
) const [inline, protected]
template<typename edm_types>
Surface& OpenTissue::edm::Surface< edm_types >::set_damping ( size_t  m,
size_t  n,
real_type const &  damping 
) [inline]
template<typename edm_types>
Surface& OpenTissue::edm::Surface< edm_types >::set_fixed ( size_t  m,
size_t  n,
bool  fixed 
) [inline]
template<typename edm_types>
Surface& OpenTissue::edm::Surface< edm_types >::set_initial_position ( size_t  idx,
vector3_type const &  r 
) [inline]
template<typename edm_types>
Surface& OpenTissue::edm::Surface< edm_types >::set_mass ( size_t  m,
size_t  n,
real_type const &  mass 
) [inline]
template<typename edm_types>
Surface& OpenTissue::edm::Surface< edm_types >::set_natural_position ( size_t  idx,
vector3_type const &  r 
) [inline]
template<typename edm_types>
Surface& OpenTissue::edm::Surface< edm_types >::set_rigidity ( size_t  m,
size_t  n,
tensor2_type const &  rigidity 
) [inline]
template<typename edm_types>
Surface& OpenTissue::edm::Surface< edm_types >::set_tension ( size_t  m,
size_t  n,
tensor2_type const &  tension 
) [inline]
template<typename edm_types>
Surface& OpenTissue::edm::Surface< edm_types >::wrapping ( bool  M,
bool  N 
) [inline]

Member Data Documentation

template<typename edm_types>
size_t OpenTissue::edm::Surface< edm_types >::m_M [protected]
template<typename edm_types>
size_t OpenTissue::edm::Surface< edm_types >::m_N [protected]
template<typename edm_types>
bool OpenTissue::edm::Surface< edm_types >::m_wrap_M [protected]
template<typename edm_types>
bool OpenTissue::edm::Surface< edm_types >::m_wrap_N [protected]

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