Skip to content
Snippets Groups Projects
Commit ef6d154b authored by Andrew Wilson's avatar Andrew Wilson :elephant:
Browse files

REFAC: Remove remaining references to DebugRenderGeometry

parent b76cbb91
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,6 @@ class LooseOctree;
class Geometry;
class PointSet;
class SurfaceMesh;
class DebugRenderGeometry;
///
/// \brief The OctreePrimitiveType enum
......
......@@ -434,10 +434,6 @@ VTKRenderer::updateRenderDelegates()
{
delegate.second->update();
}
for (auto delegate : m_debugRenderDelegates)
{
delegate->update();
}
// Update all lights (we don't use render delegates for these as there usually aren't
// all that many lights)
......
......@@ -116,11 +116,6 @@ public:
///
void updateRenderDelegates();
///
/// \brief Get the render delegates
///
const std::vector<std::shared_ptr<VTKRenderDelegate>>& getDebugRenderDelegates() const { return m_debugRenderDelegates; }
///
/// \brief Returns VTK renderer
///
......@@ -213,7 +208,6 @@ protected:
// Render Delegates
std::unordered_map<std::shared_ptr<VisualModel>, std::shared_ptr<VTKRenderDelegate>> m_renderDelegates;
std::vector<std::shared_ptr<VTKRenderDelegate>> m_debugRenderDelegates;
// TextureManager is used to share textures among differing delegates
std::shared_ptr<TextureManager<VTKTextureDelegate>> m_textureManager;
......
......@@ -256,19 +256,6 @@ Scene::getSceneObject(const std::string& name) const
return (iter == m_sceneObjects.end()) ? nullptr : *iter;
}
const std::vector<std::shared_ptr<VisualModel>>
Scene::getDebugRenderModels() const
{
std::vector<std::shared_ptr<VisualModel>> v;
for (auto it : m_DebugRenderModelMap)
{
v.push_back(it.second);
}
return v;
}
void
Scene::addSceneObject(std::shared_ptr<SceneObject> newSceneObject)
{
......
......@@ -147,12 +147,6 @@ public:
///
const std::unordered_set<std::shared_ptr<SceneObject>>& getSceneObjects() const { return m_sceneObjects; }
///
/// \brief Return a vector of shared pointers to the scene objects
/// \note A separate list might be efficient as this is called runtime
///
const std::vector<std::shared_ptr<VisualModel>> getDebugRenderModels() const;
///
/// \brief Get the scene object controllers
///
......@@ -294,8 +288,7 @@ protected:
std::string m_name; ///> Name of the scene
std::unordered_set<std::shared_ptr<SceneObject>> m_sceneObjects;
NamedMap<VisualModel> m_DebugRenderModelMap;
NamedMap<Light> m_lightsMap;
NamedMap<Light> m_lightsMap;
std::shared_ptr<IBLProbe> m_globalIBLProbe = nullptr;
NamedMap<Camera> m_cameras;
......
......@@ -31,7 +31,6 @@ namespace imstk
{
class Geometry;
class RenderMaterial;
class DebugRenderGeometry;
class Renderer;
///
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment