SOFA API  38ecbea1
Open source framework for multi-physics simuation
sofa::component::engine::select Namespace Reference

Namespaces

 boxroi
 

Classes

class  BaseROI
 
class  ComplementaryROI
 
class  IndicesFromValues
 
class  MergeROIs
 
class  MeshBoundaryROI
 
class  MeshROI
 
class  MeshSampler
 
class  MeshSplittingEngine
 
class  MeshSubsetEngine
 
class  NearestPointROI
 
class  PairBoxROI
 
class  PlaneROI
 
class  PointsFromIndices
 
class  ProximityROI
 
class  SortingPair
 
class  SelectConnectedLabelsROI
 
class  SelectLabelROI
 
class  SphereROI
 
class  SubsetTopology
 
class  ValuesFromIndices
 
class  ValuesFromPositions
 

Functions

template<typename DataTypes , typename Element >
constexpr auto getCenter (const Element &e, const typename DataTypes::VecCoord &positions) -> typename DataTypes::CPos
 
template<typename DataTypes , typename Element >
bool isElementInROI (const Element &e, const typename DataTypes::VecCoord &positions, const std::function< bool(const typename DataTypes::CPos &)> &isPointInROI)
 
template<typename DataTypes , typename Element >
bool isElementInStrictROI (const Element &e, const typename DataTypes::VecCoord &positions, const std::function< bool(const typename DataTypes::CPos &)> &isPointInROI)
 
void registerBoxROI (sofa::core::ObjectFactory *factory)
 
void registerComplementaryROI (sofa::core::ObjectFactory *factory)
 
void registerIndicesFromValues (sofa::core::ObjectFactory *factory)
 
void registerMergeROIs (sofa::core::ObjectFactory *factory)
 
void registerMeshBoundaryROI (sofa::core::ObjectFactory *factory)
 
void registerMeshROI (sofa::core::ObjectFactory *factory)
 
void registerMeshSampler (sofa::core::ObjectFactory *factory)
 
void registerMeshSplittingEngine (sofa::core::ObjectFactory *factory)
 
void registerMeshSubsetEngine (sofa::core::ObjectFactory *factory)
 
void registerNearestPointROI (sofa::core::ObjectFactory *factory)
 
void registerPairBoxROI (sofa::core::ObjectFactory *factory)
 
void registerPlaneROI (sofa::core::ObjectFactory *factory)
 
void registerPointsFromIndices (sofa::core::ObjectFactory *factory)
 
void registerProximityROI (sofa::core::ObjectFactory *factory)
 
void registerSelectConnectedLabelsROI (sofa::core::ObjectFactory *factory)
 
void registerSelectLabelROI (sofa::core::ObjectFactory *factory)
 
void registerSphereROI (sofa::core::ObjectFactory *factory)
 
void registerSubsetTopology (sofa::core::ObjectFactory *factory)
 
void registerValuesFromIndices (sofa::core::ObjectFactory *factory)
 
void registerValuesFromPositions (sofa::core::ObjectFactory *factory)
 
SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleName ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleVersion ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY void registerObjects (sofa::core::ObjectFactory *factory)
 
void init ()
 
template<class DataTypes , class Element >
bool applyROIFunc (const Element &e, const core::topology::BaseMeshTopology::SetIndex &indices, const std::function< bool(const Element &)> &roiFunc)
 
template<class container >
void parseIndices (type::vector< unsigned int > &pairs, const container &indices, const unsigned int parentIndex)
 
template<class container1 , class container2 >
void parseIndices (type::vector< unsigned int > &pairs, const container1 &indices, const container2 &cells, const unsigned int parentIndex)
 
template<class ElementType >
void extractElements (const std::map< core::topology::BaseMeshTopology::PointID, core::topology::BaseMeshTopology::PointID > &indexMapping, const sofa::type::vector< ElementType > &elements, sofa::type::vector< ElementType > &subsetElements)
 

Variables

