FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
init.hpp
1
2//
3// $Id: init.hpp,v 1.6 2007/11/22 10:37:29 werner Exp $
4//
6#ifndef __FIBER_IOINIT_HPP
7#define __FIBER_IOINIT_HPP "Created 03.09.2004 10:34:13 by werner"
8
9#ifndef NO_FIBER_XML
10#include <FiberIO/XML/init.hpp>
11#endif
12
13#ifdef WITH_FiberIOHDF5
14#include <FiberIO/HDF5/init.hpp>
15#endif
16
17#ifdef WITH_fibertiffloader
18#include <FiberIO/tiff/init.hpp>
19#endif
20#include <FiberIO/las/init.hpp>
21
22#ifdef WITH_fiberGDALloader
23#include <FiberIO/gdal/init.hpp>
24#endif
25
26#ifdef WITH_FiberIOrawimages
27#include <FiberIO/raw/RawLoader.hpp>
28#endif
29
30#ifndef NO_FIBER_FS
31#include <FiberIO/fs/init.hpp>
32#endif
33
34#include <FiberIO/imgseq/init.hpp>
35#include <FiberIO/shapefile/init.hpp>
36
37#ifdef WITH_fiberkmlloader
38#include <FiberIO/kml/init.hpp>
39#endif
40
41#ifdef WITH_FiberIOpsd
42#include <FiberIO/psd/PSDLoader.hpp>
43#endif
44
45namespace Fiber
46{
47
58inline int IOinit()
59{
60int ok = 0, s = 0;
61
62#ifndef NO_FIBER_XML
63 if (XML::initialized) ok |= (1<< (s++) );
64#endif
65
66#ifdef WITH_FiberIOHDF5
67 if (FiberIOHDF5init() ) ok |= (1<< (s++) );
68#pragma message "HDF5 is available as Fiber I/O layer."
69#else
70#pragma message "HDF5 is NOT available as Fiber I/O layer."
71#endif
72
73#ifdef WITH_fiberGDALloader
74 if (FiberIOGDALinit() ) ok |= (1<< (s++) );
75#endif
76
77#ifdef WITH_fibertiffloader
78 if (FiberIOTIFFinit() ) ok |= (1<< (s++) );
79#endif
80
81 if (FiberIOLasinit() ) ok |= (1<< (s++) );
82
83#ifdef WITH_fiberkmlloader
84 if (FiberIOKmlinit() ) ok |= (1<< (s++) );
85#endif
86
87#ifndef NO_FIBER_FS
88 if (FS::initialized) ok |= (1<< (s++) );
89#endif
90
91#ifdef WITH_FiberIOImageSequence
92#pragma message "Image Sequence Loader is active."
93 if (//ImageSequence::initialized and
94 ImageSequence::ImageSequenceAddLoader()
95 ) ok |= (1<< (s++) );
96#endif
97
98 if (FiberIOSHAPEFILEinit()) ok |= (1 << (s++));
99
100#ifdef WITH_FiberIOrawimages
101 if (FiberIOInitRawReader() ) ok |= (1<< (s++) );
102#pragma message "libRAW is available as Fiber I/O layer."
103#else
104#pragma message "libRAW is NOT available as Fiber I/O layer."
105#endif
106
107
108#ifdef WITH_FiberIOpsd
109 if (FiberIOInitPSDLayer() ) ok |= (1<< (s++) );
110#pragma message "Photoshop Documents supported enabled in Fiber I/O."
111#else
112#pragma message "Photoshop Documents are NOT supported in Fiber I/O."
113#endif
114
115
116 return ok;
117}
118
119
120} /* namespace Fiber */
121
122
123#endif /* __FIBER_IOINIT_HPP */
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
bool FiberIOHDF5init()
Wrapper class for initialization.
Definition fiber/FiberIO/HDF5/HDF5init.cpp:12
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
int IOinit()
Initialize I/O layers for pre-defined template instantiations.
Definition init.hpp:58