/usr/include/ossim/imaging/ossimImageWriter.h is in libossim-dev 2.2.2-1.
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 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: See top level LICENSE.txt file.
//
// Author: Frank Warmerdam (warmerdam@pobox.com)
//
// Description:
//
// Contains class declaration for ossimImageWriter
//*******************************************************************
// $Id: ossimImageWriter.h 15798 2009-10-23 19:15:20Z gpotts $
#ifndef ossimImageWriter_HEADER
#define ossimImageWriter_HEADER
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimOutputSource.h>
#include <ossim/base/ossimCommon.h>
#include <ossim/base/ossimIrect.h>
class ossimImage;
class ossimImageSource;
class ossimImageWriter;
class ossimImageWriterFactory;
class ossimKeywordlist;
class ossimFilename;
#include <ossim/imaging/ossimImageSourceSequencer.h>
class OSSIM_DLL ossimImageWriter : public ossimOutputSource
{
public:
ossimImageWriter(ossimObject* owner=NULL);
ossimImageWriter(ossimObject* owner,
ossim_uint32 numberOfInputs,
ossim_uint32 numberOfOutputs,
bool inputListIsFixed,
bool outputListIsFixed);
virtual ~ossimImageWriter();
/**
* @param aRect the rectangle to write.
*
* @return true on success, false if the rectangle is invalid.
*/
virtual bool setViewingRect(const ossimIrect &aRect);
/**
* @return Returns theAreaOfInterest.
*/
virtual ossimIrect getAreaOfInterest() const;
virtual void setAreaOfInterest(const ossimIrect& inputAreaOfInterest);
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0)const;
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
protected:
ossimIrect theAreaOfInterest;
TYPE_DATA
};
#endif
|