FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
FishBundle.hpp
1#ifndef __FISH_BONE_FISHBUNDLE_HPP
2#define __FISH_BONE_FISHBUNDLE_HPP
3
4#include "fishboneDllApi.h"
5
6#include <ocean/plankton/VObject.hpp>
7#include <ocean/shrimp/Range.hpp>
8
9#include <fiber/bundle/Bundle.hpp>
10#include "Fish.hpp"
11
12namespace Wizt
13{
14 using std::pair;
15
16
40template <>
41struct fishbone_API Fish<Fiber::Bundle> : public virtual VSaveable
42 , public Fish<VObject>
43{
44 BundleSlot MySpacetime;
45
46public:
47
53 {
54 return MySpacetime;
55 }
56
61 {
62 return MySpacetime << VP << BP;
63 }
64
68 Fish(const string&bundlename = "spacetime", const Fiber::BundlePtr&BP = Fiber::BundlePtr(), int EL = 5);
69
73 Fish(int EL, const string&bundlename = "spacetime", const Fiber::BundlePtr&BP = Fiber::BundlePtr());
74
76 ~Fish();
77
78static void addFiberSaver(VSaveable*what, const RefPtr<VParameter>&VP);
79
80};
81
82} // namespace Wizt
83
84#endif /* __FISH_BONE_FISH_HPP */
Convenience class that implements a pointer to a Bundle object but adds some useful member funtions t...
Definition Bundle.hpp:779
The main entity holding all information.
Definition Bundle.hpp:173
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
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 ...
bool setBundlePtr(const RefPtr< ValuePool > &VP, const Fiber::BundlePtr &BP)
Set the bundle pointer stored here.
Definition FishBundle.hpp:60
BundleSlot & BundleSpacetimeSlot()
Allow writeable access to the spacetime (fiber bundle) slot contained in this Fish scale.
Definition FishBundle.hpp:52