#include <psys_system.h>
This is the ``core'' data structure for particles. It provides iterator capabilities. Particle lookup based on indices and time-management of the entire particle system.
Also there is simple support functionality for deriving AABB information of the particle system (see min and max methods).
typedef particle_container::const_iterator OpenTissue::psys::System< types >::const_particle_iterator |
Reimplemented in OpenTissue::psys::MassSpringSystem< types, integrator_policy >.
typedef types::math_types OpenTissue::psys::System< types >::math_types |
typedef std::vector<particle_type> OpenTissue::psys::System< types >::particle_container |
typedef particle_container::iterator OpenTissue::psys::System< types >::particle_iterator |
Reimplemented in OpenTissue::psys::MassSpringSystem< types, integrator_policy >.
typedef types::particle_type OpenTissue::psys::System< types >::particle_type |
typedef math_types::real_type OpenTissue::psys::System< types >::real_type |
typedef math_types::vector3_type OpenTissue::psys::System< types >::vector3_type |
OpenTissue::psys::System< types >::System | ( | ) | [inline] |
OpenTissue::psys::System< types >::~System | ( | ) | [inline] |
void OpenTissue::psys::System< types >::clear | ( | void | ) | [inline] |
particle_iterator OpenTissue::psys::System< types >::create_particle | ( | particle_type const & | p | ) | [inline] |
void OpenTissue::psys::System< types >::erase | ( | particle_iterator | p | ) | [inline] |
vector3_type OpenTissue::psys::System< types >::max_coord | ( | ) | [inline] |
vector3_type OpenTissue::psys::System< types >::min_coord | ( | ) | [inline] |
particle_iterator& OpenTissue::psys::System< types >::operator() | ( | unsigned int | idx | ) | [inline] |
const_particle_iterator& OpenTissue::psys::System< types >::operator() | ( | unsigned int | idx | ) | const [inline] |
particle_iterator OpenTissue::psys::System< types >::particle_begin | ( | ) | [inline] |
const_particle_iterator OpenTissue::psys::System< types >::particle_begin | ( | ) | const [inline] |
particle_iterator OpenTissue::psys::System< types >::particle_end | ( | ) | [inline] |
const_particle_iterator OpenTissue::psys::System< types >::particle_end | ( | ) | const [inline] |
std::size_t OpenTissue::psys::System< types >::particles_size | ( | ) | const [inline] |
real_type& OpenTissue::psys::System< types >::time | ( | ) | [inline] |
real_type const& OpenTissue::psys::System< types >::time | ( | ) | const [inline] |
particle_container OpenTissue::psys::System< types >::m_particles [protected] |
A vector of all particles in the cluster.
real_type OpenTissue::psys::System< types >::m_time [protected] |
Current time.