10 #include <Atoms/LayoutGenerators/DynamicLayoutGenerator.h>
22 virtual std::vector<AgentInitData>
generate(
double time)
32 inline double defaultRadius()
const;
34 inline void setDefaultRadius(
double radius);
36 inline double maxRadius()
const;
38 inline void setMaxRadius(
double radius);
40 inline bool randomizeRadius()
const;
42 inline void setRandomizeRadius(
bool randomize);
44 inline int iterations()
const;
46 inline void setIterations(
int iterations);
60 inline unsigned int seed()
const;
62 inline void setSeed(
unsigned int value);
66 inline const char*
typeName()
override {
return "sphereLayout"; };
80 double m_defaultRadius;
88 AtomsCore::Rand48 m_random;
90 AtomsCore::Rand48 m_randomRadius;
92 bool m_randomizeRadius;
96 #include "SphereLayoutGenerator.impl.h"
Definition: DynamicLayoutGenerator.h:15
Definition: SphereLayoutGenerator.h:15
virtual std::vector< AgentInitData > generate(double time)
Generate a vector of agent init data.
const char * typeName() override
Get the type name for this generator.
Definition: SphereLayoutGenerator.h:66
AtomsMath::Vector3 Vector3
Vector3 class.
Definition: AtomsMath.h:57
AtomsMath::Matrix Matrix
Matrix class.
Definition: AtomsMath.h:63
Atoms namespace.
Definition: Agent.h:29