ug4
|
the generic attachment-accessor for access to grids attachment pipes. More...
#include <grid.h>
Public Member Functions | |
bool | access (Grid &grid, TAttachment &a) |
AttachmentAccessor () | |
AttachmentAccessor (const AttachmentAccessor &aa) | |
AttachmentAccessor (Grid &grid, TAttachment &a) | |
AttachmentAccessor (Grid &grid, TAttachment &a, bool autoAttach) | |
Public Member Functions inherited from ug::AttachmentAccessor< TElem::grid_base_object *, TAttachment, traits< TElem >::ElementStorage > | |
bool | access (attachment_pipe &attachmentPipe, TAttachment &attachment) |
AttachmentAccessor () | |
AttachmentAccessor (AttachmentPipe< TElem, traits< TElem >::ElementStorage > &attachmentPipe, TAttachment &attachment) | |
AttachmentAccessor (const AttachmentAccessor &aa) | |
size_t | element_data_index (typename atraits::ConstElemPtr elem) |
returns the data index of the given element regarding the associated container. More... | |
void | invalidate () |
attachment_value_traits< ValueType >::reference | operator[] (typename atraits::ConstElemPtr elem) |
attachment_value_traits< ValueType >::const_reference | operator[] (typename atraits::ConstElemPtr elem) const |
ValueType * | raw_data () |
returns the raw pointer to the data of the associated container More... | |
void | swap (AttachmentAccessor< TElem, TAttachment, traits< TElem >::ElementStorage > &acc) |
calls swap on associated containers More... | |
bool | valid () const |
Additional Inherited Members | |
Public Types inherited from ug::AttachmentAccessor< TElem::grid_base_object *, TAttachment, traits< TElem >::ElementStorage > | |
typedef attachment_traits< TElem, traits< TElem >::ElementStorage > | atraits |
typedef TAttachment | attachment |
typedef AttachmentPipe< TElem, traits< TElem >::ElementStorage > | attachment_pipe |
typedef TAttachment::ContainerType | ContainerType |
typedef TElem | element |
typedef traits< TElem >::ElementStorage | ElemHandler |
typedef TAttachment::ValueType | ValueType |
Protected Attributes inherited from ug::AttachmentAccessor< TElem::grid_base_object *, TAttachment, traits< TElem >::ElementStorage > | |
ContainerType * | m_pContainer |
traits< TElem >::ElementStorage * | m_pHandler |
the generic attachment-accessor for access to grids attachment pipes.
ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor | ( | ) |
ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor | ( | const AttachmentAccessor< TElem, TAttachment > & | aa | ) |
ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor | ( | Grid & | grid, |
TAttachment & | a | ||
) |
ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor | ( | Grid & | grid, |
TAttachment & | a, | ||
bool | autoAttach | ||
) |
|
inline |
References ug::Grid::get_attachment_pipe().
Referenced by ug::MultiElementAttachmentAccessor< TAttachment >::access(), ug::RasterLayersProjector::add_attachments(), ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor(), ug::CreateEdgeSplitGeometry(), ug::OverlyingSubsetFinder< TDomain >::debug(), ug::Domain< d, TGrid, TSubsetHandler >::Domain(), ug::ExportGridToSMESH(), ug::ExportGridToTETGEN(), ug::ExtrudeLayers(), ug::ExtrudeLayersMixed(), ug::OverlyingSubsetFinder< TDomain >::findOverlyingSubset(), ug::Geometry< dim, attachmentDim >::Geometry(), ug::ImportGridFromTETGEN(), ug::DoFIndexStorage::init_attachments(), ug::LoadGridFromSTL(), ug::LoadMarkerPointsFromFile(), ug::NTreeGridData< world_dim >::NTreeGridData(), ug::OverlyingSubsetFinder< TDomain >::OverlyingSubsetFinder(), ug::VTKOutput< TDim >::print(), ug::VTKOutput< TDim >::print_subset(), ug::VTKOutput< TDim >::print_subsets(), ug::Refine(), ug::SeparateFaceSubsetsByNormal(), and ug::AnisotropicBalanceWeights< dim >::set_grid().