33 #ifndef __H__LIBGRID__SELECTOR_INTERFACE_IMPL__
34 #define __H__LIBGRID__SELECTOR_INTERFACE_IMPL__
44 template <
class TElem>
72 LOG(
" ERROR: Bad Element Type in ISelector::select. Aborting.\n");
78 template <
class TIterator>
81 while(iterBegin != iterEnd){
82 select(*iterBegin, status);
88 template <
class TElem>
114 template <
class TIterator>
117 while(iterBegin != iterEnd){
Base-class for edges.
Definition: grid_base_objects.h:397
Faces are 2-dimensional objects.
Definition: grid_base_objects.h:510
The base class for all geometric objects, such as vertices, edges, faces, volumes,...
Definition: grid_base_objects.h:157
virtual int base_object_id() const =0
bool is_selected(TElem *elem) const
returns true if an element is selected
Definition: selector_interface.h:215
virtual void add_to_list(Vertex *elem)=0
virtual void erase_from_list(Vertex *elem)=0
void select(GridObject *elem, byte status)
selects an element
Definition: selector_interface_impl.hpp:56
byte get_selection_status(GridObject *elem) const
returns the selection state of the specified elelent
Definition: selector_interface_impl.hpp:125
bool elements_are_supported(uint shElements) const
returns true if the given element-types are supported.
Definition: selector_interface_impl.hpp:39
void mark_deselected(Vertex *elem)
Definition: selector_interface.h:368
void mark_selected(Vertex *elem, byte status)
Definition: selector_interface.h:363
uint m_supportedElements
Definition: selector_interface.h:389
void deselect(GridObject *elem)
Definition: selector_interface_impl.hpp:96
Base-class for all vertex-types.
Definition: grid_base_objects.h:231
Volumes are 3-dimensional objects.
Definition: grid_base_objects.h:754
#define LOG(msg)
Definition: common.h:60
unsigned int uint
Definition: types.h:114
@ VOLUME
Definition: grid_base_objects.h:63
@ VERTEX
Definition: grid_base_objects.h:60
@ EDGE
Definition: grid_base_objects.h:61
@ FACE
Definition: grid_base_objects.h:62
T value_type
Definition: sparsematrix_interface.h:2