FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
SlicerBase.hpp
1#ifndef __FIBEROPERATIONS_SLICERBASE_HPP
2#define __FIBEROPERATIONS_SLICERBASE_HPP
3
4
5#include "RegularCoordinateSlice.hpp"
6
7namespace Fiber
8{
9
13struct gridop_API SlicerBase : public ReferenceBase<SlicerBase>
15
16{
17 const double myCoordinateValue;
18
21
24
25 // A Fragmentselection of the field fragments to be sliced
26 RefPtr<FragmentSelector> myFragmentSelector;
27
31 , myCoordinateValue( theCoordinateValue )
32 {
33 setup(o);
34 }
35
36 ~SlicerBase();
37
38 void setFragmentSelector( const RefPtr<FragmentSelector>&theFragmentSelector )
39 {
40 myFragmentSelector = theFragmentSelector;
41 }
42
50 virtual void addSlices(const RefPtr<Field>&InputCoordinates,
51 const RefPtr<Field>&InputData) = 0;
52
53
54 /*
55 todo: iterate over a bundle's refinementlevels
56 at different times...
57 */
58};
59
60
61} // namespace Fiber
62
63#endif // __FIBEROPERATIONS_SLICERBASE_HPP
64
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
Helper class to select a slice from a regular grid.
Definition RegularCoordinateSlice.hpp:26
Helper class to select a slice from a regular grid.
Definition SlicerBase.hpp:16
RefPtr< Field > OutputCoordinates
The output coordinates of the 2D slice.
Definition SlicerBase.hpp:20
virtual void addSlices(const RefPtr< Field > &InputCoordinates, const RefPtr< Field > &InputData)=0
Expand the coordinate and data fields by slices as retrieved from the input coordinates and input dat...
RefPtr< Field > OutputData
The output coordinates of the 2D slice.
Definition SlicerBase.hpp:23