14 void loadAttributes()
override;
15 void setIntensityLevel(
float level);
16 float getIntensityLevel();
17 void setIntensityWindow(
float window);
18 float getIntensityWindow();
23 void draw(Matrix4f perspectiveMatrix, Matrix4f viewingMatrix,
float zNear,
float zFar,
bool mode2D);
25 std::unordered_map<std::string, uint> mTexturesToRender;
26 std::unordered_map<uint, std::shared_ptr<ImagePyramid>> mImageUsed;
27 std::unordered_map<std::string, uint> mVAO;
28 std::unordered_map<std::string, uint> mVBO;
29 std::unordered_map<std::string, uint> mEBO;
32 std::list<std::string> m_tileQueue;
34 std::unique_ptr<std::thread> m_bufferThread;
36 std::condition_variable m_queueEmptyCondition;
37 std::mutex m_tileQueueMutex;
39 std::unordered_set<std::string> m_loaded;
41 int m_currentLevel = -1;
45 std::shared_ptr<ImagePyramid> m_input;
51 void drawTextures(Matrix4f &perspectiveMatrix, Matrix4f &viewingMatrix,
bool mode2D);