FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
FishSlice.hpp
1#ifndef __FISH_BONE_FISHSLICE_HPP
2#define __FISH_BONE_FISHSLICE_HPP
3
4#include "fishboneDllApi.h"
5
6#include <ocean/plankton/VObject.hpp>
7#include <ocean/shrimp/TimeDependent.hpp>
8
9#include <bundle/Slice.hpp>
10#include <bundle/GridSelector.hpp>
11#include "Fish.hpp"
12
13namespace Wizt
14{
15 using std::pair;
16
21template <>
22struct fishbone_API Fish<Fiber::Slice> : public virtual VConnectable
23 , public virtual Fish<double>
24 , public TimeDependent
25{
27 Fish(const string&time = "time", const string&timescale = "timescale");
28
30 ~Fish();
31
33 double getTime(const RefPtr<ValuePool>&VP, const RefPtr<Fiber::Bundle>&SpaceTime) const override;
34
36 findRecentGrid(Fiber::GridSelector&GS, const RefPtr<ValuePool>&VP) const
37 {
38 return GS.findMostRecentGrid( getTime(VP, GS.BundleSource() ) );
39 }
40};
41
42
43} // namespace Wizt
44
45#endif /* __FISH_BONE_FISHSLICE_HPP */
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
Context information to select a grid from within a bundle.
Definition GridSelector.hpp:26
Info< Grid > findMostRecentGrid(const Fiber::BundlePtr &theSpacetime, double time) const
Return the time, slice and grid that is most recent to the given time for the selected grid.
Definition GridSelector.hpp:153
const Fiber::BundlePtr & BundleSource() const
Provide the original bundle of from where the Grid was selected.
Definition GridSelector.hpp:109
Information per time slice, mainly a set of Grid objects that are accessed via GridID objects.
Definition Slice.hpp:36
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
The information as returned by a query for Grids.
Definition GridInfo.hpp:21