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

Namespaces

 boxroi
 

Classes

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

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

Variables

int ComplementaryROIClass
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ComplementaryROI< Vec3Types >
 
int IndicesFromValuesClass
 
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 >
 
int MergeROIsClass
 
int MeshBoundaryROIClass
 
int MeshROIClass
 
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 >
 
int MeshSamplerClass
 
template class SOFA_COMPONENT_ENGINE_SELECT_API MeshSampler< Vec3Types >
 
int MeshSplittingEngineClass
 
int MeshSubsetEngineClass
 
int NearestPointROIClass
 
int PairBoxROIClass
 
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 >
 
int PlaneROIClass
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PlaneROI< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PlaneROI< Rigid3Types >
 
int PointsFromIndicesClass
 
template class SOFA_COMPONENT_ENGINE_SELECT_API PointsFromIndices< Vec3Types >
 
int ProximityROIClass
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ProximityROI< Vec3Types >
 
int SelectConnectedLabelsROIClass
 
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 >
 
int SelectLabelROIClass
 
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 >
 
int SphereROIClass
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SphereROI< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SphereROI< Rigid3Types >
 
int SubsetTopologyClass
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SubsetTopology< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API SubsetTopology< Rigid3Types >
 
int ValuesFromIndicesClass
 
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 >
 
int ValuesFromPositionsClass
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ValuesFromPositions< Vec3Types >
 
template class SOFA_COMPONENT_ENGINE_SELECT_API ValuesFromPositions< Rigid3Types >
 

Function Documentation

◆ getModuleComponentList()

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

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

◆ 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

Variable Documentation

◆ ComplementaryROI< Vec3Types >

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

◆ ComplementaryROIClass

int sofa::component::engine::select::ComplementaryROIClass
Initial value:
= core::RegisterObject("Find the points that are NOT in the input sets")
.add<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 >

◆ IndicesFromValuesClass

int sofa::component::engine::select::IndicesFromValuesClass
Initial value:
= core::RegisterObject("Find the indices of a list of values within a larger set of values")
.add< IndicesFromValues<std::string> >()
.add< IndicesFromValues<int> >()
.add< IndicesFromValues<unsigned int> >()
.add< IndicesFromValues< type::fixed_array<unsigned int, 2> > >()
.add< IndicesFromValues< type::fixed_array<unsigned int, 3> > >()
.add< IndicesFromValues< type::fixed_array<unsigned int, 4> > >()
.add< IndicesFromValues< type::fixed_array<unsigned int, 8> > >()
.add< IndicesFromValues<SReal> >()
.add< IndicesFromValues<type::Vec2> >()
.add< IndicesFromValues<type::Vec3> >()

◆ MergeROIsClass

int sofa::component::engine::select::MergeROIsClass
Initial value:
= core::RegisterObject("Merge a list of ROIs (vector<Indices>) into a single Data (vector<svector<Indices>>)")
.add< MergeROIs >(true)

◆ MeshBoundaryROIClass

int sofa::component::engine::select::MeshBoundaryROIClass
Initial value:
= core::RegisterObject("Outputs indices of boundary vertices of a triangle/quad mesh")
.add< MeshBoundaryROI >(true)

◆ 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 >

◆ MeshROIClass

int sofa::component::engine::select::MeshROIClass
Initial value:
= core::RegisterObject("Find the primitives (vertex/edge/triangle/tetrahedron) inside a given mesh")
.add< MeshROI<Vec3Types> >(true)
.add< MeshROI<Rigid3Types> >()
.add< MeshROI<Vec6Types> >()

◆ MeshSampler< Vec3Types >

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

◆ MeshSamplerClass

int sofa::component::engine::select::MeshSamplerClass
Initial value:
= core::RegisterObject("Select uniformly distributed points on a mesh based on Euclidean or Geodesic distance measure")
.add< MeshSampler<Vec3Types> >(true)

◆ MeshSplittingEngineClass

int sofa::component::engine::select::MeshSplittingEngineClass
Initial value:
= core::RegisterObject("This class breaks a mesh in multiple parts, based on selected vertices or cells.")
.add< MeshSplittingEngine<defaulttype::Vec3Types> >(true)

◆ MeshSubsetEngineClass

int sofa::component::engine::select::MeshSubsetEngineClass
Initial value:
= core::RegisterObject("Extract a mesh subset based on selected vertices")
.add< MeshSubsetEngine<defaulttype::Vec3Types> >(true)

◆ NearestPointROIClass

