10 #include <Atoms/LayoutGenerators/LayoutGenerator.h>
28 virtual std::vector<AgentInitData>
generate(
double time)
34 inline unsigned short shapeType()
const;
36 inline void setShapeType(
unsigned short value);
38 inline void setSides(
bool m_doTopLeft,
bool m_doTop,
bool m_doTopRight,
bool m_doLeft,
bool m_doRight,
bool m_doBottomLeft,
bool m_doBottom,
bool m_doBottomRight);
40 inline unsigned int steps()
const;
42 inline void setSteps(
unsigned int value);
44 inline double stepWidth()
const;
46 inline void setStepWidth(
double value);
48 inline double stepDepth()
const;
50 inline void setStepDepth(
double value);
52 inline double stepHeight()
const;
54 inline void setStepHeight(
double value);
60 inline const double cornerRadius()
const;
62 inline void setCornerRadius(
double cornerRadius);
76 inline unsigned int seed();
78 inline void setSeed(
unsigned int value);
82 inline const char*
typeName()
override {
return "stadiumLayout"; };
86 unsigned short m_shapeType;
107 double m_cornerRadius;
119 #include "StadiumLayoutGenerator.impl.h"
Layout generator.
Definition: LayoutGenerator.h:31
Definition: StadiumLayoutGenerator.h:15
const char * typeName() override
Get the type name for this generator.
Definition: StadiumLayoutGenerator.h:82
virtual std::vector< AgentInitData > generate(double time)
Generate a vector of agent init data.
AtomsMath::Vector2 Vector2
Vector2 class.
Definition: AtomsMath.h:54
AtomsMath::Vector3 Vector3
Vector3 class.
Definition: AtomsMath.h:57
AtomsMath::Matrix Matrix
Matrix class.
Definition: AtomsMath.h:63
Atoms namespace.
Definition: Agent.h:29