#include <iso_space_alg.h>
Inherited by iso::space::ANNAlg, iso::space::GridAlg, iso::space::KDTreeAlg, iso::space::NTreeAlg, iso::space::PermanentNeighborsAlg, and iso::space::RTreeAlg.
Inheritance diagram for iso::space::SpaceAlg:
Public Member Functions | |
SpaceAlg (unsigned int mDim) | |
SpaceAlg (const math::Vector< real > &pMinPos, const math::Vector< real > &pMaxPos) | |
virtual | ~SpaceAlg () |
bool | fixedSize () const |
unsigned int | dim () const |
const math::Vector< real > & | minPos () const |
const math::Vector< real > & | maxPos () const |
virtual void | resize (const math::Vector< real > &pMinPos, const math::Vector< real > &pMaxPos) throw (SpaceException) |
virtual void | updateStructure (QVector< SpaceProxyObject * > &pObjects) throw (SpaceException) |
virtual void | updateNeighbors (QVector< SpaceProxyObject * > &pObjects) throw (SpaceException) |
base::String | info () const |
print space alg information | |
Protected Member Functions | |
SpaceAlg () | |
Protected Attributes | |
bool | mFixedSize |
math::Vector< real > | mMinPos |
math::Vector< real > | mMaxPos |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const SpaceAlg &pAlg) |
retrieve textual space info |
SpaceAlg::SpaceAlg | ( | unsigned int | mDim | ) |
SpaceAlg::~SpaceAlg | ( | ) | [virtual] |
SpaceAlg::SpaceAlg | ( | ) | [protected] |
bool SpaceAlg::fixedSize | ( | ) | const |
unsigned int SpaceAlg::dim | ( | ) | const |
const math::Vector< space::real > & SpaceAlg::minPos | ( | ) | const |
const math::Vector< space::real > & SpaceAlg::maxPos | ( | ) | const |
void SpaceAlg::resize | ( | const math::Vector< real > & | pMinPos, | |
const math::Vector< real > & | pMaxPos | |||
) | throw (SpaceException) [virtual] |
Reimplemented in iso::space::NTreeAlg.
void SpaceAlg::updateStructure | ( | QVector< SpaceProxyObject * > & | pObjects | ) | throw (SpaceException) [virtual] |
Reimplemented in iso::space::ANNAlg, iso::space::GridAlg, iso::space::KDTreeAlg, iso::space::NTreeAlg, and iso::space::RTreeAlg.
void SpaceAlg::updateNeighbors | ( | QVector< SpaceProxyObject * > & | pObjects | ) | throw (SpaceException) [virtual] |
base::String SpaceAlg::info | ( | ) | const |
print space alg information
Reimplemented in iso::space::ANNAlg, iso::space::GridAlg, iso::space::KDTreeAlg, iso::space::NTreeAlg, iso::space::PermanentNeighborsAlg, and iso::space::RTreeAlg.
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const SpaceAlg & | pAlg | |||
) | [friend] |
retrieve textual space info
pOstream | output text stream | |
pSpace | space |
bool iso::space::SpaceAlg::mFixedSize [protected] |
math::Vector<real> iso::space::SpaceAlg::mMinPos [protected] |
math::Vector<real> iso::space::SpaceAlg::mMaxPos [protected] |