|
| template<class TElem > |
| geometry_traits< TElem >::iterator | begin () |
| |
| iterator | begin () |
| |
| template<class TElem > |
| geometry_traits< TElem >::const_iterator | begin () const |
| |
| const_iterator | begin () const |
| |
| template<class TElem > |
| geometry_traits< TElem >::iterator | begin (size_t) |
| | calls begin<TElem>();
|
| |
| template<class TElem > |
| geometry_traits< TElem >::iterator | end () |
| |
| iterator | end () |
| |
| template<class TElem > |
| geometry_traits< TElem >::const_iterator | end () const |
| |
| const_iterator | end () const |
| |
| template<class TElem > |
| geometry_traits< TElem >::iterator | end (size_t) |
| | calls end<TElem>();
|
| |
| | TElemSelector () |
| |
| | TElemSelector (Grid &grid) |
| |
| void | assign_grid (Grid &grid) |
| |
| void | assign_grid (Grid *grid) |
| |
| template<class TElem > |
| TElem * | back () |
| | returns the last selected element of the given type.
|
| |
| template<class TElem > |
| geometry_traits< TElem >::iterator | begin () |
| |
| template<class TElem > |
| geometry_traits< TElem >::const_iterator | begin () const |
| |
| template<class TElem > |
| geometry_traits< TElem >::iterator | begin (size_t) |
| | calls begin<TElem>();
|
| |
| virtual void | clear () |
| |
| template<class TElem > |
| void | clear () |
| |
| virtual bool | contains_edges () const |
| | returns true if the selector contains edges
|
| |
| virtual bool | contains_faces () const |
| | returns true if the selector contains faces
|
| |
| virtual bool | contains_vertices () const |
| | returns true if the selector contains vertices
|
| |
| virtual bool | contains_volumes () const |
| | returns true if the selector contains volumes
|
| |
| void | disable_element_support (uint shElements) |
| | disable support for element-types.
|
| |
| EdgeIterator | edges_begin () |
| |
| EdgeIterator | edges_end () |
| |
| bool | empty () const |
| |
| template<class TElem > |
| bool | empty () const |
| |
| bool | empty (size_t) const |
| | calls empty();
|
| |
| template<class TElem > |
| bool | empty (size_t) const |
| |
| void | enable_element_support (uint shElements) |
| | enable support for element-types. Does not invalidate previous settings.
|
| |
| template<class TElem > |
| geometry_traits< TElem >::iterator | end () |
| |
| template<class TElem > |
| geometry_traits< TElem >::const_iterator | end () const |
| |
| template<class TElem > |
| geometry_traits< TElem >::iterator | end (size_t) |
| | calls end<TElem>();
|
| |
| FaceIterator | faces_begin () |
| |
| FaceIterator | faces_end () |
| |
| template<class TElem > |
| TElem * | front () |
| | returns the first selected element of the given type.
|
| |
| virtual GridObjectCollection | get_grid_objects () const |
| | returns a geometric object collection, containing all selected objects
|
| |
| virtual void | grid_to_be_destroyed (Grid *grid) |
| |
| template<class TElem > |
| size_t | num () const |
| |
| size_t | num () const |
| |
| uint | num (size_t) const |
| | calls num();
|
| |
| template<class TElem > |
| size_t | num (size_t) const |
| | calls num<TElem>();
|
| |
| size_t | num_levels () const |
| | always returns 1
|
| |
| | Selector (Grid &grid, uint supportedElements=SE_ALL) |
| |
| | Selector (uint supportedElements=SE_ALL) |
| |
| void | set_supported_elements (uint shElements) |
| | set the type of elements that shall be handled by the Selector.
|
| |
| VertexIterator | vertices_begin () |
| |
| VertexIterator | vertices_end () |
| |
| VolumeIterator | volumes_begin () |
| |
| VolumeIterator | volumes_end () |
| |
| virtual | ~Selector () |
| |
| bool | autoselection_enabled () |
| |
| virtual void | broadcast_selection_states (bool deselect=false, bool includeGhosts=false) |
| | broadcasts the current selection
|
| |
| void | deselect (GridObject *elem) |
| |
| template<class TElem > |
| void | deselect (TElem *elem) |
| |
| template<class TIterator > |
| void | deselect (TIterator iterBegin, TIterator iterEnd) |
| |
| virtual void | edge_created (Grid *grid, Edge *e, GridObject *pParent=NULL, bool replacesParent=false) |
| | Notified whenever a new element of the given type is created in the given grid.
|
| |
| virtual void | edge_to_be_erased (Grid *grid, Edge *e, Edge *replacedBy=NULL) |
| | Notified whenever an element of the given type is erased from the given grid.
|
| |
| virtual void | edges_to_be_merged (Grid *grid, Edge *target, Edge *elem1, Edge *elem2) |
| | Notified when two elements of the same type are going to be merged.
|
| |
| bool | elements_are_supported (uint shElements) const |
| | returns true if the given element-types are supported.
|
| |
| virtual void | elements_to_be_cleared (Grid *grid) |
| |
| void | enable_autoselection (bool bEnable) |
| |
| void | enable_selection_inheritance (bool bEnable) |
| |
| void | enable_strict_inheritance (bool bEnable) |
| |
| virtual void | face_created (Grid *grid, Face *f, GridObject *pParent=NULL, bool replacesParent=false) |
| | Notified whenever a new element of the given type is created in the given grid.
|
| |
| virtual void | face_to_be_erased (Grid *grid, Face *f, Face *replacedBy=NULL) |
| | Notified whenever an element of the given type is erased from the given grid.
|
| |
| virtual void | faces_to_be_merged (Grid *grid, Face *target, Face *elem1, Face *elem2) |
| | Notified when two elements of the same type are going to be merged.
|
| |
| template<class TElem > |
| byte | get_mark (TElem *elem) const |
| | returns the selection state of the specified elelent
|
| |
| Grid * | grid () const |
| |
| template<class TElem > |
| bool | is_selected (TElem *elem) const |
| | returns true if an element is selected
|
| |
| | ISelector (Grid &grid, uint supportedElements=SE_ALL) |
| |
| | ISelector (uint supportedElements=SE_ALL) |
| |
| bool | selection_inheritance_enabled () |
| |
| bool | strict_inheritance_enabled () |
| |
| template<class TElem > |
| void | unmark (TElem *elem) |
| | deselects an element
|
| |
| virtual void | vertex_created (Grid *grid, Vertex *vrt, GridObject *pParent=NULL, bool replacesParent=false) |
| | Notified whenever a new element of the given type is created in the given grid.
|
| |
| virtual void | vertex_to_be_erased (Grid *grid, Vertex *vrt, Vertex *replacedBy=NULL) |
| | Notified whenever an element of the given type is erased from the given grid.
|
| |
| virtual void | vertices_to_be_merged (Grid *grid, Vertex *target, Vertex *elem1, Vertex *elem2) |
| | Notified when two elements of the same type are going to be merged.
|
| |
| virtual void | volume_created (Grid *grid, Volume *vol, GridObject *pParent=NULL, bool replacesParent=false) |
| | Notified whenever a new element of the given type is created in the given grid.
|
| |
| virtual void | volume_to_be_erased (Grid *grid, Volume *vol, Volume *replacedBy=NULL) |
| | Notified whenever an element of the given type is erased from the given grid.
|
| |
| virtual void | volumes_to_be_merged (Grid *grid, Volume *target, Volume *elem1, Volume *elem2) |
| | Notified when two elements of the same type are going to be merged.
|
| |
| virtual | ~ISelector () |
| |
| void | select (GridObject *elem, byte status) |
| | selects an element
|
| |
| void | select (GridObject *elem) |
| | selects an element
|
| |
| template<class TElem > |
| void | select (TElem *elem, byte status) |
| | selects an element
|
| |
| template<class TElem > |
| void | select (TElem *elem) |
| | selects an element
|
| |
| template<class TIterator > |
| void | select (TIterator iterBegin, TIterator iterEnd, byte status=1) |
| | selects an element
|
| |
| template<class TElem > |
| void | mark (TElem *elem) |
| | selects an element
|
| |
| template<class TElem > |
| void | mark (TElem *elem, byte status) |
| | selects an element
|
| |
| byte | get_selection_status (GridObject *elem) const |
| | returns the selection state of the specified elelent
|
| |
| byte | get_selection_status (Vertex *vrt) const |
| | returns the selection state of the specified elelent
|
| |
| byte | get_selection_status (Edge *edge) const |
| | returns the selection state of the specified elelent
|
| |
| byte | get_selection_status (Face *face) const |
| | returns the selection state of the specified elelent
|
| |
| byte | get_selection_status (Volume *vol) const |
| | returns the selection state of the specified elelent
|
| |
| virtual | ~GridObserver () |
| |
|
| typedef Grid::traits< Edge >::AttachedElementList | AttachedEdgeList |
| |
| typedef Grid::traits< Face >::AttachedElementList | AttachedFaceList |
| |
| typedef Grid::traits< Vertex >::AttachedElementList | AttachedVertexList |
| |
| typedef Grid::traits< Volume >::AttachedElementList | AttachedVolumeList |
| |
| typedef Grid::traits< Edge >::SectionContainer | EdgeSectionContainer |
| |
| typedef Grid::traits< Face >::SectionContainer | FaceSectionContainer |
| |
| typedef Grid::traits< Vertex >::SectionContainer | VertexSectionContainer |
| |
| typedef Grid::traits< Volume >::SectionContainer | VolumeSectionContainer |
| |
| typedef Grid::traits< Edge >::AttachedElementList | AttachedEdgeList |
| |
| typedef Grid::traits< Face >::AttachedElementList | AttachedFaceList |
| |
| typedef Grid::traits< Vertex >::AttachedElementList | AttachedVertexList |
| |
| typedef Grid::traits< Volume >::AttachedElementList | AttachedVolumeList |
| |
| typedef Attachment< unsigned char > | AUChar |
| |
| typedef Grid::traits< Edge >::SectionContainer | EdgeSectionContainer |
| |
| typedef Grid::traits< Face >::SectionContainer | FaceSectionContainer |
| |
| typedef Grid::traits< Vertex >::SectionContainer | VertexSectionContainer |
| |
| typedef Grid::traits< Volume >::SectionContainer | VolumeSectionContainer |
| |
| virtual void | add_to_list (Edge *elem) |
| |
| virtual void | add_to_list (Face *elem) |
| |
| virtual void | add_to_list (Vertex *elem) |
| |
| virtual void | add_to_list (Volume *elem) |
| |
| void | clear_lists () |
| |
| virtual void | erase_from_list (Edge *elem) |
| |
| virtual void | erase_from_list (Face *elem) |
| |
| virtual void | erase_from_list (Vertex *elem) |
| |
| virtual void | erase_from_list (Volume *elem) |
| |
| template<class TElem > |
| int | get_section_index () const |
| |
| template<class TElem > |
| Grid::traits< TElem >::SectionContainer & | section_container () |
| | returns the section container for the given type, subset and level
|
| |
| template<class TElem > |
| const Grid::traits< TElem >::SectionContainer & | section_container () const |
| | returns the const section container for the given type, subset and level
|
| |
| VertexSectionContainer::iterator | get_iterator (Vertex *o) |
| | returns the iterator at which the given element lies in the section container
|
| |
| EdgeSectionContainer::iterator | get_iterator (Edge *o) |
| | returns the iterator at which the given element lies in the section container
|
| |
| FaceSectionContainer::iterator | get_iterator (Face *o) |
| | returns the iterator at which the given element lies in the section container
|
| |
| VolumeSectionContainer::iterator | get_iterator (Volume *o) |
| | returns the iterator at which the given element lies in the section container
|
| |
| void | disable_element_support (uint shElements) |
| | disable support for element-types.
|
| |
| template<class TElem > |
| void | elems_to_be_merged (Grid *grid, TElem *target, TElem *elem1, TElem *elem2) |
| | helper for GridObserver callbacks.
|
| |
| void | enable_element_support (uint shElements) |
| | enable support for element-types. Does not invalidate previous settings.
|
| |
| void | mark_deselected (Edge *elem) |
| |
| void | mark_deselected (Face *elem) |
| |
| void | mark_deselected (Vertex *elem) |
| |
| void | mark_deselected (Volume *elem) |
| |
| void | mark_selected (Edge *elem, byte status) |
| |
| void | mark_selected (Face *elem, byte status) |
| |
| void | mark_selected (Vertex *elem, byte status) |
| |
| void | mark_selected (Volume *elem, byte status) |
| |
| void | set_grid (Grid *grid) |
| | performs grid registration / deregistration and initialisation of the observer.
|
| |
| void | set_supported_elements (uint shElements) |
| | set the type of elements that shall be handled by the SubsetHandler.
|
| |
| EdgeSectionContainer | m_edges |
| |
| FaceSectionContainer | m_faces |
| |
| VertexSectionContainer | m_vertices |
| | Copy Constructor not yet implemented!
|
| |
| VolumeSectionContainer | m_volumes |
| |
| Grid::AttachmentAccessor< Edge, AUChar > | m_aaSelEDGE |
| |
| Grid::AttachmentAccessor< Face, AUChar > | m_aaSelFACE |
| |
| Grid::AttachmentAccessor< Volume, AUChar > | m_aaSelVOL |
| |
| Grid::AttachmentAccessor< Vertex, AUChar > | m_aaSelVRT |
| |
| AUChar | m_aSelected |
| |
| bool | m_bAutoselectionEnabled |
| |
| bool | m_bSelectionInheritanceEnabled |
| |
| bool | m_bStrictInheritanceEnabled |
| |
| pcl::InterfaceCommunicator< EdgeLayout > | m_icomEDGE |
| |
| pcl::InterfaceCommunicator< FaceLayout > | m_icomFACE |
| |
| pcl::InterfaceCommunicator< VolumeLayout > | m_icomVOL |
| |
| pcl::InterfaceCommunicator< VertexLayout > | m_icomVRT |
| |
| Grid * | m_pGrid |
| |
| uint | m_supportedElements |
| |
template<class TBaseElem>
class ug::TElemSelector< TBaseElem >
specialization of ISelector for a subset of the elements in a grid of class Grid.
A selector is a useful class, that allows the user to mark elements of a grid as selected or deselected. The selection status is maintained even if new elements are created or old ones deleted. Features like autoselection and selection_inheritance allow users to follow the creation and removal of elements in all kind of algorithms.
Please note that the selector has to be registered at a grid before it may be used. You may register it using the constructor or the method assign_grid.
This is a specialization of ISelector for the class Grid that only works on one element type (either Vertex, Edge, Face or Volume). Normally you will use the typedefs VertexSelector, EdgeSelector, FaceSelector or VolumeSelector instead of this class.
The following methods are the most used:
- select, deselect, is_selected (see ISelector)
- begin, end, num, clear.
You may specify the element-type on which begin, end, num and clear operate via a template parameter.
iter != fsel.end(i); ++iter){
}
Manages the elements of a grid and their interconnection.
Definition grid.h:132
the most simple form of a face
Definition grid_objects_2d.h:174
TElemSelector< Face > FaceSelector
Definition selector_grid_elem.h:144
ElementStorage< Face >::SectionContainer::iterator FaceIterator
Definition grid_base_object_traits.h:79