#include <CuboidGridObjectPopulation.h>
Definition at line 19 of file CuboidGridObjectPopulation.h.
CuboidGridObjectPopulation::CuboidGridObjectPopulation | ( | SimNetwork & | net, | |
GridPoint3D | origin, | |||
Volume3DSize | dims, | |||
SimObjectFactory & | objFactory | |||
) |
CuboidGridObjectPopulation::CuboidGridObjectPopulation | ( | SimNetwork & | net, | |
GridPoint3D | origin, | |||
Volume3DSize | dims, | |||
SimObject::ID::Vector | vec | |||
) |
Definition at line 19 of file CuboidGridObjectPopulation.cpp.
GridPoint3D& CuboidGridObjectPopulation::getOrigin | ( | ) | [inline] |
virtual Point3D<double> CuboidGridObjectPopulation::getLocation | ( | size_t | index | ) | const [inline, virtual] |
Returns the location of the object which has a specific index in the population.
Reimplemented from SpatialSimObjectPopulation.
Definition at line 34 of file CuboidGridObjectPopulation.h.
References getRelativeLocation(), origin, Point3D< T >::x(), Point3D< T >::y(), and Point3D< T >::z().
GridPoint3D CuboidGridObjectPopulation::getRelativeLocation | ( | size_t | idx | ) | const [inline] |
SimObject::ID CuboidGridObjectPopulation::operator() | ( | int | x, | |
int | y, | |||
int | z | |||
) | const [inline] |
SimObject::ID CuboidGridObjectPopulation::operator() | ( | const GridPoint3D & | loc | ) | const [inline] |
Definition at line 49 of file CuboidGridObjectPopulation.h.
References dim, Point3D< T >::x(), Point3D< T >::y(), Y, Point3D< T >::z(), and Z.
int CuboidGridObjectPopulation::getIndex | ( | const GridPoint3D & | loc | ) | const [inline] |
Definition at line 57 of file CuboidGridObjectPopulation.h.
References dim, Point3D< T >::x(), Point3D< T >::y(), Y, Point3D< T >::z(), and Z.
SimObject::ID CuboidGridObjectPopulation::operator() | ( | int | idx | ) | const [inline] |
SimObject::ID CuboidGridObjectPopulation::atRelative | ( | int | x, | |
int | y, | |||
int | z | |||
) | const [inline] |
SimObject::ID CuboidGridObjectPopulation::at | ( | int | x, | |
int | y, | |||
int | z | |||
) | const [inline] |
Definition at line 69 of file CuboidGridObjectPopulation.h.
References origin, Point3D< T >::x(), Point3D< T >::y(), and Point3D< T >::z().
CuboidGridObjectPopulation CuboidGridObjectPopulation::subVolume | ( | int | origX, | |
int | origY, | |||
int | origZ, | |||
int | Xdim, | |||
int | Ydim, | |||
int | Zdim | |||
) | const |
Definition at line 24 of file CuboidGridObjectPopulation.cpp.
References CuboidGridObjectPopulation(), dim, SimObjectPopulation::net, origin, SimObjectPopulation::size(), Y, and Z.
CuboidGridObjectPopulation CuboidGridObjectPopulation::subVolume | ( | const GridPoint3D & | origin, | |
const Volume3DSize & | size | |||
) | const |
Definition at line 40 of file CuboidGridObjectPopulation.cpp.
References CuboidGridObjectPopulation(), dim, SimObjectPopulation::net, origin, Point3D< T >::x(), X, Point3D< T >::y(), Y, Point3D< T >::z(), and Z.
const Volume3DSize& CuboidGridObjectPopulation::getDimensions | ( | ) | const [inline] |
GridPoint3D CuboidGridObjectPopulation::origin [protected] |
Definition at line 84 of file CuboidGridObjectPopulation.h.
Referenced by at(), getLocation(), getOrigin(), and subVolume().
Volume3DSize CuboidGridObjectPopulation::dim [protected] |
Definition at line 85 of file CuboidGridObjectPopulation.h.
Referenced by atRelative(), getDimensions(), getIndex(), getRelativeLocation(), operator()(), and subVolume().