OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimBilSplitter.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: David Burken
6 //
7 // Description:
8 //
9 // Contains class declaration for ossimBilSplitter.
10 //
11 // Utility class for splitting an image that is band interleaved by line into
12 // separate files.
13 //*******************************************************************
14 // $Id: ossimBilSplitter.h 9968 2006-11-29 14:01:53Z gpotts $
15 
16 #ifndef ossimBilSplitter_HEADER
17 #define ossimBilSplitter_HEADER
18 
19 #include <fstream>
20 using namespace std;
21 
23 
25 {
26 public:
27  ossimBilSplitter(const char* file_to_split,
28  ossim_uint32 header_size_in_bytes,
29  ossim_uint32 bytes_per_pixel,
30  ossim_uint32 samples_per_line,
31  ossim_uint32 number_of_channels);
32 
34 
36  {
37  OSSIM_OK = 0,
38  OSSIM_ERROR = 1
39  };
40 
46  bool output_multi_files(const char* output_dir);
47 
48  int errorStatus() const { return theErrorStatus; }
49 
50 private:
51 
58 };
59 
60 #endif
#define OSSIMDLLEXPORT
ifstream theSourceFileStr
std::basic_ifstream< char > ifstream
Class for char input file streams.
Definition: ossimIosFwd.h:44
ossim_uint32 theBytesPerLine
int errorStatus() const
unsigned int ossim_uint32
ossim_uint32 theLinesToWrite
ossim_uint32 theHeaderSizeInBytes
ossimStatus theErrorStatus
ossim_uint32 theNumberOfChannels