#include <iso_space_proxy_object.h>
Collaboration diagram for iso::space::SpaceProxyObject:
Public Member Functions | |
SpaceProxyObject (SpaceObject *pSpaceObject, NeighborGroup *pNeighborGroup) | |
~SpaceProxyObject () | |
SpaceObject * | spaceObject () |
const SpaceObject * | spaceObject () const |
NeighborGroup * | neighborGroup () |
const NeighborGroup * | neighborGroup () const |
unsigned int | dim () const |
return space object dimension | |
math::Vector< real > & | position () |
return space object position | |
bool | visible () const |
check whether the space object is visible or not | |
bool | canHaveNeighbors () const |
check whether this object can have neighbors | |
bool | neighborListFull () const |
returns true if no more neighbors can be added to neighbor list | |
real | neighborRadius () const |
return neighbor radius | |
int | maxNeighborCount () const |
return maxmimum number of neighbors | |
void | removeNeighbors () |
remove neighbors | |
bool | addNeighbor (SpaceObject *pNeighborObject) |
add neighbor object to neighbor list | |
bool | addNeighbor (SpaceObject *pNeighborObject, real pDistance, const math::Vector< real > &pDirection) |
add neighbor object to neighbor list | |
bool | addNeighbor (SpaceObject *pNeighborObject, const math::Vector< real > &pValue, const math::Vector< real > &pDirection, real pDistance) |
add neighbor object to neighbor list | |
virtual base::String | info (int pPropagationLevel=0) const |
obtain textual space proxy object information | |
Protected Member Functions | |
SpaceProxyObject () | |
Protected Attributes | |
SpaceObject * | mSpaceObject |
NeighborGroup * | mNeighborGroup |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const SpaceProxyObject &pSpaceProxyObject) |
retrieve textual space proxy object info |
SpaceProxyObject::SpaceProxyObject | ( | SpaceObject * | pSpaceObject, | |
NeighborGroup * | pNeighborGroup | |||
) |
SpaceProxyObject::~SpaceProxyObject | ( | ) |
SpaceProxyObject::SpaceProxyObject | ( | ) | [protected] |
SpaceObject * iso::space::SpaceProxyObject::spaceObject | ( | ) | [inline] |
const SpaceObject * iso::space::SpaceProxyObject::spaceObject | ( | ) | const [inline] |
NeighborGroup * iso::space::SpaceProxyObject::neighborGroup | ( | ) | [inline] |
const NeighborGroup * iso::space::SpaceProxyObject::neighborGroup | ( | ) | const [inline] |
unsigned int iso::space::SpaceProxyObject::dim | ( | ) | const [inline] |
return space object dimension
math::Vector< space::real > & iso::space::SpaceProxyObject::position | ( | ) | [inline] |
return space object position
bool iso::space::SpaceProxyObject::visible | ( | ) | const [inline] |
check whether the space object is visible or not
bool iso::space::SpaceProxyObject::canHaveNeighbors | ( | ) | const [inline] |
check whether this object can have neighbors
bool iso::space::SpaceProxyObject::neighborListFull | ( | ) | const [inline] |
returns true if no more neighbors can be added to neighbor list
space::real iso::space::SpaceProxyObject::neighborRadius | ( | ) | const [inline] |
return neighbor radius
int iso::space::SpaceProxyObject::maxNeighborCount | ( | ) | const [inline] |
return maxmimum number of neighbors
void iso::space::SpaceProxyObject::removeNeighbors | ( | ) | [inline] |
remove neighbors
bool iso::space::SpaceProxyObject::addNeighbor | ( | SpaceObject * | pNeighborObject | ) | [inline] |
add neighbor object to neighbor list
pNeighborObject | neighbor space object |
bool iso::space::SpaceProxyObject::addNeighbor | ( | SpaceObject * | pNeighborObject, | |
real | pDistance, | |||
const math::Vector< real > & | pDirection | |||
) | [inline] |
add neighbor object to neighbor list
pNeighborObject | neighbor space object | |
pDistance | distance | |
pDirection | direction |
bool iso::space::SpaceProxyObject::addNeighbor | ( | SpaceObject * | pNeighborObject, | |
const math::Vector< real > & | pValue, | |||
const math::Vector< real > & | pDirection, | |||
real | pDistance | |||
) | [inline] |
add neighbor object to neighbor list
pNeighborObject | neighbor space object | |
pValue | value | |
pDirection | direction | |
pDistance | distance |
base::String SpaceProxyObject::info | ( | int | pPropagationLevel = 0 |
) | const [virtual] |
obtain textual space proxy object information
pPropagationLevel | how far the propagation method proceeds through composite classes (-1: unlimited, 0: no proceeding, >0: limited proceeding) |
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const SpaceProxyObject & | pSpaceProxyObject | |||
) | [friend] |
retrieve textual space proxy object info
pOstream | output text stream | |
pSpaceProxyObject | space proxy object |
SpaceObject* iso::space::SpaceProxyObject::mSpaceObject [protected] |