2 #ifndef HikingEngine_HikingKPatchbintree_h
3 #define HikingEngine_HikingKPatchbintree_h
5 #include <vmmlib/vmmlib.hpp>
17 vmml::Vector4d
getWorldPosition(
int _x,
int _y, std::shared_ptr<ge::Camera> _cam);
19 std::vector<std::vector<float> >
calculateHeights(vmml::Vector2f oldMP, vmml::Vector2f newMP,
float heightThreshold, std::shared_ptr<ge::Camera> _cam);
21 int calculateDangerZone(vmml::Vector2f oldMP, vmml::Vector2f newMP,
int riskLevel,
float heightThreshold,
float dangerOrientation,
float dangerSection, std::shared_ptr<ge::Camera> _cam);
22 int calculateDangerLine(vmml::Vector2f oldMP, vmml::Vector2f newMP,
bool isMainLine,
float directionToLine,
int riskLevel,
float heightThreshold,
float dangerOrientation,
float dangerSection,
float sampling);
23 int getDangerPointLevel(
int x,
int y,
bool isMainLine,
float directionToLine,
int riskLevel,
float heightThreshold,
float dangerOrientation,
float dangerSection);
25 vmml::Vector4d toUnitCube(vmml::Vector4d _in, std::shared_ptr<ge::Camera> _cam);
~HikingFrameBufferObject()
Definition: HikingFrameBufferObject.cpp:9
Definition: HikingComposition.h:14
std::vector< std::vector< float > > calculateHeights(vmml::Vector2f oldMP, vmml::Vector2f newMP, float heightThreshold, std::shared_ptr< ge::Camera > _cam)
Definition: HikingFrameBufferObject.cpp:481
Definition: FrameBufferObject.h:20
vmml::Vector4d getWorldPosition(int _x, int _y, std::shared_ptr< ge::Camera > _cam)
Definition: HikingFrameBufferObject.cpp:22
int getDangerPointLevel(int x, int y, bool isMainLine, float directionToLine, int riskLevel, float heightThreshold, float dangerOrientation, float dangerSection)
Definition: HikingFrameBufferObject.cpp:33
Definition: HikingFrameBufferObject.h:12
HikingFrameBufferObject()
Definition: HikingFrameBufferObject.cpp:5
int calculateDangerZone(vmml::Vector2f oldMP, vmml::Vector2f newMP, int riskLevel, float heightThreshold, float dangerOrientation, float dangerSection, std::shared_ptr< ge::Camera > _cam)
Definition: HikingFrameBufferObject.cpp:303
int calculateDangerLine(vmml::Vector2f oldMP, vmml::Vector2f newMP, bool isMainLine, float directionToLine, int riskLevel, float heightThreshold, float dangerOrientation, float dangerSection, float sampling)
Definition: HikingFrameBufferObject.cpp:385