SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::core::topology::DefaultMeshTopologyLoader Class Reference
Inheritance diagram for sofa::core::topology::DefaultMeshTopologyLoader:

Public Attributes

BaseMeshTopologydest
 

Public Member Functions

 DefaultMeshTopologyLoader (BaseMeshTopology *dest)
 
void addPoint (SReal px, SReal py, SReal pz) override
 
void addLine (Index p1, Index p2) override
 
void addTriangle (Index p1, Index p2, Index p3) override
 
void addQuad (Index p1, Index p2, Index p3, Index p4) override
 
void addTetra (Index p1, Index p2, Index p3, Index p4) override
 
void addCube (Index p1, Index p2, Index p3, Index p4, Index p5, Index p6, Index p7, Index p8) override
 
- Public Member Functions inherited from sofa::helper::io::MeshTopologyLoader
 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)
 

Attribute details

◆ dest

BaseMeshTopology* sofa::core::topology::DefaultMeshTopologyLoader::dest

Constructor details

◆ DefaultMeshTopologyLoader()

sofa::core::topology::DefaultMeshTopologyLoader::DefaultMeshTopologyLoader ( BaseMeshTopology dest)
inline

Function details

◆ addCube()

void sofa::core::topology::DefaultMeshTopologyLoader::addCube ( Index  p1,
Index  p2,
Index  p3,
Index  p4,
Index  p5,
Index  p6,
Index  p7,
Index  p8 
)
inlineoverridevirtual

◆ addLine()

void sofa::core::topology::DefaultMeshTopologyLoader::addLine ( Index  p1,
Index  p2 
)
inlineoverridevirtual

◆ addPoint()

void sofa::core::topology::DefaultMeshTopologyLoader::addPoint ( SReal  px,
SReal  py,
SReal  pz 
)
inlineoverridevirtual

◆ addQuad()

void sofa::core::topology::DefaultMeshTopologyLoader::addQuad ( Index  p1,
Index  p2,
Index  p3,
Index  p4 
)
inlineoverridevirtual

◆ addTetra()

void sofa::core::topology::DefaultMeshTopologyLoader::addTetra ( Index  p1,
Index  p2,
Index  p3,
Index  p4 
)
inlineoverridevirtual

◆ addTriangle()

void sofa::core::topology::DefaultMeshTopologyLoader::addTriangle ( Index  p1,
Index  p2,
Index  p3 
)
inlineoverridevirtual