Free Electron
StratumRaster.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 __terrain_StratumRaster_h__
8 #define __terrain_StratumRaster_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**************************************************************************//**
15  @brief Elevation of a height map
16 
17  @ingroup terrain
18 *//***************************************************************************/
19 class FE_DL_EXPORT StratumRaster: public StratumPlane
20 {
21  public:
22  StratumRaster(void);
23 virtual ~StratumRaster(void);
24 
25  //* As StratumI
26 virtual Real height(Real x,Real z) const;
27 virtual SpatialVector normal(Real x,Real z) const;
28 
29  //* As RecordableI
30 virtual void bind(Record& a_rRecord);
31 
32  private:
33  void rebind(void);
34 
35  Raster m_rasterRV;
36 };
37 
38 } /* namespace ext */
39 } /* namespace fe */
40 
41 #endif /* __terrain_StratumRaster_h__ */
42 
Flat Elevation.
Definition: StratumPlane.h:19
Elevation of a height map.
Definition: StratumRaster.h:19
kernel
Definition: namespace.dox:3
Raster RecordView.
Definition: Raster.h:20
Reference to an instance of a Layout.
Definition: RecordSB.h:35