|
| SOFA_CLASS (TetrahedronSetTopologyContainer, TriangleSetTopologyContainer) |
|
void | init () override |
| Initialization method called at graph creation and modification, during top-down traversal. More...
|
|
void | addRemovedTetraIndex (sofa::type::vector< TetrahedronID > &tetrahedra) |
|
sofa::type::vector< TetrahedronID > & | getRemovedTetraIndex () |
|
Size | getNumberOfTetrahedra () const |
| Returns the number of tetrahedra in this topology. The difference to getNbTetrahedra() is that this method does not generate the tetra array if it does not exist. More...
|
|
Size | getNumberOfElements () const override |
| Returns the number of topological element of the current topology. This function avoids to know which topological container is in used. More...
|
|
const sofa::type::vector< Tetrahedron > & | getTetrahedronArray () |
| Returns the Tetrahedron array. More...
|
|
const sofa::type::vector< EdgesInTetrahedron > & | getEdgesInTetrahedronArray () |
| Returns the EdgesInTetrahedron array (i.e. provide the 6 edge indices for each tetrahedron). More...
|
|
const sofa::type::vector< TrianglesInTetrahedron > & | getTrianglesInTetrahedronArray () |
| Returns the TrianglesInTetrahedron array (i.e. provide the 4 triangle indices for each tetrahedron). More...
|
|
const sofa::type::vector< TetrahedraAroundVertex > & | getTetrahedraAroundVertexArray () |
| Returns the TetrahedraAroundVertex array (i.e. provide the tetrahedron indices adjacent to each vertex). More...
|
|
const sofa::type::vector< TetrahedraAroundEdge > & | getTetrahedraAroundEdgeArray () |
| Returns the TetrahedraAroundEdge array (i.e. provide the tetrahedron indices adjacent to each edge). More...
|
|
const sofa::type::vector< TetrahedraAroundTriangle > & | getTetrahedraAroundTriangleArray () |
| Returns the TetrahedraAroundTriangle array (i.e. provide the tetrahedron indices adjacent to each triangle). More...
|
|
bool | hasTetrahedra () const |
|
bool | hasEdgesInTetrahedron () const |
|
bool | hasTrianglesInTetrahedron () const |
|
bool | hasTetrahedraAroundVertex () const |
|
bool | hasTetrahedraAroundEdge () const |
|
bool | hasTetrahedraAroundTriangle () const |
|
sofa::geometry::ElementType | getTopologyType () const override |
| Returns the type of the topology. More...
|
|
bool | linkTopologyHandlerToData (core::topology::TopologyHandler *topologyHandler, sofa::geometry::ElementType elementType) override |
|
bool | unlinkTopologyHandlerToData (core::topology::TopologyHandler *topologyHandler, sofa::geometry::ElementType elementType) override |
|
|
void | clear () override |
|
void | addTriangle (Index, Index, Index) override |
|
void | addTetra (Index a, Index b, Index c, Index d) override |
|
|
const SeqTetrahedra & | getTetrahedra () override |
| Returns the tetrahedra array. More...
|
|
const Tetrahedron | getTetrahedron (TetraID i) override |
| Returns the tetrahedron corresponding to the TetraID i. More...
|
|
TetrahedronID | getTetrahedronIndex (PointID v1, PointID v2, PointID v3, PointID v4) override |
| Returns the indices of a tetrahedron given four vertex indices. More...
|
|
const EdgesInTetrahedron & | getEdgesInTetrahedron (TetraID id) override |
| Returns the 6 edges adjacent to a given tetrahedron. More...
|
|
const TrianglesInTetrahedron & | getTrianglesInTetrahedron (TetraID id) override |
| Returns the 4 triangles adjacent to a given tetrahedron. More...
|
|
const TetrahedraAroundVertex & | getTetrahedraAroundVertex (PointID id) override |
| Returns the set of tetrahedra adjacent to a given vertex. More...
|
|
const TetrahedraAroundEdge & | getTetrahedraAroundEdge (EdgeID id) override |
| Returns the set of tetrahedra adjacent to a given edge. More...
|
|
const TetrahedraAroundTriangle & | getTetrahedraAroundTriangle (TriangleID id) override |
| Returns the set of tetrahedra adjacent to a given triangle. More...
|
|
int | getVertexIndexInTetrahedron (const Tetrahedron &t, PointID vertexIndex) const override |
| Returns the index (either 0, 1 ,2 or 3) of the vertex whose global index is vertexIndex. More...
|
|
int | getEdgeIndexInTetrahedron (const EdgesInTetrahedron &t, EdgeID edgeIndex) const override |
| Returns the index (either 0, 1 ,2, 3, 4 or 5) of the edge whose global index is edgeIndex. More...
|
|
int | getTriangleIndexInTetrahedron (const TrianglesInTetrahedron &t, TriangleID triangleIndex) const override |
| Returns the index (either 0, 1 ,2 or 3) of the triangle whose global index is triangleIndex. More...
|
|
Edge | getLocalEdgesInTetrahedron (const EdgeID i) const override |
| Returns for each index (between 0 and 5) the two vertex indices that are adjacent to that edge. More...
|
|
Triangle | getLocalTrianglesInTetrahedron (const TriangleID i) const override |
| Returns for each index (between 0 and 3) the three local vertices indices that are adjacent to that triangle. More...
|
|
|
void | initTopology () |
| Method called by component Init method. Will create all the topology neighborhood buffers and call. More...
|
|
bool | checkTopology () const override |
| Checks if the topology is coherent. More...
|
|
bool | checkConnexity () override |
| Checks if the topology has only one connected component. More...
|
|
Size | getNumberOfConnectedComponent () override |
| Returns the number of connected component. More...
|
|
const VecTetraID | getConnectedElement (TetraID elem) override |
| Returns the set of element indices connected to an input one (i.e. which can be reached by topological links) More...
|
|
const VecTetraID | getElementAroundElement (TetraID elem) override |
| Returns the set of element indices adjacent to a given element (i.e. sharing a link) More...
|
|
const VecTetraID | getElementAroundElements (VecTetraID elems) override |
| Returns the set of element indices adjacent to a given list of elements (i.e. sharing a link) More...
|
|
const VecTetraID | getOppositeElement (TetraID elemID) |
| Returns the set of element indices adjacent to a given element with direct link from n-1 order element type (i.e triangle for tetrahedron) More...
|
|
| SOFA_CLASS (TriangleSetTopologyContainer, EdgeSetTopologyContainer) |
|
void | init () override |
| Initialization method called at graph creation and modification, during top-down traversal. More...
|
|
void | reinit () override |
| Update method called when variables used in precomputation are modified. More...
|
|
bool | hasTriangles () const |
|
bool | hasEdgesInTriangle () const |
|
bool | hasTrianglesAroundVertex () const |
|
bool | hasTrianglesAroundEdge () const |
|
bool | hasBorderElementLists () const |
|
void | createElementsOnBorder () |
| : Create element lists which are on topology border: More...
|
|
void | reOrientateTriangle (TriangleID id) override |
| Will change order of vertices in triangle: t[1] <=> t[2]. More...
|
|
sofa::geometry::ElementType | getTopologyType () const override |
| Returns the type of the topology. More...
|
|
bool | linkTopologyHandlerToData (core::topology::TopologyHandler *topologyHandler, sofa::geometry::ElementType elementType) override |
|
bool | unlinkTopologyHandlerToData (core::topology::TopologyHandler *topologyHandler, sofa::geometry::ElementType elementType) override |
|
void | clear () override |
|
void | addEdge (Index, Index) override |
|
void | addTriangle (Index a, Index b, Index c) override |
|
const SeqTriangles & | getTriangles () override |
| Returns the quad array. More...
|
|
const Triangle | getTriangle (TriangleID i) override |
| Returns the triangle corresponding to the TriangleID i. More...
|
|
TriangleID | getTriangleIndex (PointID v1, PointID v2, PointID v3) override |
| Returns the index of the triangle given three vertex indices; returns InvalidID if no triangle exists. More...
|
|
const EdgesInTriangle & | getEdgesInTriangle (TriangleID id) override |
| Returns the 3 edges adjacent to a given triangle. More...
|
|
const TrianglesAroundVertex & | getTrianglesAroundVertex (PointID id) override |
| Returns the set of triangles adjacent to a given vertex. More...
|
|
const TrianglesAroundEdge & | getTrianglesAroundEdge (EdgeID id) override |
| Returns the set of triangles adjacent to a given edge. More...
|
|
int | getVertexIndexInTriangle (const Triangle &t, PointID vertexIndex) const override |
| Returns the index (either 0, 1 ,2) of the vertex whose global index is vertexIndex. More...
|
|
int | getEdgeIndexInTriangle (const EdgesInTriangle &t, EdgeID edgeIndex) const override |
| Returns the index (either 0, 1 ,2) of the edge whose global index is edgeIndex. More...
|
|
PointID | getOtherPointInTriangle (const Triangle &t, PointID p1, PointID p2) const |
| Returns the global point index of third point of a triangle given the 2 others. More...
|
|
void | initTopology () |
|
bool | checkTopology () const override |
| Checks if the topology is coherent. More...
|
|
Size | getNumberOfTriangles () const |
| Returns the number of triangles in this topology. The difference to getNbTriangles() is that this method does not generate the triangle array if it does not exist. More...
|
|
Size | getNumberOfElements () const override |
| Returns the number of topological element of the current topology. This function avoids to know which topological container is in used. More...
|
|
const sofa::type::vector< Triangle > & | getTriangleArray () |
| Returns the Triangle array. More...
|
|
const sofa::type::vector< EdgesInTriangle > & | getEdgesInTriangleArray () |
| Returns the EdgesInTriangle array (i.e. provide the 3 edge indices for each triangle). More...
|
|
const sofa::type::vector< TrianglesAroundVertex > & | getTrianglesAroundVertexArray () |
| Returns the TrianglesAroundVertex array (i.e. provide the triangles indices adjacent to each vertex). More...
|
|
const sofa::type::vector< TrianglesAroundEdge > & | getTrianglesAroundEdgeArray () |
| Returns the TrianglesAroundEdge array (i.e. provide the triangles indices adjacent to each edge). More...
|
|
const sofa::type::vector< TriangleID > & | getTrianglesOnBorder () override |
| : Return a list of TriangleID which are on a border. More...
|
|
const sofa::type::vector< EdgeID > & | getEdgesOnBorder () override |
| : Return a list of EdgeID which are on a border. More...
|
|
const sofa::type::vector< PointID > & | getPointsOnBorder () override |
| : Return a vector of PointID which are on a border. More...
|
|
bool | checkConnexity () override |
| Checks if the topology has only one connected component. More...
|
|
Size | getNumberOfConnectedComponent () override |
| Returns the number of connected component. More...
|
|
const VecTriangleID | getConnectedElement (TriangleID elem) override |
| Returns the set of element indices connected to an input one (i.e. which can be reached by topological links) More...
|
|
const VecTriangleID | getElementAroundElement (TriangleID elem) override |
| Returns the set of element indices adjacent to a given element (i.e. sharing a link) More...
|
|
const VecTriangleID | getElementAroundElements (VecTriangleID elems) override |
| Returns the set of element indices adjacent to a given list of elements (i.e. sharing a link) More...
|
|
| SOFA_CLASS (EdgeSetTopologyContainer, PointSetTopologyContainer) |
|
const SeqEdges & | getEdges () override |
| Returns the edge array. More...
|
|
const Edge | getEdge (EdgeID i) override |
| Get an Edge from its ID. More...
|
|
EdgeID | getEdgeIndex (PointID v1, PointID v2) override |
| Get the index of the edge joining two vertices. More...
|
|
const EdgesAroundVertex & | getEdgesAroundVertex (PointID id) override |
| Get the indices of the edges around a vertex. More...
|
|
void | initTopology () |
|
Size | getNumberOfEdges () const |
| Returns the number of edges in this topology. More...
|
|
virtual int | getNumberConnectedComponents (sofa::type::vector< EdgeID > &components) |
| Returns the number of connected components from the graph containing all edges and give, for each vertex, which component it belongs to (use BOOST GRAPH LIBRARY) More...
|
|
virtual const sofa::type::vector< Edge > & | getEdgeArray () |
| Returns the Edge array. More...
|
|
virtual const sofa::type::vector< sofa::type::vector< EdgeID > > & | getEdgesAroundVertexArray () |
| Returns the list of Edge indices around each DOF. More...
|
|
bool | hasEdges () const |
|
bool | hasEdgesAroundVertex () const |
|
const VecEdgeID | getConnectedElement (EdgeID elem) override |
| Returns the set of element indices connected to an input one (i.e. which can be reached by topological links) More...
|
|
const VecEdgeID | getElementAroundElement (EdgeID elem) override |
| Returns the set of element indices adjacent to a given element (i.e. sharing a link) More...
|
|
const VecEdgeID | getElementAroundElements (VecEdgeID elems) override |
| Returns the set of element indices adjacent to a given list of elements (i.e. sharing a link) More...
|
|
| SOFA_CLASS (PointSetTopologyContainer, core::topology::TopologyContainer) |
|
void | addPoint (SReal px, SReal py, SReal pz) override |
|
Size | getNbPoints () const override |
| Returns the number of vertices in this topology. More...
|
|
void | setNbPoints (Size n) override |
| Set the number of vertices in this topology. More...
|
|
bool | hasPos () const override |
| check if vertices in this topology have positions. More...
|
|
SReal | getPX (Index i) const override |
| Returns the X coordinate of the ith DOF. More...
|
|
SReal | getPY (Index i) const override |
| Returns the Y coordinate of the ith DOF. More...
|
|
SReal | getPZ (Index i) const override |
| Returns the Z coordinate of the ith DOF. More...
|
|
void | addPoint () |
| add one DOF in this topology (simply increment the number of DOF) More...
|
|
void | addPoints (const Size nPoints) |
| add a number of DOFs in this topology (simply increase the number of DOF according to this parameter) More...
|
|
void | removePoint () |
| remove one DOF in this topology (simply decrement the number of DOF) More...
|
|
void | removePoints (const Size nPoints) |
| remove a number of DOFs in this topology (simply decrease the number of DOF according to this parameter) More...
|
|
| SOFA_CLASS2 (TopologyContainer, BaseTopologyObject, BaseMeshTopology) |
|
void | init () override |
| Initialization method called at graph creation and modification, during top-down traversal. More...
|
|
const SeqEdges & | getEdges () override |
|
const SeqTriangles & | getTriangles () override |
|
const SeqQuads & | getQuads () override |
|
const SeqTetrahedra & | getTetrahedra () override |
|
const SeqHexahedra & | getHexahedra () override |
|
int | getRevision () const override |
| Get the current revision of this mesh. More...
|
|
const std::list< const TopologyChange * > & | getChangeList () const |
|
const std::list< const TopologyChange * > & | getStateChangeList () const |
|
const Data< std::list< const TopologyChange * > > & | getDataChangeList () const |
|
const Data< std::list< const TopologyChange * > > & | getDataStateChangeList () const |
|
virtual void | addTopologyChange (const TopologyChange *topologyChange) |
| Adds a TopologyChange to the list. More...
|
|
virtual void | addStateChange (const TopologyChange *topologyChange) |
| Adds a StateChange to the list. More...
|
|
std::list< const TopologyChange * >::const_iterator | beginChange () const override |
| Provides an iterator on the first element in the list of TopologyChange objects. More...
|
|
std::list< const TopologyChange * >::const_iterator | endChange () const override |
| Provides an iterator on the last element in the list of TopologyChange objects. More...
|
|
std::list< const TopologyChange * >::const_iterator | beginStateChange () const override |
| Provides an iterator on the first element in the list of StateChange objects. More...
|
|
std::list< const TopologyChange * >::const_iterator | endStateChange () const override |
| Provides an iterator on the last element in the list of StateChange objects. More...
|
|
virtual void | resetTopologyChangeList () |
| Free each Topology changes in the list and remove them from the list. More...
|
|
virtual void | resetStateChangeList () |
| Free each State changes in the list and remove them from the list. More...
|
|
const std::set< TopologyHandler * > & | getTopologyHandlerList (sofa::geometry::ElementType elementType) const |
|
bool | addTopologyHandler (TopologyHandler *_TopologyHandler, sofa::geometry::ElementType elementType) |
| Adds a TopologyHandler, linked to a certain type of Element. More...
|
|
void | removeTopologyHandler (TopologyHandler *_TopologyHandler, sofa::geometry::ElementType elementType) |
| Remove a TopologyHandler, linked to a certain type of Element. More...
|
|
void | resetTopologyHandlerList () |
| Free each Topology changes in the list and remove them from the list. More...
|
|
bool | insertInNode (objectmodel::BaseNode *node) override |
|
bool | removeInNode (objectmodel::BaseNode *node) override |
|
| SOFA_CLASS (BaseTopologyObject, core::objectmodel::BaseObject) |
|
bool | insertInNode (objectmodel::BaseNode *node) override |
|
bool | removeInNode (objectmodel::BaseNode *node) override |
|
| SOFA_CLASS (BaseObject, Base) |
|
virtual void | draw (const core::visual::VisualParams *) |
| Render internal data of this object, for debugging purposes. More...
|
|
virtual void | computeBBox (const core::ExecParams *, bool=false) |
|
void | setSrc (const std::string &v, std::vector< std::string > *attributeList=nullptr) |
| Sets a source Object and parses it to collect dependent Data. More...
|
|
void | setSrc (const std::string &v, const BaseObject *loader, std::vector< std::string > *attributeList=nullptr) |
|
Base * | findLinkDestClass (const BaseClass *destType, const std::string &path, const BaseLink *link) override |
|
virtual std::string | getPathName () const override |
| Return the full path name of this object. More...
|
|
SReal | getTime () const |
| Current time. More...
|
|
const BaseContext * | getContext () const |
|
BaseContext * | getContext () |
|
const BaseObject * | getMaster () const |
|
BaseObject * | getMaster () |
|
const VecSlaves & | getSlaves () const |
|
BaseObject * | getSlave (const std::string &name) const |
|
virtual void | addSlave (BaseObject::SPtr s) |
|
virtual void | removeSlave (BaseObject::SPtr s) |
|
virtual void | handleEvent (Event *) |
| Handle an event. More...
|
|
virtual void | handleTopologyChange () |
|
virtual void | handleTopologyChange (core::topology::Topology *t) |
|
void | parse (BaseObjectDescription *arg) override |
| Parse the given description to assign values to this object's fields and potentially other parameters. More...
|
|
virtual void | bwdInit () |
| Initialization method called at graph creation and modification, during bottom-up traversal. More...
|
|
void | updateInternal () |
| Update method called when variables (used to compute other internal variables) are modified. More...
|
|
virtual void | storeResetState () |
| Save the initial state for later uses in reset() More...
|
|
virtual void | reset () |
| Reset to initial state. More...
|
|
virtual void | cleanup () |
|
virtual const BaseClass * | getClass () const |
|
void | addDeprecatedAttribute (lifecycle::DeprecatedData *attribute) |
|
void | addUpdateCallback (const std::string &name, std::initializer_list< BaseData * > inputs, std::function< sofa::core::objectmodel::ComponentState(const DataTracker &)> function, std::initializer_list< BaseData * > outputs) |
|
void | addOutputsToCallback (const std::string &name, std::initializer_list< BaseData * > outputs) |
|
const std::string & | getName () const |
| Accessor to the object name. More...
|
|
void | setName (const std::string &n) |
| Set the name of this object. More...
|
|
void | setName (const std::string &n, int counter) |
| Set the name of this object, adding an integer counter. More...
|
|
std::string | getTypeName () const |
| Get the type name of this object (i.e. class and template types) More...
|
|
virtual std::string | getClassName () const |
| Get the class name of this object. More...
|
|
virtual std::string | getTemplateName () const final |
| Get the template type names (if any) used to instantiate this object. More...
|
|
std::string | getNameSpaceName () const |
| Get the template type names (if any) used to instantiate this object. More...
|
|
void | setDefinitionSourceFileName (const std::string &sourceFileName) |
| Set the source filename (where the component is implemented) More...
|
|
const std::string & | getDefinitionSourceFileName () const |
| Get the source filename (where the component is implemented) More...
|
|
void | setDefinitionSourceFilePos (const int) |
| Set the source location (where the component is implemented) More...
|
|
int | getDefinitionSourceFilePos () const |
| Get the source location (where the component is implemented) More...
|
|
void | setInstanciationSourceFileName (const std::string &sourceFileName) |
|
const std::string & | getInstanciationSourceFileName () const |
|
void | setInstanciationSourceFilePos (const int) |
|
int | getInstanciationSourceFilePos () const |
|
void | addMessage (const sofa::helper::logging::Message &m) const |
|
size_t | countLoggedMessages (sofa::helper::logging::Message::TypeSet t=sofa::helper::logging::Message::AnyTypes) const |
|
const std::deque< sofa::helper::logging::Message > & | getLoggedMessages () const |
|
const std::string | getLoggedMessagesAsString (sofa::helper::logging::Message::TypeSet t=sofa::helper::logging::Message::AnyTypes) const |
|
void | clearLoggedMessages () const |
|
bool | notMuted () const |
|
const sofa::core::objectmodel::TagSet & | getTags () const |
| Represents the subsets the object belongs to. More...
|
|
bool | hasTag (Tag t) const |
| Return true if the object belong to the given subset. More...
|
|
void | addTag (Tag t) |
| Add a subset qualification to the object. More...
|
|
void | removeTag (Tag t) |
| Remove a subset qualification to the object. More...
|
|
ComponentState | getComponentState () const |
|
bool | isComponentStateValid () const |
|
virtual bool | parseField (const std::string &attribute, const std::string &value) |
| Assign one field value (Data or Link) More...
|
|
virtual bool | hasField (const std::string &attribute) const |
| Check if a given Data field or Link exists. More...
|
|
void | parseFields (const std::list< std::string > &str) |
| Assign the field values stored in the given list of name + value pairs of strings. More...
|
|
virtual void | parseFields (const std::map< std::string, std::string * > &str) |
| Assign the field values stored in the given map of name -> value pairs. More...
|
|
void | writeDatas (std::map< std::string, std::string * > &str) |
| Write the current field values to the given map of name -> value pairs. More...
|
|
void | writeDatas (std::ostream &out, const std::string &separator=" ") |
|
BaseData * | findData (const std::string &name) const |
|
std::vector< BaseData * > | findGlobalField (const std::string &name) const |
| Find data fields given a name: several can be found as we look into the alias map. More...
|
|
BaseLink * | findLink (const std::string &name) const |
|
std::vector< BaseLink * > | findLinks (const std::string &name) const |
| Find link fields given a name: several can be found as we look into the alias map. More...
|
|
virtual void | updateLinks (bool logErrors=true) |
| Update pointers in case the pointed-to objects have appeared. More...
|
|
template<class T > |
BaseData::BaseInitData | initData (::sofa::core::objectmodel::Data< T > *field, const char *name, const char *help, ::sofa::core::objectmodel::BaseData::DataFlags dataflags) |
| Helper method used to initialize a data field containing a value of type T. More...
|
|
template<class T > |
BaseData::BaseInitData | initData (Data< T > *field, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
| Helper method used to initialize a data field containing a value of type T. More...
|
|
template<class T > |
Data< T >::InitData | initData (Data< T > *field, const T &value, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
| Helper method used to initialize a data field containing a value of type T. More...
|
|
void | addData (BaseData *f, const std::string &name) |
|
void | addData (BaseData *f) |
|
void | removeData (BaseData *f) |
| Remove a data field. More...
|
|
void | addAlias (BaseData *field, const char *alias) |
| Add an alias to a Data. More...
|
|
void | addLink (BaseLink *l) |
| Add a link. More...
|
|
void | addAlias (BaseLink *link, const char *alias) |
| Add an alias to a Link. More...
|
|
const VecData & | getDataFields () const |
| Accessor to the vector containing all the fields of this object. More...
|
|
const MapData & | getDataAliases () const |
| Accessor to the map containing all the aliases of this object. More...
|
|
const VecLink & | getLinks () const |
| Accessor to the vector containing all the fields of this object. More...
|
|
const MapLink & | getLinkAliases () const |
| Accessor to the map containing all the aliases of this object. More...
|
|
virtual bool | findDataLinkDest (BaseData *&ptr, const std::string &path, const BaseLink *link) |
|
template<class T > |
bool | findLinkDest (T *&ptr, const std::string &path, const BaseLink *link) |
|
| SOFA_ABSTRACT_CLASS (BaseMeshTopology, core::topology::Topology) |
|
virtual bool | load (const char *filename) |
|
virtual std::string | getFilename () const |
|
virtual EdgeID | getEdgeIndex (PointID v1, PointID v2) |
| Returns the index of the edge joining vertex v1 and vertex v2; returns InvalidID if no edge exists. More...
|
|
virtual QuadID | getQuadIndex (PointID v1, PointID v2, PointID v3, PointID v4) |
| Returns the index of the quad given four vertex indices; returns InvalidID if no quad exists. More...
|
|
virtual TetrahedronID | getTetrahedronIndex (PointID v1, PointID v2, PointID v3, PointID v4) |
| Returns the index of the tetrahedron given four vertex indices; returns InvalidID if no tetrahedron exists. More...
|
|
virtual HexahedronID | getHexahedronIndex (PointID v1, PointID v2, PointID v3, PointID v4, PointID v5, PointID v6, PointID v7, PointID v8) |
| Returns the index of the hexahedron given eight vertex indices; returns InvalidID if no hexahedron exists. More...
|
|
virtual int | getVertexIndexInQuad (const Quad &t, PointID vertexIndex) const |
|
virtual int | getEdgeIndexInQuad (const EdgesInQuad &t, EdgeID edgeIndex) const |
|
virtual int | getVertexIndexInTetrahedron (const Tetra &t, PointID vertexIndex) const |
|
virtual int | getEdgeIndexInTetrahedron (const EdgesInTetrahedron &t, EdgeID edgeIndex) const |
|
virtual int | getVertexIndexInHexahedron (const Hexa &t, PointID vertexIndex) const |
|
virtual int | getEdgeIndexInHexahedron (const EdgesInHexahedron &t, EdgeID edgeIndex) const |
|
virtual int | getQuadIndexInHexahedron (const QuadsInHexahedron &t, QuadID quadIndex) const |
|
virtual Edge | getLocalEdgesInTetrahedron (const PointID i) const |
| Returns for each index (between 0 and 5) the two vertex indices that are adjacent to that edge. More...
|
|
virtual Edge | getLocalEdgesInHexahedron (const PointID i) const |
| Returns for each index (between 0 and 12) the two vertex indices that are adjacent to that edge. More...
|
|
virtual Quad | getLocalQuadsInHexahedron (const PointID i) const |
| Returns for each index (between 0 and 6) the four vertices indices that are adjacent to that quad. More...
|
|
virtual Size | getNbEdges () |
|
virtual Size | getNbTriangles () |
|
virtual Size | getNbQuads () |
|
virtual Size | getNbTetrahedra () |
|
virtual Size | getNbHexahedra () |
|
virtual const Edge | getEdge (EdgeID i) |
|
virtual const Quad | getQuad (QuadID i) |
|
virtual const Hexa | getHexahedron (HexaID i) |
|
virtual Size | getNbTetras () |
|
virtual Size | getNbHexas () |
|
virtual Tetra | getTetra (TetraID i) |
|
virtual Hexa | getHexa (HexaID i) |
|
virtual const SeqTetrahedra & | getTetras () |
|
virtual const SeqHexahedra & | getHexas () |
|
virtual const EdgesAroundVertex & | getEdgesAroundVertex (PointID i) |
| Returns the set of edges adjacent to a given vertex. More...
|
|
virtual const EdgesInQuad & | getEdgesInQuad (QuadID i) |
| Returns the set of edges adjacent to a given quad. More...
|
|
virtual const EdgesInHexahedron & | getEdgesInHexahedron (HexaID i) |
| Returns the set of edges adjacent to a given hexahedron. More...
|
|
virtual const QuadsAroundVertex & | getQuadsAroundVertex (PointID i) |
| Returns the set of quads adjacent to a given vertex. More...
|
|
virtual const QuadsAroundEdge & | getQuadsAroundEdge (EdgeID i) |
| Returns the set of quads adjacent to a given edge. More...
|
|
virtual const QuadsInHexahedron & | getQuadsInHexahedron (HexaID i) |
| Returns the set of quads adjacent to a given hexahedron. More...
|
|
virtual const TetrahedraAroundVertex & | getTetrahedraAroundVertex (PointID i) |
| Returns the set of tetrahedra adjacent to a given vertex. More...
|
|
virtual const TetrahedraAroundEdge & | getTetrahedraAroundEdge (EdgeID i) |
| Returns the set of tetrahedra adjacent to a given edge. More...
|
|
virtual const HexahedraAroundVertex & | getHexahedraAroundVertex (PointID i) |
| Returns the set of hexahedra adjacent to a given vertex. More...
|
|
virtual const HexahedraAroundEdge & | getHexahedraAroundEdge (EdgeID i) |
| Returns the set of hexahedra adjacent to a given edge. More...
|
|
virtual const HexahedraAroundQuad & | getHexahedraAroundQuad (QuadID i) |
| Returns the set of hexahedra adjacent to a given quad. More...
|
|
virtual const VerticesAroundVertex | getVerticesAroundVertex (PointID i) |
| Returns the set of vertices adjacent to a given vertex (i.e. sharing an edge) More...
|
|
virtual const sofa::type::vector< Index > | getElementAroundElements (sofa::type::vector< Index > elems) |
| Returns the set of element indices adjacent to a given list of elements (i.e. sharing a link) More...
|
|
const SeqLines & | getLines () |
|
Size | getNbLines () |
|
Line | getLine (LineID i) |
|
bool | hasPos () const override |
|
SReal | getPX (Index) const override |
|
SReal | getPY (Index) const override |
|
SReal | getPZ (Index) const override |
|
void | addLine (Index a, Index b) |
|
virtual void | addQuad (Index a, Index b, Index c, Index d) |
|
virtual void | addHexa (Index a, Index b, Index c, Index d, Index e, Index f, Index g, Index h) |
|
| SOFA_CLASS (Topology, core::objectmodel::BaseObject) |
|
bool | insertInNode (objectmodel::BaseNode *node) override |
|
bool | removeInNode (objectmodel::BaseNode *node) override |
|