SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::helper::io::MeshTopologyLoader Class Reference

#include <MeshTopologyLoader.h>

Inheritance diagram for sofa::helper::io::MeshTopologyLoader:

Public Member Functions

 MeshTopologyLoader ()
 
virtual ~MeshTopologyLoader ()
 
bool load (const char *filename)
 
virtual void setNbPoints (Index)
 
virtual void setNbLines (Index)
 
virtual void setNbEdges (Index)
 
virtual void setNbTriangles (Index)
 
virtual void setNbQuads (Index)
 
virtual void setNbTetrahedra (Index)
 
virtual void setNbCubes (Index)
 
virtual void addPoint (SReal, SReal, SReal)
 
virtual void addLine (Index, Index)
 
virtual void addTriangle (Index, Index, Index)
 
virtual void addQuad (Index, Index, Index, Index)
 
virtual void addTetra (Index, Index, Index, Index)
 
virtual void addCube (Index, Index, Index, Index, Index, Index, Index, Index)
 

Constructor details

◆ MeshTopologyLoader()

sofa::helper::io::MeshTopologyLoader::MeshTopologyLoader ( )
inline

◆ ~MeshTopologyLoader()

virtual sofa::helper::io::MeshTopologyLoader::~MeshTopologyLoader ( )
inlinevirtual

Function details

◆ addCube()

virtual void sofa::helper::io::MeshTopologyLoader::addCube ( Index  ,
Index  ,
Index  ,
Index  ,
Index  ,
Index  ,
Index  ,
Index   
)
inlinevirtual

◆ addLine()

virtual void sofa::helper::io::MeshTopologyLoader::addLine ( Index  ,
Index   
)
inlinevirtual

◆ addPoint()

virtual void sofa::helper::io::MeshTopologyLoader::addPoint ( SReal  ,
SReal  ,
SReal   
)
inlinevirtual

◆ addQuad()

virtual void sofa::helper::io::MeshTopologyLoader::addQuad ( Index  ,
Index  ,
Index  ,
Index   
)
inlinevirtual

◆ addTetra()

virtual void sofa::helper::io::MeshTopologyLoader::addTetra ( Index  ,
Index  ,
Index  ,
Index   
)
inlinevirtual

◆ addTriangle()

virtual void sofa::helper::io::MeshTopologyLoader::addTriangle ( Index  ,
Index  ,
Index   
)
inlinevirtual

◆ load()

bool sofa::helper::io::MeshTopologyLoader::load ( const char filename)

◆ setNbCubes()

virtual void sofa::helper::io::MeshTopologyLoader::setNbCubes ( Index  )
inlinevirtual

◆ setNbEdges()

virtual void sofa::helper::io::MeshTopologyLoader::setNbEdges ( Index  )
inlinevirtual

◆ setNbLines()

virtual void sofa::helper::io::MeshTopologyLoader::setNbLines ( Index  )
inlinevirtual

◆ setNbPoints()

virtual void sofa::helper::io::MeshTopologyLoader::setNbPoints ( Index  )
inlinevirtual

◆ setNbQuads()

virtual void sofa::helper::io::MeshTopologyLoader::setNbQuads ( Index  )
inlinevirtual

◆ setNbTetrahedra()

virtual void sofa::helper::io::MeshTopologyLoader::setNbTetrahedra ( Index  )
inlinevirtual

◆ setNbTriangles()

virtual void sofa::helper::io::MeshTopologyLoader::setNbTriangles ( Index  )
inlinevirtual