2 #include <Atoms/LayoutGenerators/DynamicLayoutGenerator.h>
3 #include <AtomsUtils/Curve.h>
16 virtual std::vector<AgentInitData>
generate(
double time)
24 inline void setSeed(
const int value) { m_seed = value; }
26 inline void setRandomRange(
const int minValue,
const int maxValue) { m_minRandomRange = minValue; m_maxRandomRange = maxValue; }
28 inline void setNumberOfAgents(
size_t value1,
size_t value2) { m_numberOfAgents1 = value1; m_numberOfAgents2 = value2; }
30 inline void setNumberOfRows(
size_t value) { m_numberOfRows = value; }
32 inline void setUseCVs(
bool value) { m_useCVs = value; }
34 inline void setDirectionType(
short value) { m_directionType = value; }
36 inline void setInvertDirection(
bool value) { m_invertDirection = value; }
38 inline void setRandomDistribution(
const bool randomDistribution) { m_randomDistribution = randomDistribution;}
40 inline void setRandomDistributionRange(
const float minValue,
const float maxValue) { m_minRandomDistribution = minValue; m_maxRandomDistribution = maxValue; }
42 inline const char*
typeName()
override {
return "curvePairLayout"; };
57 size_t m_numberOfAgents1;
58 size_t m_numberOfAgents2;
61 size_t m_numberOfRows;
64 short m_directionType;
67 bool m_invertDirection;
80 bool m_randomDistribution;
81 float m_minRandomDistribution;
82 float m_maxRandomDistribution;
Definition: CurvePairLayoutGenerator.h:8
const char * typeName() override
Get the type name for this generator.
Definition: CurvePairLayoutGenerator.h:42
virtual std::vector< AgentInitData > generate(double time)
Generate a vector of agent init data.
Definition: DynamicLayoutGenerator.h:15
Nurbs curve.
Definition: Curve.h:18
AtomsMath::Vector3 Vector3
Vector3 class.
Definition: AtomsMath.h:57
Atoms namespace.
Definition: Agent.h:29