SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::component::engine::generate Namespace Reference

Classes

class  ExtrudeEdgesAndGenerateQuads
 
class  ExtrudeQuadsAndGenerateHexas
 
class  ExtrudeSurface
 
class  GenerateCylinder
 
class  GenerateGrid
 
class  GenerateRigidMass
 
class  GenerateSphere
 
class  GroupFilterYoungModulus
 
class  JoinPoints
 
class  MergeMeshes
 
class  MergePoints
 
class  MergeSets
 
class  MergeVectors
 
class  MeshBarycentricMapperEngine
 
class  MeshClosingEngine
 
class  MeshTetraStuffing
 Create a tetrahedral volume mesh from a surface, using the algorithm from F. Labelle and J.R. Shewchuk, "Isosurface Stuffing: Fast Tetrahedral Meshes with Good Dihedral Angles", SIGGRAPH 2007. More...
 
class  NormalsFromPoints
 
class  NormEngine
 convert a vector of Vecs in a vector of their l-norms More...
 
class  RandomPointDistributionInSurface
 
class  Spiral
 

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 ()
 

Variables

int ExtrudeEdgesAndGenerateQuadsClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API ExtrudeEdgesAndGenerateQuads< Vec3Types >
 
int ExtrudeQuadsAndGenerateHexasClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API ExtrudeQuadsAndGenerateHexas< Vec3Types >
 
int ExtrudeSurfaceClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API ExtrudeSurface< Vec3Types >
 
int GenerateCylinderClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API GenerateCylinder< Vec3Types >
 
int GenerateGridClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API GenerateGrid< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API GenerateGrid< Vec2Types >
 
int GenerateRigidMassClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API GenerateRigidMass< Rigid3Types, Rigid3Mass >
 
int GenerateSphereClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API GenerateSphere< Vec3Types >
 
const unsigned int adjacentVerticesToEdges [6][2] = {{2,3}, {1,3}, {1,2}, {0,3}, {0,2}, {0,1}}
 
int GroupFilterYoungModulusClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API GroupFilterYoungModulus< Vec3Types >
 
int JoinPointsClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API JoinPoints< Vec3Types >
 
int MergeMeshesClass
 
int MergePointsClass
 
int MergeSetsClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API MergeSets< int >
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API MergeSets< unsigned int >
 
int MergeVectorsClass
 
int MeshBarycentricMapperEngineClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API MeshBarycentricMapperEngine< Vec3Types >
 
int MeshClosingEngineClass
 
int MeshTetraStuffingClass
 
int NormalsFromPointsClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API NormalsFromPoints< Vec3Types >
 
int NormEngineClass
 
int RandomPointDistributionInSurfaceClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API RandomPointDistributionInSurface< Vec3Types >
 
int SpiralClass
 
template class SOFA_COMPONENT_ENGINE_GENERATE_API Spiral< Vec3Types >
 

Function Documentation

◆ getModuleComponentList()

const char * sofa::component::engine::generate::getModuleComponentList ( )

◆ getModuleName()

const char * sofa::component::engine::generate::getModuleName ( )

◆ getModuleVersion()

const char * sofa::component::engine::generate::getModuleVersion ( )

◆ init()

SOFA_COMPONENT_ENGINE_GENERATE_API void sofa::component::engine::generate::init ( )

◆ initExternalModule()

void sofa::component::engine::generate::initExternalModule ( )

Variable Documentation

◆ adjacentVerticesToEdges

const unsigned int sofa::component::engine::generate::adjacentVerticesToEdges[6][2] = {{2,3}, {1,3}, {1,2}, {0,3}, {0,2}, {0,1}}

◆ ExtrudeEdgesAndGenerateQuads< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::ExtrudeEdgesAndGenerateQuads< Vec3Types >

◆ ExtrudeEdgesAndGenerateQuadsClass

