FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
GridIsosurface.hpp
1#ifndef __BASEOP_GRIDISOSURFACE_HPP
2#define __BASEOP_GRIDISOSURFACE_HPP
3
4#include <grid/Grid.hpp>
5#include <bundle/Slice.hpp>
6
7#include "gridopDllApi.h"
8
9#if defined(__GNUC__) && defined(_GLIBCXX_USE_NOEXCEPT)
10#define USE_NOEXCEPT _GLIBCXX_USE_NOEXCEPT
11#else
12#define USE_NOEXCEPT throw()
13#endif
14
15
16namespace Fiber
17{
18
20{
21 enum Code
22 {
23 NO_ISO_ERROR,
24 NO_INPUT_COORDINATES,
25 NO_INPUT_FIELD,
26 NO_FRAGMENT_COORDINATES,
27 NO_SUPPORTED_DATATYPE,
28
29 NO_FRAGMENT_OFFSET_FOR_GLOBAL_COORDINATES,
30
31 UNDEFINED_ISO_ERROR
32 }
33
34 code;
35
36 IsoException(Code c)
37 : code(c)
38 {}
39
40 ~IsoException() throw();
41
42 const char* what() const USE_NOEXCEPT override;
43};
44
45
55extern gridop_API Grid&ComputeIsosurface(double Isolevel,
56 const Ageable&Trigger,
57 const Grid&RegularGrid,
58 const string&fieldname,
59 Slice&TimeStep,
60 const string&isosurfacename,
61 double precision);
62
63} // namespace Fiber
64
65#endif
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
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
Grid & ComputeIsosurface(double Isolevel, const Ageable &Trigger, const Grid &RegularGrid, const string &fieldname, Slice &timeStep, const string &isosurfacename, double precision)
Compute an isosurface as a new Grid object from a scalar field given on a regular grid.
Definition GridIsosurface.cpp:262
Definition GridIsosurface.hpp:20