SOFA API  ca70b0f0
Open source framework for multi-physics simuation
sofa::component::io::mesh Namespace Reference

Namespaces

 basevtkreader
 

Classes

class  GIDMeshLoader
 
class  GridMeshCreator
 
class  MeshGmshLoader
 
class  MeshOBJLoader
 
class  MeshOffLoader
 
class  MeshSTLLoader
 
class  MeshTrianLoader
 
class  LegacyVTKReader
 
class  XMLVTKReader
 
class  MeshVTKLoader
 
class  MeshXspLoadDataHook
 
class  MeshXspLoader
 
class  OffSequenceLoader
 
class  SphereLoader
 
class  StringMeshCreator
 
class  VoxelGridLoader
 

Typedefs

using MeshExporter = _meshexporter_::MeshExporter
 
using STLExporter = sofa::component::_stlexporter_::STLExporter
 
using VisualModelOBJExporter = sofa::component::_visualmodelobjexporter_::VisualModelOBJExporter
 
using VTKExporter = _vtkexporter_::VTKExporter
 

Functions

SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleName ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleVersion ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleComponentList ()
 
void init ()
 
bool isBinarySTLValid (const char *filename, const MeshSTLLoader *_this)
 

Variables

int GIDMeshLoaderClass
 
int GridMeshCreatorClass
 
int MeshGmshLoaderClass
 
int MeshOBJLoaderClass
 
int MeshOffLoaderClass
 
int MeshTrianLoaderClass
 
int MeshVTKLoaderClass
 
int MeshXspLoaderClass
 
int OffSequenceLoaderClass
 
int SphereLoaderClass
 
int StringMeshCreatorClass
 
int VoxelGridLoaderClass = RegisterObject("Voxel loader based on RAW files").add<VoxelGridLoader>()
 

Typedef Documentation

◆ MeshExporter

using sofa::component::io::mesh::MeshExporter = typedef _meshexporter_::MeshExporter

◆ STLExporter

using sofa::component::io::mesh::STLExporter = typedef sofa::component::_stlexporter_::STLExporter

◆ VisualModelOBJExporter

using sofa::component::io::mesh::VisualModelOBJExporter = typedef sofa::component::_visualmodelobjexporter_::VisualModelOBJExporter

◆ VTKExporter

using sofa::component::io::mesh::VTKExporter = typedef _vtkexporter_::VTKExporter

Function Documentation

◆ getModuleComponentList()

const char * sofa::component::io::mesh::getModuleComponentList ( )

◆ getModuleName()

const char * sofa::component::io::mesh::getModuleName ( )

◆ getModuleVersion()

const char * sofa::component::io::mesh::getModuleVersion ( )

◆ init()

SOFA_COMPONENT_IO_MESH_API void sofa::component::io::mesh::init ( )

◆ initExternalModule()

void sofa::component::io::mesh::initExternalModule ( )

◆ isBinarySTLValid()

bool sofa::component::io::mesh::isBinarySTLValid ( const char filename,
const MeshSTLLoader _this 
)

Variable Documentation

◆ GIDMeshLoaderClass

int sofa::component::io::mesh::GIDMeshLoaderClass
Initial value:
= core::RegisterObject("Loads volumetric meshes generated by GID. Some element types are not implemented.")
.add< GIDMeshLoader >()

◆ GridMeshCreatorClass

int sofa::component::io::mesh::GridMeshCreatorClass
Initial value:
= core::RegisterObject("Procedural creation of a two-dimensional mesh.")
.add< GridMeshCreator >()

◆ MeshGmshLoaderClass

int sofa::component::io::mesh::MeshGmshLoaderClass
Initial value:
= core::RegisterObject("Specific mesh loader for Gmsh file format.")
.add< MeshGmshLoader >()

◆ MeshOBJLoaderClass

int sofa::component::io::mesh::MeshOBJLoaderClass
Initial value:
= core::RegisterObject("Specific mesh loader for OBJ file format.")
.add< MeshOBJLoader >()
.addAlias("MeshObjLoader")

◆ MeshOffLoaderClass

int sofa::component::io::mesh::MeshOffLoaderClass
Initial value:
= core::RegisterObject("Specific mesh loader for Off file format.")
.add< MeshOffLoader >()

◆ MeshTrianLoaderClass

int sofa::component::io::mesh::MeshTrianLoaderClass
Initial value:
= core::RegisterObject("Specific mesh loader for trian (only triangulations) file format.")
.add< MeshTrianLoader >()

◆ MeshVTKLoaderClass

int sofa::component::io::mesh::MeshVTKLoaderClass
Initial value:
= core::RegisterObject("Mesh loader for the VTK/VTU file format.")
.add< MeshVTKLoader >()

REGISTERING TO FACTORY ///////////////////////////////////////// Registering the component see: https://www.sofa-framework.org/community/doc/programming-with-sofa/components-api/the-objectfactory/ 2-RegisterObject("description") + .add<> : Register the component

◆ MeshXspLoaderClass

int sofa::component::io::mesh::MeshXspLoaderClass
Initial value:
= core::RegisterObject("Specific mesh loader for Xsp file format.")
.add< MeshXspLoader >()

◆ OffSequenceLoaderClass

int sofa::component::io::mesh::OffSequenceLoaderClass
Initial value:
= core::RegisterObject("Read and load an .off file at each timestep")
.add< OffSequenceLoader >()

◆ SphereLoaderClass

int sofa::component::io::mesh::SphereLoaderClass
Initial value:
= core::RegisterObject("Loader for sphere model description files")
.add<SphereLoader>()

◆ StringMeshCreatorClass

int sofa::component::io::mesh::StringMeshCreatorClass
Initial value:
= core::RegisterObject("Procedural creation of a one-dimensional mesh.")
.add< StringMeshCreator >()

◆ VoxelGridLoaderClass

int sofa::component::io::mesh::VoxelGridLoaderClass = RegisterObject("Voxel loader based on RAW files").add<VoxelGridLoader>()