Free Electron
DrawPlant.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __vegetation_DrawPlant_h__
8 #define __vegetation_DrawPlant_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Draw all plants
17 
18  @ingroup vegetation
19 *//***************************************************************************/
20 class FE_DL_EXPORT DrawPlant: virtual public HandlerI
21 {
22  public:
23  DrawPlant(void);
24 
25  //* as HandlerI
26 virtual void handle(Record &record);
27 
28  private:
29  Forest m_forestRV;
30  RecordArrayView<Plant> m_plantRAV;
31 
32  SpatialTransform m_up[3];
33 };
34 
35 } /* namespace ext */
36 } /* namespace fe */
37 
38 #endif /* __vegetation_DrawPlant_h__ */
39 
kernel
Definition: namespace.dox:3
Draw all plants.
Definition: DrawPlant.h:20
RecordView Iteration over a RecordArray.
Definition: RecordArrayView.h:37
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Forest RecordView.
Definition: Forest.h:23