27 #ifndef TOOLS_ATOMITERATOR_H
28 #define TOOLS_ATOMITERATOR_H
69 #endif // TOOLS_ATOMITERATOR_H
void begin()
place iterator on first atom
~AtomIterator()
destructor
bool end()
return true if iterator is over the last atom
void next()
if iteration is not finished, advance to next atom
unsigned int index
current atom index
Definition: AtomIterator.h:65
void operator++()
redefinition of ++ operator, advance iterator to next atom
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:44
This is the main class of this project.
Definition: PhysicalModel.h:74
AtomIterator(PhysicalModel *pml, std::string targetList)
constructor
Allow iteration over a set of atoms given by a target list (component name or index list) ...
Definition: AtomIterator.h:40
string(REGEX REPLACE"^.*-(.*)-.*""\\1"ARCH"${CAMITK_CONTINUOUS_INTEGRATION}") string(REGEX REPLACE"^.*-.*-(.*)""\\1"BUILDTYPE"$
Definition: continuous.cmake:34
Atom * currentAtom()
return current atom
std::vector< Atom * > atoms
atoms list
Definition: AtomIterator.h:63