OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include "../src/ossimPdalFileReader.h"
#include "../src/ossimRialtoReader.h"
#include <ossim/init/ossimInit.h>
#include <ossim/base/ossimStringProperty.h>
#include <ossim/base/ossimKeywordNames.h>
#include <assert.h>
#include <ossim/point_cloud/ossimPointCloudImageHandler.h>
#include <ossim/imaging/ossimTiffWriter.h>
#include <pdal/pdal.hpp>
#include <pdal/util/Bounds.hpp>
#include <pdal/LasWriter.hpp>
#include <pdal/FauxReader.hpp>
Go to the source code of this file.
Macros | |
#define | TEST_READER false |
Functions | |
int | usage (char *app_name) |
bool | writeRaster (ossimPdalReader *reader, const char *test) |
bool | test_rialto (const ossimFilename &fname) |
bool | test_pdal (const ossimFilename &fname) |
bool | genlas (const ossimFilename &fname) |
int | main (int argc, char **argv) |
#define TEST_READER false |
Definition at line 22 of file plugin-test.cpp.
bool genlas | ( | const ossimFilename & | fname | ) |
Definition at line 99 of file plugin-test.cpp.
References ossimString::string().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 127 of file plugin-test.cpp.
References ossimString::downcase(), ossimString::empty(), genlas(), test_pdal(), test_rialto(), and usage().
bool test_pdal | ( | const ossimFilename & | fname | ) |
Definition at line 83 of file plugin-test.cpp.
References ossimRefPtr< T >::get(), ossimPointCloudHandler::getBounds(), ossimPdalFileReader::open(), and writeRaster().
Referenced by main().
bool test_rialto | ( | const ossimFilename & | fname | ) |
Definition at line 63 of file plugin-test.cpp.
References ossimRefPtr< T >::get(), ossimRialtoReader::getBlock(), ossimPointCloudHandler::getBounds(), ossimRialtoReader::open(), and writeRaster().
Referenced by main().
int usage | ( | char * | app_name | ) |
Definition at line 26 of file plugin-test.cpp.
Referenced by main().
bool writeRaster | ( | ossimPdalReader * | reader, |
const char * | test | ||
) |
Definition at line 32 of file plugin-test.cpp.
References ossimConnectableObject::connectMyInputTo(), ossimImageFileWriter::execute(), ossimRefPtr< T >::get(), ossimPointCloudImageHandler::getGSD(), ossimPointCloudImageHandler::HIGHEST, ossimKeywordNames::METERS_PER_PIXEL_KW, ossimPointCloudImageHandler::setCurrentEntry(), ossimImageFileWriter::setFilename(), ossimTiffWriter::setGeotiffFlag(), ossimPointCloudImageHandler::setPointCloudHandler(), ossimPointCloudImageHandler::setProperty(), ossimString::toString(), ossimRefPtr< T >::valid(), ossimDpt::x, and ossimDpt::y.
Referenced by test_pdal(), and test_rialto().