int sofa::component::engine::generate::ExtrudeEdgesAndGenerateQuadsClass
Initial value:
= core::RegisterObject("This engine extrudes an edge-based curve into a quad surface patch")
.add< ExtrudeEdgesAndGenerateQuads<Vec3Types> >(true)

◆ ExtrudeQuadsAndGenerateHexas< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::ExtrudeQuadsAndGenerateHexas< Vec3Types >

◆ ExtrudeQuadsAndGenerateHexasClass

int sofa::component::engine::generate::ExtrudeQuadsAndGenerateHexasClass
Initial value:
= core::RegisterObject("This engine extrudes a quad-based surface into a set of hexahedral elements")
.add< ExtrudeQuadsAndGenerateHexas<Vec3Types> >()

◆ ExtrudeSurface< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::ExtrudeSurface< Vec3Types >

◆ ExtrudeSurfaceClass

int sofa::component::engine::generate::ExtrudeSurfaceClass
Initial value:
= core::RegisterObject("This class truns on spiral any topological model")
.add< ExtrudeSurface<Vec3Types> >()

◆ GenerateCylinder< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::GenerateCylinder< Vec3Types >

◆ GenerateCylinderClass

int sofa::component::engine::generate::GenerateCylinderClass
Initial value:
= core::RegisterObject("Generate a Cylindrical Tetrahedral Mesh")
.add< GenerateCylinder<Vec3Types> >()

◆ GenerateGrid< Vec2Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::GenerateGrid< Vec2Types >

◆ GenerateGrid< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::GenerateGrid< Vec3Types >

◆ GenerateGridClass

int sofa::component::engine::generate::GenerateGridClass
Initial value:
= core::RegisterObject("Generate a Grid Tetrahedral or Hexahedral Mesh")
.add< GenerateGrid<Vec3Types> >()
.add< GenerateGrid<Vec2Types> >()

◆ GenerateRigidMass< Rigid3Types, Rigid3Mass >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::GenerateRigidMass< Rigid3Types, Rigid3Mass >

◆ GenerateRigidMassClass

int sofa::component::engine::generate::GenerateRigidMassClass
Initial value:
= core::RegisterObject("An engine computing the RigidMass of a mesh : mass, volume and inertia matrix.")
.add< GenerateRigidMass<Rigid3Types, Rigid3Mass> >()

◆ GenerateSphere< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::GenerateSphere< Vec3Types >

◆ GenerateSphereClass

int sofa::component::engine::generate::GenerateSphereClass
Initial value:
= core::RegisterObject("Generate a sphereical (Bezier) Tetrahedral and Triangular Mesh")
.add< GenerateSphere<Vec3Types> >()

◆ GroupFilterYoungModulus< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::GroupFilterYoungModulus< Vec3Types >

◆ GroupFilterYoungModulusClass

int sofa::component::engine::generate::GroupFilterYoungModulusClass
Initial value:
= core::RegisterObject("This class gives a vector of young modulus according of a list of defined groups")
.add< GroupFilterYoungModulus<Vec3Types> >()

◆ JoinPoints< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::JoinPoints< Vec3Types >

◆ JoinPointsClass

int sofa::component::engine::generate::JoinPointsClass
Initial value:
= core::RegisterObject("?")
.add< JoinPoints<Vec3Types> >()

◆ MergeMeshesClass

int sofa::component::engine::generate::MergeMeshesClass
Initial value:
= core::RegisterObject("Merge several meshes")
.add< MergeMeshes<defaulttype::Vec3Types> >(true)
.add< MergeMeshes<defaulttype::Vec1Types> >()
.add< MergeMeshes<defaulttype::Vec2Types> >()
.add< MergeMeshes<defaulttype::Rigid2Types> >()
.add< MergeMeshes<defaulttype::Rigid3Types> >()

◆ MergePointsClass

