/usr/include/ossim/parallel/ossimIgen.h is in libossim-dev 1.7.21-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
// Description: Class declaration for image generator.
//
//*************************************************************************
// $Id: ossimIgen.h 9094 2006-06-13 19:12:40Z dburken $
#ifndef ossimIgen_HEADER
#define ossimIgen_HEADER
#include <iostream>
#include <list>
#include <fstream>
#include <ossim/base/ossimDrect.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimKeywordlist.h>
#include <ossim/base/ossimConnectableContainer.h>
#include <ossim/imaging/ossimTiling.h>
class ossimImageChain;
class ossimImageFileWriter;
class ossimProjection;
class ossimImageViewTransform;
class ossimImageSource;
class ossimImageMpiMWriterSequenceConnection;
class ossimImageMpiSWriterSequenceConnection;
class ossimObject;
class ossimArgumentParser;
class OSSIM_DLL ossimIgen
{
public:
ossimIgen();
virtual ~ossimIgen();
virtual void initialize(const ossimKeywordlist& kwl);
virtual void outputProduct();
protected:
ossimConnectableContainer theContainer;
ossimProjection* theProductProjection;
ossimDrect theOutputRect;
bool theBuildThumbnailFlag;
ossimIpt theThumbnailResolution;
long theNumberOfTilesToBuffer;
ossimKeywordlist theKwl;
bool theTilingEnabled;
ossimTiling theTiling;
bool theProgressFlag;
/**
* Initializes attributes of class.
*
* Keywords searched for by method:
*
* igen.output_progress: true (bool)
*
* igen.thumbnail: true (bool)
*
* igen.thumbnail_res: 128 128 (x_res, y_res)
*
* (number of buffers for slave nodes to process before waiting)
* igen.slave_tile_buffers: 2
*
* igen.tiling.type: ?
*
* igen.tiling: ?
*/
void initializeAttributes();
void slaveSetup();
bool loadProduct();
void deleteAttributes();
void setView(ossimConnectableObject* obj, ossimObject* viewObj);
ossimProjection* createImageProjection(const ossimKeywordlist& kwl);
virtual ossimProjection* buildProductProjection(const ossimKeywordlist& kwl,
const char* prefix="product.");
bool getOutputRect(const ossimKeywordlist& kwl,
ossimDrect& rect);
void buildThumbnail();
void outputImageGeometry(const char* filename);
ossimImageChain* getChain();
};
#endif
|