17 #ifndef mitkSimulation_h
18 #define mitkSimulation_h
22 #include <sofa/core/visual/DrawToolGL.h>
23 #include <sofa/simulation/common/Simulation.h>
24 #include <MitkSimulationExports.h>
32 itkFactorylessNewMacro(
Self)
36 sofa::core::visual::DrawTool* GetDrawTool();
37 sofa::simulation::Node::SPtr GetRootNode()
const;
38 sofa::simulation::Simulation::SPtr GetSOFASimulation()
const;
40 bool GetAnimationFlag()
const;
41 void SetAnimationFlag(
bool animate);
42 void SetDt(
double dt);
43 void SetRootNode(sofa::simulation::Node::SPtr rootNode);
45 bool RequestedRegionIsOutsideOfTheBufferedRegion()
override;
46 void SetRequestedRegion(
const itk::DataObject*)
override;
47 void SetRequestedRegionToLargestPossibleRegion()
override;
48 void UpdateOutputInformation()
override;
49 bool VerifyRequestedRegion()
override;
55 sofa::simulation::Simulation::SPtr m_SOFASimulation;
56 sofa::simulation::Node::SPtr m_RootNode;
57 sofa::core::visual::DrawToolGL m_DrawTool;
Base of all data objects.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)