7 #ifndef __vegetation_PlantModelI_h__ 8 #define __vegetation_PlantModelI_h__ 31 virtual ~
Stick(
void) {}
35 virtual Real radius1(
void)
const =0;
36 virtual Real radius2(
void)
const =0;
37 virtual I32 resolution(
void)
const =0;
38 virtual String stateString(
void)
const =0;
39 virtual void setWindVelocity(
41 virtual void setTarget(
43 virtual void setTargeted(
const I32 a_targeted) =0;
50 virtual ~
Leaf(
void) {}
55 virtual void reset(
void) =0;
56 virtual void generate(
const Record seed) =0;
57 virtual void addBranch(U32 a_fromIndex,U32 a_toIndex,
58 U32 a_level,Real a_radius1,Real a_radius2,
61 virtual void prepare(
void) =0;
62 virtual void update(
const Real deltaT) =0;
64 virtual U32 numSticks(
void)
const =0;
65 virtual Stick* stick(U32 index) =0;
67 virtual U32 numLeaves(
void)
const =0;
68 virtual Leaf* leaf(U32 index) =0;
74 virtual U32 stickBundles(
void)
const =0;
75 virtual U32 stickBundleSize(U32 bundle)
const =0;
81 const Real* stickBaseScale(U32 bundle)
const =0;
83 const U32* stickSlices(U32 bundle)
const =0;
92 virtual void setColliderTransform(
98 virtual void setUniformVelocity(
const SpatialVector& a_velocity) =0;
99 virtual void setUniformRigidity(
const Real a_rigidity) =0;
100 virtual void setDamping(
const Real a_damping) =0;
101 virtual void setReactivity(
const Real a_reactivity) =0;
102 virtual void setThreshold(
const Real a_threshold) =0;
103 virtual void setCollisionMethod(
104 const String a_collisionMethod) =0;
105 virtual void setCollideEnd(
const BWORD a_collideEnd) =0;
106 virtual void setRepulsion(
const Real a_repulsion) =0;
107 virtual void setRepulsionFalloff(
const Real a_repulsionFalloff) =0;
108 virtual void setDepletion(
const Real a_depletion) =0;
109 virtual void setDepletionFalloff(
const Real a_depletionFalloff) =0;
110 virtual void setWindHampering(
const Real a_windHampering) =0;
111 virtual void setWindFalloff(
const Real a_windFalloff) =0;
112 virtual void setPlasticity(
const Real a_plasticity) =0;
113 virtual void setCompensation(
const BWORD a_compensation) =0;
114 virtual void setCorrection(
const BWORD a_correction) =0;
Stem Segment in a PlantModelI.
Definition: PlantModelI.h:28
kernel
Definition: namespace.dox:3
Organ of photosynthesis and transpiration.
Definition: PlantModelI.h:47
Automatically reference-counted string container.
Definition: String.h:128
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Base for all interfacable components.
Definition: Component.h:20
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Vegetation subsystem.
Definition: PlantModelI.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192