template class SOFA_COMPONENT_ENGINE_SELECT_API ComplementaryROI< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API IndicesFromValues< int >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API IndicesFromValues< unsigned int >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API IndicesFromValues< SReal >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API MeshROI< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API MeshROI< Rigid3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API MeshROI< Vec6Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API MeshSampler< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PairBoxROI< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PairBoxROI< Rigid3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PairBoxROI< Vec6Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PlaneROI< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PlaneROI< Rigid3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PointsFromIndices< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ProximityROI< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SelectConnectedLabelsROI< unsigned int >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SelectConnectedLabelsROI< unsigned char >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SelectConnectedLabelsROI< unsigned short >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SelectConnectedLabelsROI< int >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SelectLabelROI< unsigned int >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SelectLabelROI< unsigned char >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SelectLabelROI< unsigned short >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SelectLabelROI< int >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SphereROI< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SphereROI< Rigid3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SubsetTopology< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SubsetTopology< Rigid3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ValuesFromIndices< int >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ValuesFromIndices< unsigned int >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ValuesFromIndices< SReal >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ValuesFromPositions< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ValuesFromPositions< Rigid3Types >
 

Function Documentation

◆ applyROIFunc()

template<class DataTypes , class Element >
bool sofa::component::engine::select::applyROIFunc ( const Element &  e,
const core::topology::BaseMeshTopology::SetIndex indices,
const std::function< bool(const Element &)> &  roiFunc 
)

◆ extractElements()

template<class ElementType >
void sofa::component::engine::select::extractElements ( const std::map< core::topology::BaseMeshTopology::PointID, core::topology::BaseMeshTopology::PointID > &  indexMapping,
const sofa::type::vector< ElementType > &  elements,
sofa::type::vector< ElementType > &  subsetElements 
)

◆ getCenter()

template<typename DataTypes , typename Element >
constexpr auto sofa::component::engine::select::getCenter ( const Element &  e,
const typename DataTypes::VecCoord &  positions 
) -> typename DataTypes::CPos
constexpr

◆ getModuleName()

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

◆ getModuleVersion()

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

◆ init()

SOFA_COMPONENT_ENGINE_SELECT_API void sofa::component::engine::select::init ( )

◆ initExternalModule()

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

◆ isElementInROI()

template<typename DataTypes , typename Element >
bool sofa::component::engine::select::isElementInROI ( const Element &  e,
const typename DataTypes::VecCoord &  positions,
const std::function< bool(const typename DataTypes::CPos &)> &  isPointInROI 
)

◆ isElementInStrictROI()

template<typename DataTypes , typename Element >
bool sofa::component::engine::select::isElementInStrictROI ( const Element &  e,
const typename DataTypes::VecCoord &  positions,
const std::function< bool(const typename DataTypes::CPos &)> &  isPointInROI 
)

◆ parseIndices() [1/2]

template<class container >
void sofa::component::engine::select::parseIndices ( type::vector< unsigned int > &  pairs,
const container &  indices,
const unsigned int  parentIndex 
)
inline

◆ parseIndices() [2/2]

template<class container1 , class container2 >
void sofa::component::engine::select::parseIndices ( type::vector< unsigned int > &  pairs,
const container1 &  indices,
const container2 &  cells,
const unsigned int  parentIndex 
)
inline

◆ registerBoxROI()

void sofa::component::engine::select::registerBoxROI ( sofa::core::ObjectFactory factory)

◆ registerComplementaryROI()

void sofa::component::engine::select::registerComplementaryROI ( sofa::core::ObjectFactory factory)

◆ registerIndicesFromValues()

void sofa::component::engine::select::registerIndicesFromValues ( sofa::core::ObjectFactory factory)

◆ registerMergeROIs()

void sofa::component::engine::select::registerMergeROIs ( sofa::core::ObjectFactory factory)

◆ registerMeshBoundaryROI()

void sofa::component::engine::select::registerMeshBoundaryROI ( sofa::core::ObjectFactory factory)

◆ registerMeshROI()

void sofa::component::engine::select::registerMeshROI ( sofa::core::ObjectFactory factory)

◆ registerMeshSampler()

void sofa::component::engine::select::registerMeshSampler ( sofa::core::ObjectFactory factory)

◆ registerMeshSplittingEngine()

void sofa::component::engine::select::registerMeshSplittingEngine ( sofa::core::ObjectFactory factory)

◆ registerMeshSubsetEngine()

void sofa::component::engine::select::registerMeshSubsetEngine ( sofa::core::ObjectFactory factory)

◆ registerNearestPointROI()

void sofa::component::engine::select::registerNearestPointROI ( sofa::core::ObjectFactory factory)

