7 #ifndef __vegetation_Plant_h__ 8 #define __vegetation_Plant_h__ 10 FE_ATTRIBUTE(
"veg:plantmodel",
"Physical vegetation sp<Component>");
11 FE_ATTRIBUTE(
"veg:plantsketch",
"Drawable SketchI in sp<Component>");
12 FE_ATTRIBUTE(
"veg:plantname",
"Growth data lookup key");
45 Plant(
void) { setName(
"Plant"); }
48 add(plantModel, FE_USE(
"veg:plantmodel"));
49 add(plantSketch, FE_USE(
"veg:plantsketch"));
50 add(plantName, FE_USE(
"veg:plantname"));
51 add(location, FE_USE(
"spc:at"));
52 add(offset, FE_USE(
"spc:offset"));
53 add(reactivity, FE_USE(
"veg:reactivity"));
54 add(threshold, FE_USE(
"spc:threshold"));
56 add(collisionMethod, FE_USE(
"spc:collisionMethod"));
57 add(collideEnd, FE_USE(
"spc:collideEnd"));
58 add(repulsion, FE_USE(
"spc:repulsion"));
59 add(repulsionFalloff, FE_USE(
"spc:repulsionFalloff"));
60 add(depletion, FE_USE(
"spc:depletion"));
61 add(depletionFalloff, FE_USE(
"spc:depletionFalloff"));
62 add(windHampering, FE_USE(
"spc:windHampering"));
63 add(windFalloff, FE_USE(
"spc:windFalloff"));
64 add(plasticity, FE_USE(
"spc:plasticity"));
68 plantModel.
attribute()->setSerialize(FALSE);
69 plantSketch.
attribute()->setSerialize(FALSE);
80 repulsionFalloff()=0.0;
82 depletionFalloff()=0.0;
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Plant.h:66
kernel
Definition: namespace.dox:3
Bound accessor in a RecordView.
Definition: RecordView.h:147
Plant RecordView.
Definition: Plant.h:24
sp< Attribute > attribute(void) const
Return the attribute this accessor is for.
Definition: Accessor.cc:151
Bindable collection of accessor Functors.
Definition: RecordView.h:106
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: Plant.h:46