30 #ifndef ERIS_TERRAINMOD_H 31 #define ERIS_TERRAINMOD_H 33 #include <Atlas/Message/Element.h> 35 #include <wfmath/point.h> 51 template <
template <
int>
class Shape>
52 bool parseStuff(
const WFMath::Point<3> & pos,
53 const WFMath::Quaternion & orientation,
54 const Atlas::Message::MapType& modElement,
55 const std::string & typeName,
57 const Atlas::Message::Element & shapeElement);
61 bool parseData(
const WFMath::Point<3> & pos,
62 const WFMath::Quaternion &,
63 const Atlas::Message::MapType &);
70 Mercator::TerrainMod* getModifier();
76 static float parsePosition(
const WFMath::Point<3> & pos,
const Atlas::Message::MapType& modElement);
78 template <
template <
int>
class Shape>
79 static bool parseShape(
const Atlas::Message::Element& shapeElement,
80 const WFMath::Point<3>& pos,
81 const WFMath::Quaternion& orientation,
84 template <
template <
template <
int>
class Shape>
class Mod,
85 template <int> class Shape>
86 bool createInstance(Shape<2> & shape,
87 const WFMath::Point<3>& pos,
88 const Atlas::Message::MapType &,
92 template <
template <
template <
int>
class Shape>
class Mod,
93 template <int> class Shape>
94 bool createInstance(Shape<2> & shape,
95 const WFMath::Point<3>& pos,
96 const Atlas::Message::MapType &);
98 Mercator::TerrainMod * m_mod;
Definition: TerrainModObserver.h:36
Definition: Account.cpp:33
Base class for all terrain mod specific classes.This is not meant to be used directly by anything els...
Definition: TerrainModTranslator.h:48