10 #include <Atoms/LayoutGenerators/DynamicLayoutGenerator.h>
22 virtual std::vector<AgentInitData>
generate(
double time)
28 inline double torusRadius();
30 inline double torusSectionRadius();
32 inline void setTorusRadius(
const double radius);
34 inline void setTorusSectionRadius(
const double sectionRadius);
36 inline double defaultRadius()
const;
38 inline void setDefaultRadius(
double radius);
40 inline double maxRadius()
const;
42 inline void setMaxRadius(
double radius);
44 inline bool randomizeRadius()
const;
46 inline void setRandomizeRadius(
bool randomize);
48 inline int iterations()
const;
50 inline void setIterations(
int iterations);
64 inline unsigned int seed()
const;
66 inline void setSeed(
unsigned int value);
70 inline const char*
typeName()
override {
return "torusLayout"; };
84 double m_torusSectionRadius;
86 double m_defaultRadius;
94 AtomsCore::Rand48 m_random;
96 AtomsCore::Rand48 m_randomRadius;
98 bool m_randomizeRadius;
102 #include "TorusLayoutGenerator.impl.h"
Definition: DynamicLayoutGenerator.h:15
Definition: TorusLayoutGenerator.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: TorusLayoutGenerator.h:70
AtomsMath::Vector3 Vector3
Vector3 class.
Definition: AtomsMath.h:57
AtomsMath::Matrix Matrix
Matrix class.
Definition: AtomsMath.h:63
Atoms namespace.
Definition: Agent.h:29