/usr/include/ossim/base/ossimTieMeasurementGeneratorInterface.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 72 73 74 75 76 77 78 79 80 81 82 83 84 | //----------------------------------------------------------------------------
//
// File: ossimTieMeasurementGeneratorInterface.h
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: David hicks
//
// Description: OSSIM interface for tie measurement generator plugin.
//----------------------------------------------------------------------------
// $Id
#ifndef ossimTieMeasurementGeneratorInterface_HEADER
#define ossimTieMeasurementGeneratorInterface_HEADER 1
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimDpt.h>
#include <ossim/base/ossimIrect.h>
#include <iosfwd>
class ossimImageSource;
class ossimTieMeasurementGeneratorInterface
{
public:
/** @brief Virtual destructor defined to squash compiler errors. */
virtual ~ossimTieMeasurementGeneratorInterface(){}
// Initializer
virtual bool init(std::ostream& report = std::cout) = 0;
virtual bool setImageList(std::vector<ossimImageSource*> src) = 0;
// Define collection ROIs, coordinate system depends on derived class use. List of AOIs
// must correspond to the list of images.
virtual bool setROIs(std::vector<ossimIrect> roi) = 0;
virtual bool isValidCollectionBox() const = 0;
// Measurement collection
virtual bool run() = 0;
// Report run parameters
virtual void summarizeRun() const = 0;
// Patch grid configuration accessors
virtual void setUseGrid(const bool useGrid) = 0;
virtual bool getUseGrid() const = 0;
virtual bool setGridSize(const ossimIpt& gridDimensions) = 0;
virtual ossimIpt getGridSize() const = 0;
// Max matches in patch accessors
virtual bool setMaxMatches(const int& maxMatches) = 0;
virtual int getMaxMatches() const = 0;
// Set the feature detector
virtual bool setFeatureDetector(const ossimString& name) = 0;
virtual ossimString getFeatureDetector() const = 0;
// Set the descriptor-extractor
virtual bool setDescriptorExtractor(const ossimString& name) = 0;
virtual ossimString getDescriptorExtractor() const = 0;
// Set the matcher
virtual bool setDescriptorMatcher(const ossimString& name) = 0;
virtual ossimString getDescriptorMatcher() const = 0;
// Measured point access
virtual int numMeasurements() const = 0;
virtual ossimDpt pointIndexedAt(const ossim_uint32 imgIdx,
const ossim_uint32 measIdx) = 0;
// OpenCV drawMatches window
virtual void closeCvWindow(const bool waitKeyPress = false) = 0;
virtual void setShowCvWindow(const bool showCvWindow) = 0;
virtual bool getShowCvWindow() const = 0;
};
#endif /* #ifndef ossimTieMeasurementGeneratorInterface_HEADER */
|