int sofa::component::engine::generate::MergePointsClass
Initial value:
= core::RegisterObject("Merge 2 cordinate vectors")
.add< MergePoints<defaulttype::Vec3Types> >(true)
.add< MergePoints<defaulttype::Vec1Types> >()
.add< MergePoints<defaulttype::Vec2Types> >()
.add< MergePoints<defaulttype::Rigid2Types> >()
.add< MergePoints<defaulttype::Rigid3Types> >()

◆ MergeSets< int >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::MergeSets< int >

◆ MergeSets< unsigned int >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::MergeSets< unsigned int >

◆ MergeSetsClass

int sofa::component::engine::generate::MergeSetsClass
Initial value:
= core::RegisterObject("Merge two sets of indices using specified boolean operation")
.add< MergeSets<int> >(true)
.add< MergeSets<unsigned int> >()

◆ MergeVectorsClass

int sofa::component::engine::generate::MergeVectorsClass
Initial value:
= core::RegisterObject("Apply a merge operation to combine several inputs")
.add< MergeVectors< type::vector<SReal> > >(true)
.add< MergeVectors< type::vector<int> > >()
.add< MergeVectors< type::vector<bool> > >()
.add< MergeVectors< type::vector<type::Vec2u> > >()
.add< MergeVectors< type::vector<type::Vec2> > >()
.add< MergeVectors< type::vector<type::Vec3> > >()
.add< MergeVectors< type::vector<type::Vec4> > >()
.add< MergeVectors< defaulttype::Rigid2Types::VecCoord > >()
.add< MergeVectors< defaulttype::Rigid2Types::VecDeriv > >()
.add< MergeVectors< defaulttype::Rigid3Types::VecCoord > >()
.add< MergeVectors< defaulttype::Rigid3Types::VecDeriv > >()

◆ MeshBarycentricMapperEngine< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::MeshBarycentricMapperEngine< Vec3Types >

◆ MeshBarycentricMapperEngineClass

int sofa::component::engine::generate::MeshBarycentricMapperEngineClass
Initial value:
= core::RegisterObject("This class maps a set of points in a topological model and provide barycentric coordinates")
.add< MeshBarycentricMapperEngine<Vec3Types> >()

◆ MeshClosingEngineClass

int sofa::component::engine::generate::MeshClosingEngineClass
Initial value:
= core::RegisterObject("Merge several meshes")
.add< MeshClosingEngine<defaulttype::Vec3Types> >(true)

◆ MeshTetraStuffingClass

int sofa::component::engine::generate::MeshTetraStuffingClass
Initial value:
= core::RegisterObject("Create a tetrahedral volume mesh from a surface, using the algorithm from F. Labelle and J.R. Shewchuk, \"Isosurface Stuffing: Fast Tetrahedral Meshes with Good Dihedral Angles\", SIGGRAPH 2007.")
.add< MeshTetraStuffing >()

◆ NormalsFromPoints< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::NormalsFromPoints< Vec3Types >

◆ NormalsFromPointsClass

int sofa::component::engine::generate::NormalsFromPointsClass
Initial value:
= core::RegisterObject("Compute vertex normals by averaging face normals")
.add< NormalsFromPoints<Vec3Types> >()

◆ NormEngineClass

int sofa::component::engine::generate::NormEngineClass
Initial value:
= core::RegisterObject("Convert Vec in Real")
.add< NormEngine<type::Vec3> >(true)

◆ RandomPointDistributionInSurface< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::RandomPointDistributionInSurface< Vec3Types >

◆ RandomPointDistributionInSurfaceClass

int sofa::component::engine::generate::RandomPointDistributionInSurfaceClass
Initial value:
= core::RegisterObject("This class truns on spiral any topological model")
.add< RandomPointDistributionInSurface<Vec3Types> >()

◆ Spiral< Vec3Types >

template class SOFA_COMPONENT_ENGINE_GENERATE_API sofa::component::engine::generate::Spiral< Vec3Types >

◆ SpiralClass

int sofa::component::engine::generate::SpiralClass
Initial value:
= core::RegisterObject("This class truns on spiral any topological model")
.add< Spiral<Vec3Types> >()