◆ registerObjects()

void sofa::component::engine::select::registerObjects ( sofa::core::ObjectFactory factory)

◆ registerPairBoxROI()

void sofa::component::engine::select::registerPairBoxROI ( sofa::core::ObjectFactory factory)

◆ registerPlaneROI()

void sofa::component::engine::select::registerPlaneROI ( sofa::core::ObjectFactory factory)

◆ registerPointsFromIndices()

void sofa::component::engine::select::registerPointsFromIndices ( sofa::core::ObjectFactory factory)

◆ registerProximityROI()

void sofa::component::engine::select::registerProximityROI ( sofa::core::ObjectFactory factory)

◆ registerSelectConnectedLabelsROI()

void sofa::component::engine::select::registerSelectConnectedLabelsROI ( sofa::core::ObjectFactory factory)

◆ registerSelectLabelROI()

void sofa::component::engine::select::registerSelectLabelROI ( sofa::core::ObjectFactory factory)

◆ registerSphereROI()

void sofa::component::engine::select::registerSphereROI ( sofa::core::ObjectFactory factory)

◆ registerSubsetTopology()

void sofa::component::engine::select::registerSubsetTopology ( sofa::core::ObjectFactory factory)

◆ registerValuesFromIndices()

void sofa::component::engine::select::registerValuesFromIndices ( sofa::core::ObjectFactory factory)

◆ registerValuesFromPositions()

void sofa::component::engine::select::registerValuesFromPositions ( sofa::core::ObjectFactory factory)

Variable Documentation

◆ ComplementaryROI< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::ComplementaryROI< Vec3Types >

◆ IndicesFromValues< int >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::IndicesFromValues< int >

◆ IndicesFromValues< SReal >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::IndicesFromValues< SReal >

◆ IndicesFromValues< unsigned int >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::IndicesFromValues< unsigned int >

◆ MeshROI< Rigid3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::MeshROI< Rigid3Types >

◆ MeshROI< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::MeshROI< Vec3Types >

◆ MeshROI< Vec6Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::MeshROI< Vec6Types >

◆ MeshSampler< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::MeshSampler< Vec3Types >

◆ PairBoxROI< Rigid3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::PairBoxROI< Rigid3Types >

◆ PairBoxROI< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::PairBoxROI< Vec3Types >

◆ PairBoxROI< Vec6Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::PairBoxROI< Vec6Types >

◆ PlaneROI< Rigid3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::PlaneROI< Rigid3Types >

◆ PlaneROI< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::PlaneROI< Vec3Types >

◆ PointsFromIndices< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::PointsFromIndices< Vec3Types >

◆ ProximityROI< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::ProximityROI< Vec3Types >

◆ SelectConnectedLabelsROI< int >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SelectConnectedLabelsROI< int >

◆ SelectConnectedLabelsROI< unsigned char >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SelectConnectedLabelsROI< unsigned char >

◆ SelectConnectedLabelsROI< unsigned int >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SelectConnectedLabelsROI< unsigned int >

◆ SelectConnectedLabelsROI< unsigned short >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SelectConnectedLabelsROI< unsigned short >

◆ SelectLabelROI< int >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SelectLabelROI< int >

◆ SelectLabelROI< unsigned char >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SelectLabelROI< unsigned char >

◆ SelectLabelROI< unsigned int >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SelectLabelROI< unsigned int >

◆ SelectLabelROI< unsigned short >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SelectLabelROI< unsigned short >

◆ SphereROI< Rigid3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SphereROI< Rigid3Types >

◆ SphereROI< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SphereROI< Vec3Types >

◆ SubsetTopology< Rigid3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SubsetTopology< Rigid3Types >

◆ SubsetTopology< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::SubsetTopology< Vec3Types >

◆ ValuesFromIndices< int >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::ValuesFromIndices< int >

◆ ValuesFromIndices< SReal >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::ValuesFromIndices< SReal >

◆ ValuesFromIndices< unsigned int >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::ValuesFromIndices< unsigned int >

◆ ValuesFromPositions< Rigid3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::ValuesFromPositions< Rigid3Types >

◆ ValuesFromPositions< Vec3Types >

template class SOFA_COMPONENT_ENGINE_SELECT_API sofa::component::engine::select::ValuesFromPositions< Vec3Types >