AggregPacking
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Classes | Typedefs | Functions | Variables
aggregpacking Namespace Reference

Namespace aggregpacking. More...

Classes

class  Aggregate
 Abstract class representing one aggregate particle. More...
 
class  Sphere
 Representation of spherical aggregate. More...
 
class  Ellipsoid
 Representation of ellipsoidal aggregate. More...
 
class  ConcreteMixture
 Representation of concrete mixture. More...
 
class  HeteroGeometry
 Abstract class representing heterogeneous geometry. More...
 
class  CubeHeteroGeometry
 Abstract class representing heterogeneous geometry. More...
 
class  vector_ptr_indexing_suite
 Template class for C++ vector to/from Python list conversion. More...
 
class  Randomizer
 Class representing most simple random numbers generator. More...
 
class  AggregSizeRandomizer
 Abstract class representing random size generator for given sieve curve. More...
 
class  FullerCurveRandomizer
 Random size generator for Fuller curve. More...
 
class  ExperimentalSieveCurveRandomizer
 Random size generator for experimental sieve curve. More...
 
class  Vector3
 3 component vector of real numbers. More...
 
class  Matrix3
 3x3 matrix of real numbers More...
 
class  Quaternion
 Quaternion - for rotation representation. More...
 
class  AngleAxis
 Another rotation representation. More...
 

Typedefs

typedef Eigen::Matrix< double, 3, 1 > Vector3
 
typedef Eigen::Matrix< double, 3, 3 > Matrix3
 
typedef Eigen::Quaternion< double > Quaternion
 
typedef Eigen::AngleAxis< double > AngleAxis
 

Functions

ostream & operator<< (ostream &os, const Aggregate &o)
 Aggregate to ostream shift operator.
 
ostream & operator<< (ostream &os, const Sphere &o)
 Sphere to ostream shift operator.
 
istream & operator>> (istream &is, Sphere &o)
 Sphere from istream shift operator.
 
ostream & operator<< (ostream &os, const Ellipsoid &o)
 Ellipsoid to ostream shift operator.
 
istream & operator>> (istream &is, Ellipsoid &o)
 Ellipsoid from istream shift operator.
 
ostream & operator<< (ostream &os, const HeteroGeometry &o)
 HeteroGeometry to ostream shift operator.
 
istream & operator>> (istream &is, HeteroGeometry &o)
 HeteroGeometry from istream shift operator.
 
ostream & operator<< (ostream &os, const CubeHeteroGeometry &o)
 CubeHeteroGeometry to ostream shift operator.
 
istream & operator>> (istream &is, CubeHeteroGeometry &o)
 CubeHeteroGeometry from istream shift operator.
 
 BOOST_PYTHON_MODULE (libaggregpacking)
 Python module definition.
 
ostream & operator<< (ostream &os, const Vector3 &v)
 Vector3 to ostream shift operator.
 
ostream & operator<< (ostream &os, const Matrix3 &m)
 Matrix3 to ostream shift operator.
 
ostream & operator<< (ostream &os, const Quaternion &q)
 Quaternion to ostream shift operator.
 
istream & operator>> (istream &is, Vector3 &v)
 Vector3 from istream shift operator.
 
istream & operator>> (istream &is, Matrix3 &m)
 Matrix3 from istream shift operator.
 
istream & operator>> (istream &is, Quaternion &q)
 Quaternion from istream shift operator.
 
ostream & operator<< (ostream &os, const AggregSizeRandomizer &o)
 AggregSizeRandomizer to ostream shift operator.
 
istream & operator>> (istream &is, AggregSizeRandomizer &o)
 AggregSizeRandomizer from istream shift operator.
 
ostream & operator<< (ostream &os, const FullerCurveRandomizer &o)
 FullerCurveRandomizer to ostream shift operator.
 
istream & operator>> (istream &is, FullerCurveRandomizer &o)
 FullerCurveRandomizer from istream shift operator.
 
ostream & operator<< (ostream &os, const ExperimentalSieveCurveRandomizer &o)
 ExperimentalSieveCurveRandomizer to ostream shift operator.
 
istream & operator>> (istream &is, ExperimentalSieveCurveRandomizer &o)
 ExperimentalSieveCurveRandomizer from istream shift operator.
 
bool initFile (ofstream &f, const string &fName, const string &memoizeDb)
 Init file for ostream. More...
 
bool initFile (ifstream &f, const string &fName, const string &memoizeDb)
 Init file for istream. More...
 
template<typename T >
void saveObject (const T &t, const string &fName, const string &memoizeDb)
 Auxiliary template function for saving objects to files.
 
template<typename T >
bool loadObject (T &t, const string &fName, const string &memoizeDb)
 Auxiliary template function for lading objects from files.
 

Variables

const double PI = 3.141592653589793238463
 PI.
 

Detailed Description

Namespace aggregpacking.

Function Documentation

bool aggregpacking::initFile ( ofstream &  f,
const string &  fName,
const string &  memoizeDb 
)

Init file for ostream.

Returns
true is succesful, false otherwise
bool aggregpacking::initFile ( ifstream &  f,
const string &  fName,
const string &  memoizeDb 
)

Init file for istream.

Returns
true is succesful, false otherwise