/usr/include/ossim/util/ossimPointCloudUtil.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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Oscar Kramer
//
//*************************************************************************
// $Id$
#ifndef ossimPointCloudUtil_HEADER
#define ossimPointCloudUtil_HEADER
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimRefPtr.h>
#include <ossim/base/ossimProcessInterface.h>
#include <ossim/base/ossimListenerManager.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimIrect.h>
#include <ossim/base/ossimArgumentParser.h>
#include <ossim/imaging/ossimImageGeometry.h>
#include <ossim/point_cloud/ossimPointCloudHandler.h>
#include <ossim/point_cloud/ossimPointCloudUtilityFilter.h>
/**
* Utility class for generating point-cloud-derived image products
*/
class OSSIMDLLEXPORT ossimPointCloudUtil : public ossimObject,
public ossimProcessInterface,
public ossimListenerManager
{
friend class ossimPointCloudUtilityFilter;
public:
ossimPointCloudUtil();
virtual ~ossimPointCloudUtil();
/**
* Initializes from command line arguments.
*/
bool initialize(ossimArgumentParser& ap);
/*
* Initializes after parameter set-methods have been called (in lieu of argument parser init)
*/
bool initialize();
/**
* Returns true if successful
*/
virtual bool execute();
/**
* Sets the nominal output resolution in meters
*/
void setGSD(const double& meters_per_pixel);
virtual ossimObject* getObject() { return this; }
virtual const ossimObject* getObject() const { return this; }
virtual ossimListenerManager* getManager() { return this; };
protected:
void usage(ossimArgumentParser& ap);
void addArguments(ossimArgumentParser& ap);
bool loadPC();
bool loadDem();
enum Operation { HIGHEST_DEM, LOWEST_DEM, HIGHEST_LOWEST } m_operation;
ossimRefPtr<ossimImageGeometry> m_prodGeom;
ossimRefPtr<ossimPointCloudHandler> m_pcHandler;
ossimRefPtr<ossimPointCloudImageHandler> m_pciHandler;
ossimRefPtr<ossimPointCloudUtilityFilter> m_pcuFilter;
double m_gsd;
ossimFilename m_lutFile;
ossimFilename m_prodFile;
ossimFilename m_demFile;
ossimFilename m_pcFile;
};
#endif /* ossimPointCloudUtil_HEADER */
|