16 #include "OpenGL_Includes.h"
54 void create(std::string _pathFile);
58 void resize(
int _w,
int _h);
90 void addNewCone(vmml::Vector3f _pos, vmml::Vector3d _color);
115 std::shared_ptr<SceneLoader> pLoader;
116 std::string shaderpath;
117 std::string pathfile;
121 std::shared_ptr<ge::Shader> programForUtilities;
122 std::shared_ptr<ge::Shader> programForLines;
123 std::shared_ptr<ge::Shader> programForCones;
124 std::shared_ptr<ge::Shader> programForPlanes;
125 std::shared_ptr<ge::Shader> programForDebug;
126 std::shared_ptr<ge::Shader> programForHeight;
128 std::vector< std::shared_ptr<ge::Cone> > cones;
129 std::shared_ptr<HikingPath> hikingtrail;
134 float localDangerOrientation;
135 float localDangerSection;
136 float localPreviousDangerSection;
144 std::shared_ptr<HikingTerrainModule> terrainmodule;
int getRiskLevel()
Definition: HikingEngine.cpp:709
void drawScene()
Definition: HikingEngine.cpp:212
void resize(int _w, int _h)
Definition: HikingEngine.cpp:355
void setDangerOrientation(float o)
Definition: HikingEngine.cpp:697
void focusCamera()
Definition: HikingEngine.cpp:539
void setDangerSection(float s)
Definition: HikingEngine.cpp:615
void disablePlacing()
Definition: HikingEngine.cpp:519
Definition: HikingComposition.h:14
vmml::Vector3d calculateSight(bool glCoords)
Definition: HikingEngine.cpp:361
void update()
Definition: HikingEngine.cpp:189
bool isPlacingEnabled()
Definition: HikingEngine.cpp:535
void selectObject(int x, int y)
Definition: HikingEngine.cpp:569
void increaseDangerHeight(float _value)
Definition: HikingEngine.cpp:627
void clear()
Definition: HikingEngine.cpp:16
void switchDanger()
Definition: HikingEngine.cpp:504
Definition: DebugMap.h:18
void compassUpdate(vmml::Vector2f _degrees)
Definition: HikingEngine.cpp:553
const std::shared_ptr< HikingPath > getHikingTrailInfo()
Definition: HikingEngine.cpp:733
Definition: DebugLogger.h:22
void addNewCone(vmml::Vector3f _pos, vmml::Vector3d _color)
Definition: HikingEngine.cpp:175
void updateHikingTrail()
Definition: HikingEngine.cpp:334
bool getDangerEnabled()
Definition: HikingEngine.cpp:701
void printFPS()
Definition: HikingEngine.cpp:725
Definition: HikingComposition.h:16
virtual void create()
Definition: Engine.cpp:61
void switchCameraToTop()
Definition: HikingEngine.cpp:523
Definition: HikingEngine.h:45
void destroy()
Definition: HikingEngine.cpp:38
void setRiskLevel(int level)
Definition: HikingEngine.cpp:705
void setRemoving(bool _in)
Definition: HikingEngine.cpp:713
void switchTerrainShader()
Definition: HikingEngine.cpp:729
void unselectObject()
Definition: HikingEngine.cpp:596
float getHeightScale()
Definition: HikingEngine.cpp:737
Definition: HikingEngine.h:39
void disableDanger(bool disable)
Definition: HikingEngine.cpp:603
void selectPixel(int x, int y)
Definition: HikingEngine.cpp:558
void initializeScene(std::string _pathFile=0)
Definition: HikingEngine.cpp:49
void enableNorthSouth(bool e)
Definition: HikingEngine.cpp:689
int pickResultID
Definition: HikingEngine.h:42
void setAdding(bool _in)
Definition: HikingEngine.cpp:717
void setShifting(bool _in)
Definition: HikingEngine.cpp:721
void pickFromFramebuffer()
Definition: HikingEngine.cpp:268
Definition: SceneStateSet.h:41
Definition: HikingFrameBufferObject.h:12
void updateFramebufferStandardID()
Definition: HikingEngine.cpp:346
bool addLineSegment(vmml::Vector2f _screenPos)
Definition: HikingEngine.cpp:438
HikingEngine()
Definition: HikingEngine.cpp:5
bool isDangerEnabled()
Definition: HikingEngine.cpp:509
void enablePlacing()
Definition: HikingEngine.cpp:513
~HikingEngine()
Definition: HikingEngine.cpp:11
int pickCoordinates[2]
Definition: HikingEngine.h:41
Definition: CoordinateSystem.h:17
float getDangerHeight()
Definition: HikingEngine.cpp:685