int sofa::component::engine::select::NearestPointROIClass
Initial value:
= core::RegisterObject("Attach given pair of particles, projecting the positions of the second particles to the first ones")
.add< NearestPointROI<Vec3Types> >()
.add< NearestPointROI<Vec2Types> >()
.add< NearestPointROI<Vec1Types> >()
.add< NearestPointROI<Vec6Types> >()
.add< NearestPointROI<Rigid3Types> >()
.add< NearestPointROI<Rigid2Types> >()

◆ 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 >

◆ PairBoxROIClass

int sofa::component::engine::select::PairBoxROIClass
Initial value:
= core::RegisterObject("Find the primitives (vertex/edge/triangle/tetrahedron) inside a given box")
.add< PairBoxROI<Vec3Types> >()
.add< PairBoxROI<Rigid3Types> >()
.add< 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 >

◆ PlaneROIClass

int sofa::component::engine::select::PlaneROIClass
Initial value:
= core::RegisterObject("Find the primitives inside a given plane")
.add< PlaneROI<Vec3Types> >()
.add< PlaneROI<Rigid3Types> >()

◆ PointsFromIndices< Vec3Types >

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

◆ PointsFromIndicesClass

int sofa::component::engine::select::PointsFromIndicesClass
Initial value:
= core::RegisterObject("Find the points given a list of indices")
.add< PointsFromIndices<Vec3Types> >()

◆ ProximityROI< Vec3Types >

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

◆ ProximityROIClass

int sofa::component::engine::select::ProximityROIClass
Initial value:
= core::RegisterObject("Find the N closest primitives from a given position")
.add< 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 >

◆ SelectConnectedLabelsROIClass

int sofa::component::engine::select::SelectConnectedLabelsROIClass
Initial value:
= core::RegisterObject("Select a subset of points or cells labeled from different sources, that are connected given a list of connection pairs")
.add< SelectConnectedLabelsROI<unsigned int> >(true)
.add< SelectConnectedLabelsROI<unsigned char> >()
.add< SelectConnectedLabelsROI<unsigned short> >()
.add< SelectConnectedLabelsROI<int> >()

◆ 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 >

◆ SelectLabelROIClass

int sofa::component::engine::select::SelectLabelROIClass
Initial value:
= core::RegisterObject("Select a subset of labeled points or cells stored in (vector<svector<label>>) given certain labels")
.add< SelectLabelROI<unsigned int> >(true)
.add< SelectLabelROI<unsigned char> >()
.add< SelectLabelROI<unsigned short> >()
.add< SelectLabelROI<int> >()

◆ 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 >

◆ SphereROIClass

int sofa::component::engine::select::SphereROIClass
Initial value:
= core::RegisterObject("Find the primitives (vertex/edge/triangle/tetrahedron) inside a given sphere")
.add< SphereROI<Vec3Types> >()
.add< SphereROI<Rigid3Types> >()

◆ 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 >

◆ SubsetTopologyClass

int sofa::component::engine::select::SubsetTopologyClass
Initial value:
= core::RegisterObject("Engine used to create subset topology given box, sphere, plan, ...")
.add< SubsetTopology<Vec3Types> >()
.add< SubsetTopology<Rigid3Types> >()

◆ 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 >

◆ ValuesFromIndicesClass

int sofa::component::engine::select::ValuesFromIndicesClass
Initial value:
= core::RegisterObject("Find the values given a list of indices")
.add< ValuesFromIndices<std::string> >()
.add< ValuesFromIndices<int> >()
.add< ValuesFromIndices<unsigned int> >()
.add< ValuesFromIndices< type::fixed_array<unsigned int, 2> > >()
.add< ValuesFromIndices< type::fixed_array<unsigned int, 3> > >()
.add< ValuesFromIndices< type::fixed_array<unsigned int, 4> > >()
.add< ValuesFromIndices< type::fixed_array<unsigned int, 8> > >()
.add< ValuesFromIndices<SReal> >()
.add< ValuesFromIndices<type::Vec2> >()
.add< ValuesFromIndices<type::Vec3> >()
.add< ValuesFromIndices<type::Vec4> >()
.add< ValuesFromIndices<type::Vec6> >()
.add< ValuesFromIndices<defaulttype::Rigid2Types::Coord> >()
.add< ValuesFromIndices<defaulttype::Rigid2Types::Deriv> >()
.add< ValuesFromIndices<defaulttype::Rigid3Types::Coord> >()
.add< ValuesFromIndices<defaulttype::Rigid3Types::Deriv> >()

◆ 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 >

◆ ValuesFromPositionsClass

int sofa::component::engine::select::ValuesFromPositionsClass
Initial value:
= core::RegisterObject("Assign values to primitives (vertex/edge/triangle/tetrahedron) based on a linear interpolation of values along a direction")
.add< ValuesFromPositions<Vec3Types> >()
.add< ValuesFromPositions<Rigid3Types> >()