|
Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
[← Previous Example] [Next Example → 033-CellTensor.cpp ]. More...
#include <fiber/bundle/Bundle.hpp>#include <fiber/finit/FinitAPI.h>#include <fiber/field/ArrayRef.hpp>#include <eagle/PhysicalSpace.hpp>#include <eagle/ColorSpace.hpp>#include <fiber/fiberop/Range.hpp>#include <fiber/baseop/ExpandBBox.hpp>#include <memcore/Timer.hpp>#include <memcore/Console.hpp>Typedefs | |
| using | rgb16 = Eagle::rgb16_t |
Functions | |
| int | main () |
| Bind a bundle to a file and add data to it later. | |
[← Previous Example] [Next Example → 033-CellTensor.cpp ].
| int main | ( | ) |
Bind a bundle to a file and add data to it later.
Demonstrating how to bind a Bundle to a file, then adding data to it later on. In contrast, when saving a Bundle to a file then data are added first and saved in the end. The workflow with the binding feature is just other way round - bind first, then add data.
The actual dataset is a set of points with a scalar field on them.
References Fiber::ComputeBBox(), and Fiber::DataRange< Type >::retrieve().