FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
HDF5BindingIndicator.hpp
1#ifndef __FIBER_HDF5BINDINGINDICATOR_HPP
2#define __FIBER_HDF5BINDINGINDICATOR_HPP
3
4#include <bundle/Bundle.hpp>
5#include "FiberIOHDF5DllApi.h"
6
7namespace Fiber
8{
9
13{
15public:
17 : myBP(BP)
18 {}
19
21
22 bool OpenFile(const string&fname) override
23 {
24 if (myBP) return myBP->OpenFile(fname);
25 return true;
26 }
27
31 bool CreateSlice(double t) override
32 {
33 if (myBP) return myBP->CreateSlice(t);
34 return true;
35 }
36
40 bool CreateGrid(const RefPtr<GridID>&gname, Grid&G, double t) override
41 {
42 if (myBP) return myBP->CreateGrid(gname,G,t);
43 return true;
44 }
45
46
50 bool CreateField(const RefPtr<GridID>&gname, Grid&G, double t, const string&fieldname) override
51 {
52 if (myBP) return myBP->CreateField(gname,G,t, fieldname);
53 return true;
54 }
55};
56
57
58} // namespace Fiber
59
60
61#endif // __FIBER_HDF5BINDINGINDICATOR_HPP
62
Loading progress callback functor.
Definition Bundle.hpp:132
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
A Grid is a set of Skeleton objects, each of them accessed via some unique SkeletonID object.
Definition Grid.hpp:60
Definition HDF5BindingIndicator.hpp:13
bool OpenFile(const string &fname) override
Callback when opening a file; if return value is false, the load process is terminated.
Definition HDF5BindingIndicator.hpp:22
bool CreateSlice(double t) override
Callback when a new time slice is created; if return value is false, the load process is terminated.
Definition HDF5BindingIndicator.hpp:31
bool CreateGrid(const RefPtr< GridID > &gname, Grid &G, double t) override
Callback when a new Grid object is created; if return value is false, the load process is terminated.
Definition HDF5BindingIndicator.hpp:40
bool CreateField(const RefPtr< GridID > &gname, Grid &G, double t, const string &fieldname) override
Callback when a new field object is created on a Grid; if return value is false, the load process is ...
Definition HDF5BindingIndicator.hpp:50
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2