9 #include "imstkLevelSetDeformableObject.h" 11 #include <unordered_set> 19 using namespace imstk;
35 bool initialize()
override;
42 void visualUpdate()
override;
48 void createVisualModels();
50 void setUseRandomChunkColors(
const bool useRandom) { m_useRandomChunkColors = useRandom; }
51 bool getUseRandomChunkColors()
const {
return m_useRandomChunkColors; }
58 void updateModifiedVoxels();
63 virtual void initGraphEdges(std::shared_ptr<TaskNode> source, std::shared_ptr<TaskNode> sink)
override;
66 std::shared_ptr<LocalMarchingCubes> m_isoExtract;
67 std::unordered_set<int> m_chunksGenerated;
68 std::shared_ptr<TaskNode> m_forwardModifiedVoxels;
69 bool m_useRandomChunkColors =
false;
Base class for TaskGraph nodes.
Base class for scene objects that move and/or deform under position based dynamics formulation...
This filter extracts a contour SurfaceMesh from an image given an isovalue. Users should prefer imstk...
The FemurObject implements a localized marching cubes. That is we've split up an image into a bunch o...