SOFA API  c76874b7
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 (int p1, int p2) override
 
void addTriangle (int p1, int p2, int p3) override
 
void addQuad (int p1, int p2, int p3, int p4) override
 
void addTetra (int p1, int p2, int p3, int p4) override
 
void addCube (int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8) override
 
- Public Member Functions inherited from sofa::helper::io::MeshTopologyLoader
 MeshTopologyLoader ()
 
virtual ~MeshTopologyLoader ()
 
bool load (const char *filename)
 
virtual void setNbPoints (int)
 
virtual void setNbLines (int)
 
virtual void setNbEdges (int)
 
virtual void setNbTriangles (int)
 
virtual void setNbQuads (int)
 
virtual void setNbTetrahedra (int)
 
virtual void setNbCubes (int)
 

Attribute details

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

Constructor details

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

Function details

void sofa::core::topology::DefaultMeshTopologyLoader::addCube ( int  p1,
int  p2,
int  p3,
int  p4,
int  p5,
int  p6,
int  p7,
int  p8 
)
inlineoverridevirtual
void sofa::core::topology::DefaultMeshTopologyLoader::addLine ( int  p1,
int  p2 
)
inlineoverridevirtual
void sofa::core::topology::DefaultMeshTopologyLoader::addPoint ( SReal  px,
SReal  py,
SReal  pz 
)
inlineoverridevirtual
void sofa::core::topology::DefaultMeshTopologyLoader::addQuad ( int  p1,
int  p2,
int  p3,
int  p4 
)
inlineoverridevirtual
void sofa::core::topology::DefaultMeshTopologyLoader::addTetra ( int  p1,
int  p2,
int  p3,
int  p4 
)
inlineoverridevirtual
void sofa::core::topology::DefaultMeshTopologyLoader::addTriangle ( int  p1,
int  p2,
int  p3 
)
inlineoverridevirtual