Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Wizt::Vitreous::FragmentRenderer Struct Reference
Inheritance diagram for Wizt::Vitreous::FragmentRenderer:
Wizt::SortedFragmentIterator Fiber::FragmentIterator

Public Member Functions

 FragmentRenderer (const Vitreous &myVR, VGLRenderContext &C, LastSlices_t &LS)
bool apply (const SpatialFragment &VF) override
 The virtual apply function, which would perform some rendering of the current spatial fragment.
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.
Public Member Functions inherited from Wizt::SortedFragmentIterator
RefPtr< FieldCoords () const
 SortedFragmentIterator (const VCamera &Cam, const RefPtr< Representation > &theRepresentation)
int emitFragments ()
 Iterate over all currently stored field fragments.
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

int NumberOfSlices
const VitreousVR
VGLRenderContextContext
LastSlices_t & LastSlices
bool MaximumIntensityProjection
RefPtr< GLProgramMyProgram
int done
double CutDistance
bool CutFront
int Left
int Right
int Sub
Public Attributes inherited from Wizt::SortedFragmentIterator
const VCameramyCamera
RefPtr< RepresentationmyRepresentation

Additional Inherited Members

Protected Types inherited from Wizt::SortedFragmentIterator
typedef multimap< double, SpatialFragmentFragmentMap_t
Protected Member Functions inherited from Wizt::SortedFragmentIterator
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 inherited from Wizt::SortedFragmentIterator
FragmentMap_t FragmentMap

Member Function Documentation

◆ apply() [1/2]

bool Wizt::SortedFragmentIterator::apply ( const RefPtr< FragmentID > & fid,
const RefPtr< CreativeArrayBase > & DataCreator )
overridevirtual

The fragment iterator's callback function, used to determine the spatial location of the fragment and collect them in the FragmentMap.

Implements Fiber::FragmentIterator.

◆ apply() [2/2]

bool Wizt::Vitreous::FragmentRenderer::apply ( const SpatialFragment & VF)
overridevirtual

The virtual apply function, which would perform some rendering of the current spatial fragment.

Implements Wizt::SortedFragmentIterator.

References Fiber::renderVolume().