SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
fake_TopologyScene Class Reference

#include <fake_TopologyScene.h>

Public Member Functions

 fake_TopologyScene (const std::string &filename, sofa::geometry::ElementType topoType, bool staticTopo=false)
 
bool loadMeshFile ()
 Method to load the mesh and fill the topology asked. More...
 
sofa::simulation::Node::SPtr getNode ()
 Method to get acces to node containing the meshLoader and the toplogy container. More...
 

Constructor details

◆ fake_TopologyScene()

fake_TopologyScene::fake_TopologyScene ( const std::string &  filename,
sofa::geometry::ElementType  topoType,
bool  staticTopo = false 
)
inline

Default constructor, take the filepath of the mesh file to load, the type of topology and if the topology is static (MeshTopology)

Function details

◆ getNode()

sofa::simulation::Node::SPtr fake_TopologyScene::getNode ( )
inline

Method to get acces to node containing the meshLoader and the toplogy container.

◆ loadMeshFile()

bool fake_TopologyScene::loadMeshFile ( )
inline

Method to load the mesh and fill the topology asked.