|
FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
An iterator over field fragments that traverses the fragments in back-to-front order as seen from the given Camera. More...
#include <SortedFragmentIterator.hpp>
Classes | |
| struct | SpatialFragment |
Public Member Functions | |
| RefPtr< Field > | Coords () const |
| SortedFragmentIterator (const VCamera &Cam, const RefPtr< Representation > &theRepresentation) | |
| int | emitFragments () |
| Iterate over all currently stored field fragments. | |
| virtual bool | apply (const SpatialFragment &VF)=0 |
| The virtual apply function, which would perform some rendering of the current spatial fragment. | |
| void | emit (const RefPtr< Field > &theField) |
| Iterate over the fragments of the field and call the virtual apply() function for each fragment, ordered back to front as seen from the camera. | |
Public Member Functions inherited from Fiber::FragmentIterator | |
| virtual | ~FragmentIterator () |
| Destructor (virtual) | |
Public Attributes | |
| const VCamera & | myCamera |
| RefPtr< Representation > | myRepresentation |
Protected Types | |
| typedef multimap< double, SpatialFragment > | FragmentMap_t |
Protected Member Functions | |
| bool | apply (const RefPtr< FragmentID > &fid, const RefPtr< CreativeArrayBase > &DataCreator) override |
| The fragment iterator's callback function, used to determine the spatial location of the fragment and collect them in the FragmentMap. | |
Protected Attributes | |
| FragmentMap_t | FragmentMap |
An iterator over field fragments that traverses the fragments in back-to-front order as seen from the given Camera.
|
overrideprotectedvirtual |
The fragment iterator's callback function, used to determine the spatial location of the fragment and collect them in the FragmentMap.
Implements Fiber::FragmentIterator.
Referenced by emitFragments().
|
pure virtual |
The virtual apply function, which would perform some rendering of the current spatial fragment.
Implemented in Wizt::Vitreous::FragmentRenderer, and Wizt::Vitreous::FragmentRenderer.