|
FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
A map that associates Representer objects with Representation instances. More...
#include <RepresentationMap.hpp>
Classes | |
| class | ConstIterator |
| Constant Iterator base class to inspect all representations in a given RepresentationMap. More... | |
| class | Iterator |
| Mutable Iterator base class to inspect all representations in a given RepresentationMap. More... | |
Public Member Functions | |
| void | clear () |
| RefPtrRepresentation_t | makeRepresentation (const Representer &D) |
| Representation & | operator[] (const Representer &D) |
| Retrieve (and possibly create) a Representation. | |
| Representation & | operator[] (const BaseSpace &D) |
| RefPtrRepresentation_t | findRepresentation (const Representer &D) const |
| Query a representation. | |
| RefPtrRepresentation_t | findRepresentation (const BaseSpace &D) |
| RefPtrRepresentation_t | operator() (const Representer &D) const |
| Use operator () to query a representation. | |
| RefPtrRepresentation_t | operator() (const BaseSpace &D) |
| int | DataRank () const |
| RefPtr< SizeInterface > | getSize () const |
| Get the data dimensionality of this Skeleton, which is taken from the positions field of the first representation, whatever it is. | |
| RefPtr< SizeInterface > | getFragmentSize (const RefPtr< FragmentID > &Fid) const |
| int | size () const |
| Return the number of representations available here. | |
| int | getNumberOfRepresentations () const |
| Return the number of representations available here. | |
| RefPtr< FragmentIDCollection > | getFragmentIDCollection () const override |
| Get the FragmentIDCollection that is responsible for all fields of this Representation. | |
| std::tuple< Representer, RefPtrRepresentation_t, RefPtr< FragmentIDCollection > > | getFragmentIDCollectionRepresentation () const |
| RefPtr< FragmentID > | findFragmentIDByName (const std::string &FragmentName) const |
| DynamicSize | getFragmentLayout () const |
| int | iterate (ConstIterator &) const |
| Inspect all elements of this map. | |
| int | iterate (Iterator &) |
| Iterate over all elements of this map. | |
| int | iterate (const std::function< bool(const Representer &, const Representation &)> &F) const |
| Immutable iteration via std::function. | |
| int | iterate (const std::function< bool(const Representer &, Representation &)> &F) |
| Mutable iteration via std::function. | |
| template<class Functor > | |
| int | iterate_representations (const Functor &F) const |
| template<class Functor > | |
| int | iterate_all (const Functor &F) const |
| int | getMemoryUsage (memsize_t &UsedMemory, memsize_t &WantedMemory) const |
| Get memory usage. | |
| void | Speak (int indent=0, int maxindent=-1) const |
| Informative debug message. | |
| string | xml () const |
A map that associates Representer objects with Representation instances.
|
overridevirtual |
Get the FragmentIDCollection that is responsible for all fields of this Representation.
This will be the FragmentIDCollection of the first Representation that has one.
Implements Fiber::FragmentIDCollectionProvider.
Reimplemented in Fiber::Skeleton.
References std::map< typename _Key, typename _Tp, typename _Compare, typename _Alloc >::begin(), and std::map< typename _Key, typename _Tp, typename _Compare, typename _Alloc >::end().
Iterate over everything contained here.
Syntax using a Lambda function:
References apply(), iterate(), and Fiber::Representation::iterate_all().
Referenced by Fiber::Grid::iterate_all().
Iterate over all representations using a functor or
lambda function:
References apply().