OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This code was derived from https://gist.github.com/mshockwave. More...
Classes | |
class | AwsStreamFactory |
class | Barrier |
Barrier is a class used to block threads so we can synchronize and entry point. More... | |
class | Block |
This is a very simple block interface. More... | |
class | BlockBufInfo |
This is a utility class used by the BlockStreamBuffer. More... | |
class | BlockIStream |
Allows one to adapt any input stream to be block aligned for any read it will internally read overlapping blocks filling the request. More... | |
class | BlockStreamBuffer |
This is the BlockStreamBuffer class and derives from stream buf. More... | |
class | CurlHeaderCache |
class | CurlHeaderCacheNode |
class | CurlIStream |
class | CurlStreamBuffer |
class | CurlStreamDefaults |
class | CurlStreamFactory |
class | FactoryListBase |
class | GroundControlPoint |
Class for representing a ground control point. More... | |
class | Image |
Class representing an Image as used by ossim-msp services. More... | |
class | ImageHandlerStateFactory |
class | ImageHandlerStateRegistry |
This is the state registry for all image handler states that will be supported. More... | |
class | IntFloatBitCoercion |
Class lets us see bit patterns of floats. More... | |
class | JsonConfig |
Base class for maintaining parameters affecting the runtime configuration of OSSIM executables. More... | |
class | JsonInterface |
Pure virtual interface for classes implementing JSON-based load/save state. More... | |
class | JsonParam |
Represents a single configuration parameter. More... | |
class | PhotoBlock |
Class for representing MSP PhotoBlock. More... | |
class | Quaternion |
A quaternion class. More... | |
class | RWLock |
Code was derived from https://gist.github.com/mshockwave. More... | |
class | S3HeaderCache |
class | S3HeaderCacheNode |
class | S3IStream |
class | S3StreamBuffer |
class | S3StreamDefaults |
class | ScopeReadLock |
class | ScopeWriteLock |
class | State |
This is the base for all state objects. More... | |
class | StateFactoryBase |
class | StreamFactory |
class | StreamFactoryBase |
class | StreamFactoryRegistry |
This is a generic stream registry. More... | |
class | Thread |
Thread is an abstract class. More... | |
class | TiePoint |
Class for representing a single tiepoint on two or more images. More... | |
Typedefs | |
typedef std::basic_istream< char > | istream |
Base class for char input streams. More... | |
typedef std::basic_ostream< char > | ostream |
Base class for char output streams. More... | |
typedef std::basic_iostream< char > | iostream |
Base class for char mixed input and output streams. More... | |
typedef std::basic_stringbuf< char > | stringbuf |
Class for char memory buffers. More... | |
typedef std::basic_istringstream< char > | istringstream |
Class for char input memory streams. More... | |
typedef std::basic_ostringstream< char > | ostringstream |
Class for char output memory streams. More... | |
typedef std::basic_stringstream< char > | stringstream |
Class for char mixed input and output memory streams. More... | |
typedef std::basic_filebuf< char > | filebuf |
Class for char file buffers. More... | |
typedef std::basic_ifstream< char > | ifstream |
Class for char input file streams. More... | |
typedef std::basic_ofstream< char > | ofstream |
Class for char output file streams. More... | |
typedef std::basic_fstream< char > | fstream |
Class for char mixed input and output file streams. More... | |
typedef std::vector< std::shared_ptr< GroundControlPoint > > | GcpList |
typedef std::vector< std::shared_ptr< Image > > | ImageList |
typedef std::vector< std::shared_ptr< TiePoint > > | TiePointList |
Functions | |
OSSIM_DLL std::istream & | skipws (std::istream &in) |
OSSIM_DLL bool | isWhiteSpace (int c) |
template<class T > | |
bool | almostEqual (T x, T y, T tolerance=FLT_EPSILON) |
template<class T > | |
bool | inInterval (T x, T a, T b) |
template<class T > | |
bool | inOpenInterval (T x, T a, T b) |
bool | isnan (const float &v) |
isnan Test for floating point Not A Number (NAN) value. More... | |
bool | isnan (const double &v) |
OSSIM_DLL_DATA (const IntFloatBitCoercion) nanValue | |
Declaration of nan part of nan() declared here for inline ossim::nan(). More... | |
double | nan () |
Method to return ieee floating point double precision NAN. More... | |
template<class T > | |
T | abs (const T &value) |
template<class S , class T > | |
T | lerp (S x, T begin, T end) |
template<class T > | |
T | inverseLerp (T x, T begin, T end) |
template<class S , class T > | |
T | quaderp (S x, T begin, T middle, T end) |
template<class T > | |
T | clamp (T x, T a, T b) |
template<class T > | |
T | wrap (T x, T a, T b) |
template<class T > | |
T | min (T a, T b) |
template<> | |
ossim_float32 | min< ossim_float32 > (ossim_float32 a, ossim_float32 b) |
template<> | |
ossim_float64 | min< ossim_float64 > (ossim_float64 a, ossim_float64 b) |
template<class T > | |
T | max (T a, T b) |
template<> | |
ossim_float32 | max< ossim_float32 > (ossim_float32 a, ossim_float32 b) |
template<> | |
ossim_float64 | max< ossim_float64 > (ossim_float64 a, ossim_float64 b) |
double | radiansToDegrees (double x) |
double | degreesToRadians (double x) |
double | cosd (double x) |
double | sind (double x) |
double | tand (double x) |
double | acosd (double x) |
double | asind (double x) |
double | atand (double x) |
double | atan2d (double y, double x) |
template<class IntType > | |
IntType | gcd (IntType n, IntType m) |
template<> | |
int | gcd< int > (int n, int m) |
template<class IntType > | |
IntType | lcm (IntType n, IntType m) |
template<class T > | |
T | square (T x) |
template<class T > | |
T | sgn (T x) |
template<> | |
ossim_float32 | sgn< ossim_float32 > (ossim_float32 x) |
template<> | |
ossim_float64 | sgn (ossim_float64 x) |
template<class R , class F > | |
R | round (F x) |
double | ft2mtrs (double feet) |
double | usft2mtrs (double feet) |
double | mtrs2ft (double meters) |
double | mtrs2usft (double meters) |
template<class T > | |
std::pair< T, T > | quadraticRoots (T a, T b, T c) |
template<class T > | |
void | memClear (T &var, int z=0) |
template<class T > | |
void | memClear (T *var) |
OSSIM_DLL ossimByteOrder | byteOrder () |
OSSIM_DLL double | defaultMin (ossimScalarType scalarType) |
OSSIM_DLL double | defaultMax (ossimScalarType scalarType) |
OSSIM_DLL double | defaultNull (ossimScalarType scalarType) |
OSSIM_DLL ossim_uint32 | scalarSizeInBytes (ossimScalarType scalarType) |
OSSIM_DLL bool | isSigned (ossimScalarType scalarType) |
OSSIM_DLL ossim_uint32 | getActualBitsPerPixel (ossimScalarType scalarType) |
Get actual bits per pixel for a given scalar type. More... | |
OSSIM_DLL ossim_uint32 | getBitsPerPixel (ossimScalarType scalarType) |
Get bits per pixel for a given scalar type. More... | |
OSSIM_DLL void | defaultTileSize (ossimIpt &tileSize) |
OSSIM_DLL std::string | convertHtmlSpecialCharactersToNormalCharacter (const std::string &src) |
OSSIM_DLL bool | matrixToHpr (ossim_float64 hpr[3], const NEWMAT::Matrix &rotation) |
Heading pitch roll extraction from a matrix. More... | |
OSSIM_DLL bool | matrixToHpr (ossim_float64 hpr[3], const NEWMAT::Matrix &lsrMatrix, const NEWMAT::Matrix &rotationalMatrix) |
Heading pitch roll extraction from a matrix. More... | |
OSSIM_DLL void | lexQuotedTokens (const std::string &str, ossim_uint32 start, const char *whitespace, const char *quotes, std::vector< std::string > &tokens, bool &unbalancedQuotes) |
OSSIM_DLL void | toStringList (ossimString &resultStringOfPoints, const std::vector< ossimDpt > &pointList, char separator=' ') |
Will take a vector of ossimDpt and convert to a string list separated by spaces For example: (45,34) (12,34) More... | |
OSSIM_DLL void | toStringList (ossimString &resultStringOfPoints, const std::vector< ossimIpt > &pointList, char separator=' ') |
OSSIM_DLL void | toStringList (ossimString &resultStringOfPoints, const std::vector< ossimGpt > &pointList, char seaprator=' ') |
OSSIM_DLL void | toVector (std::vector< ossimDpt > &result, const ossimString &stringOfPoints) |
Will take a string list separated by spaces and convert to a vector of ossimDpts. More... | |
OSSIM_DLL void | toVector (std::vector< ossimIpt > &result, const ossimString &stringOfPoints) |
OSSIM_DLL void | toVector (std::vector< ossimGpt > &result, const ossimString &stringOfPoints) |
template<class T > | |
void | toSimpleStringList (ossimString &result, const std::vector< T > &valuesList) |
This will output a vector of values inst a string. More... | |
template<> | |
OSSIM_DLL void | toSimpleStringList (ossimString &result, const std::vector< ossim_uint8 > &valuesList) |
This will output a vector of values inst a string. More... | |
template<> | |
OSSIM_DLL void | toSimpleStringList (ossimString &result, const std::vector< ossim_float64 > &valuesList) |
template<> | |
OSSIM_DLL void | toSimpleStringList (ossimString &result, const std::vector< ossim_float32 > &valuesList) |
template<> | |
OSSIM_DLL void | toSimpleStringList (ossimString &result, const std::vector< ossimString > &valuesList) |
OSSIM_DLL bool | extractSimpleValues (std::vector< ossimString > &values, const ossimString &stringOfPoints) |
Generic function to extract a list of values into a vector of string where the string of points is of the form: More... | |
template<class T > | |
bool | toSimpleVector (std::vector< T > &result, const ossimString &stringOfPoints) |
OSSIM_DLL bool | toSimpleVector (std::vector< ossim_uint32 > &result, const ossimString &stringOfPoints) |
Takes input format of the form: (value1,value2,...,valueN) More... | |
OSSIM_DLL bool | toSimpleVector (std::vector< ossim_int32 > &result, const ossimString &stringOfPoints) |
Takes input format of the form: (value1,value2,...,valueN) More... | |
OSSIM_DLL bool | toSimpleVector (std::vector< ossim_uint16 > &result, const ossimString &stringOfPoints) |
Takes input format of the form: (value1,value2,...,valueN) More... | |
OSSIM_DLL bool | toSimpleVector (std::vector< ossim_int16 > &result, const ossimString &stringOfPoints) |
Takes input format of the form: (value1,value2,...,valueN) More... | |
OSSIM_DLL bool | toSimpleVector (std::vector< ossim_uint8 > &result, const ossimString &stringOfPoints) |
Takes input format of the form: (value1,value2,...,valueN) More... | |
OSSIM_DLL bool | toSimpleVector (std::vector< ossim_int8 > &result, const ossimString &stringOfPoints) |
Takes input format of the form: (value1,value2,...,valueN) More... | |
OSSIM_DLL bool | toSimpleVector (std::vector< ossimString > &result, const ossimString &stringOfStrings) |
Takes input format of the form: (value1,value2,...,valueN) More... | |
OSSIM_DLL ossim_uint32 | getNumberOfThreads () |
Get the number threads to use from ossimPreferences or ossim::Thread. More... | |
OSSIM_DLL void | getFormattedTime (const std::string &format, bool gmtFlag, std::string &result) |
Gets the current time. More... | |
OSSIM_DLL ossim_int64 | getTime () |
Gets the current time. More... | |
OSSIM_DLL ossim_uint32 | computeLevels (const ossimIrect &rect) |
Computes the number of decimation levels to get to the overview stop dimension. More... | |
ostream & | operator<< (std::ostream &out, const JsonParam &obj) |
std::ostream & | operator<< (std::ostream &out, const JsonConfig &obj) |
void | getDims (const ossimIrect &rect, kdu_core::kdu_dims &dims) |
Convenience method to convert ossimIrect to kdu_dims. More... | |
void | getRect (const kdu_core::kdu_dims &dims, ossimIrect &rect) |
Convenience method to convert kdu_core::kdu_dims to ossimIrect. More... | |
bool | clipRegionToImage (kdu_core::kdu_codestream &codestream, kdu_core::kdu_dims ®ion, int discard_levels, kdu_core::kdu_dims &clipRegion) |
Sets clipRegion from region, and image dimensions for level. More... | |
bool | getCodestreamDimensions (kdu_core::kdu_codestream &codestream, std::vector< ossimIrect > &imageDims, std::vector< ossimIrect > &tileDims) |
Gets image and tile dimensions from codestream for each resolution level (rlevel). More... | |
bool | copyRegionToTile (kdu_supp::kdu_channel_mapping *channelMapping, kdu_core::kdu_codestream &codestream, int discard_levels, kdu_core::kdu_thread_env *threadEnv, kdu_core::kdu_thread_queue *threadQueue, ossimImageData *destTile) |
Copies region from codestream to tile at a given rlevel. More... | |
bool | copyRegionToTile (kdu_core::kdu_codestream &codestream, int discard_levels, kdu_core::kdu_thread_env *threadEnv, kdu_core::kdu_thread_queue *threadQueue, ossimImageData *destTile) |
Copies region from codestream to tile at a given rlevel. More... | |
void | unNormalizeTile (ossimImageData *result) |
Un-normalizes float tile from kdu_region_decompressor::process method. More... | |
std::ostream & | print (std::ostream &out, kdu_core::kdu_codestream &cs) |
Convenience print method for kdu_codestream. More... | |
std::ostream & | print (std::ostream &out, const kdu_core::kdu_dims &dims) |
Convenience print method for kdu_dims. More... | |
std::ostream & | print (std::ostream &out, const kdu_core::kdu_coords &coords) |
Convenience print method for kdu_coords. More... | |
void | color_sycc_to_rgb (opj_image *img) |
void | color_apply_icc_profile (opj_image *image) |
void | opj_error_callback (const char *msg, void *) |
Callback method for errors. More... | |
void | opj_warning_callback (const char *msg, void *) |
Callback method for warnings. More... | |
void | opj_info_callback (const char *msg, void *) |
Callback method for info. More... | |
bool | opj_decode (std::ifstream *in, const ossimIrect &rect, ossim_uint32 resLevel, ossim_int32 format, std::streamoff fileOffset, ossimImageData *tile) |
bool | copyOpjImage (opj_image *image, ossimImageData *tile) |
template<class T > | |
bool | copyOpjSrgbImage (T dummy, opj_image *image, ossimImageData *tile) |
ossim_int32 | getCodecFormat (std::istream *str) |
Gets codec format from magic number. More... | |
std::ostream & | print (std::ostream &out, const opj_codestream_info &info) |
Prints codestream info from openjpeg struct opj_codestream_info. More... | |
std::ostream & | print (std::ostream &out, const opj_cparameters ¶m) |
Prints compression parameters from openjpeg struct opj_cparameters. More... | |
std::ostream & | print (std::ostream &out, const opj_dparameters ¶m) |
Prints decode parameters from openjpeg struct opj_dparameters. More... | |
std::ostream & | print (std::ostream &out, const opj_image &image) |
Prints opj_image structure. More... | |
std::ostream & | print (std::ostream &out, const opj_image_comp &comp) |
Prints opj_image_comp structure. More... | |
std::string | getProgressionOrderString (ossim_int32 prog_order) |
This code was derived from https://gist.github.com/mshockwave.
typedef std::basic_filebuf<char> ossim::filebuf |
Class for char
file buffers.
Definition at line 41 of file ossimIosFwd.h.
typedef std::basic_fstream<char> ossim::fstream |
Class for char
mixed input and output file streams.
Definition at line 50 of file ossimIosFwd.h.
typedef std::vector< std::shared_ptr<GroundControlPoint> > ossim::GcpList |
Definition at line 80 of file GroundControlPoint.h.
typedef std::basic_ifstream<char> ossim::ifstream |
Class for char
input file streams.
Definition at line 44 of file ossimIosFwd.h.
typedef std::vector< std::shared_ptr<Image> > ossim::ImageList |
typedef std::basic_iostream<char> ossim::iostream |
Base class for char
mixed input and output streams.
Definition at line 26 of file ossimIosFwd.h.
typedef std::basic_istream<char> ossim::istream |
Base class for char
input streams.
Definition at line 20 of file ossimIosFwd.h.
typedef std::basic_istringstream<char> ossim::istringstream |
Class for char
input memory streams.
Definition at line 32 of file ossimIosFwd.h.
typedef std::basic_ofstream<char> ossim::ofstream |
Class for char
output file streams.
Definition at line 47 of file ossimIosFwd.h.
typedef std::basic_ostream<char> ossim::ostream |
Base class for char
output streams.
Definition at line 23 of file ossimIosFwd.h.
typedef std::basic_ostringstream<char> ossim::ostringstream |
Class for char
output memory streams.
Definition at line 35 of file ossimIosFwd.h.
typedef std::basic_stringbuf<char> ossim::stringbuf |
Class for char
memory buffers.
Definition at line 29 of file ossimIosFwd.h.
typedef std::basic_stringstream<char> ossim::stringstream |
Class for char
mixed input and output memory streams.
Definition at line 38 of file ossimIosFwd.h.
typedef std::vector< std::shared_ptr< TiePoint > > ossim::TiePointList |
Definition at line 21 of file TiePoint.h.
anonymous enum |
Anonymous enumerations.
Note prefixed with 'O' to avoid conflict with libtiff.
Definition at line 20 of file ossimTiffConstants.h.
anonymous enum |
Definition at line 163 of file ossimTiffConstants.h.
enum ossim::CompressType |
Enumerator | |
---|---|
COMPRESSION_NONE |
Definition at line 138 of file ossimTiffConstants.h.
enum ossim::ModelType |
Enumerator | |
---|---|
UNKNOWN | |
OMODEL_TYPE_PROJECTED | |
OMODEL_TYPE_GEOGRAPHIC | |
OMODEL_TYPE_GEOCENTRIC |
Definition at line 155 of file ossimTiffConstants.h.
Enumerator | |
---|---|
OPHOTO_MINISWHITE | |
OPHOTO_MINISBLACK | |
OPHOTO_RGB | |
OPHOTO_PALETTE | |
OPHOTO_MASK | |
OPHOTO_SEPARATED | |
OPHOTO_YCBCR | |
OPHOTO_CIELAB |
Definition at line 143 of file ossimTiffConstants.h.
|
inline |
Definition at line 138 of file ossimCommon.h.
Referenced by ossimThinPlateSpline::deletePoint().
|
inline |
Definition at line 264 of file ossimCommon.h.
References DEG_PER_RAD, and x.
Referenced by ossimGmlSupportData::addScale(), ossimLsrVector::angleTo(), ossimEcefVector::angleTo(), ossimGpkgTileEntry::getNewMapProjection(), ossimSlopeFilter::getTile(), ossimHlzTool::LsFitPatchProcessorJob::level1Test(), and ossimNitfProjectionFactory::makeEuiDistant().
|
inline |
Definition at line 53 of file ossimCommon.h.
Referenced by ossimRpfUtil::checkLongitude(), ossimImageCacheBase::checkLongitude(), ossimRpfCacheTileSource::checkLongitude(), ossimSrtmHandler::getHeightAboveMSLMemoryTemplate(), ossimHdf5ImageDataset::getTileBuf(), ossim_hdf5::getValidBoundingRect(), ossimSonomaSensor::ossimPlane::intersect(), ossimThreeParamDatum::isEqualTo(), ossimSevenParamDatum::isEqualTo(), ossimDatum::isEqualTo(), ossimDpt::isEqualTo(), ossimImageViewAffineTransform::isEqualTo(), ossimEllipsoid::isEqualTo(), ossimMatrix4x4::isEqualTo(), ossimGpt::isEqualTo(), ossimPpjFrameSensor::lineSampleHeightToWorld(), ossimPolynomProjection::lineSampleHeightToWorld(), ossimCadrgProjection::operator==(), ossimDpt::operator==(), ossimSpaceObliqueMercatorProjection::operator==(), ossimMollweidProjection::operator==(), ossimBonneProjection::operator==(), ossimVanDerGrintenProjection::operator==(), ossimSinusoidalProjection::operator==(), ossimTransCylEquAreaProjection::operator==(), ossimTransMercatorProjection::operator==(), ossimMercatorProjection::operator==(), ossimObliqueMercatorProjection::operator==(), ossimAlbersProjection::operator==(), ossimLambertConformalConicProjection::operator==(), ossimGpt::operator==(), ossimHdf5ImageDataset::scanForValidImageRect(), ossimMercatorProjection::Set_Mercator_Parameters(), ossimKakaduJpipHandler::setProperty(), ossimThreeParamDatum::shiftFromWgs84(), ossimThreeParamDatum::shiftToWgs84(), ossimDrect::stretchToTileBoundary(), ossimDuration::toIso8601DurationString(), ossimImageGeometry::upIsUpAngle(), ossimPolynomProjection::worldToLineSample(), ossimH5GridModel::worldToLineSample(), and ossimSensorModel::worldToLineSample().
|
inline |
Definition at line 265 of file ossimCommon.h.
References DEG_PER_RAD, and x.
Referenced by matrixToHpr().
|
inline |
Definition at line 267 of file ossimCommon.h.
References DEG_PER_RAD, x, and y.
Referenced by ossimGpt::azimuthTo(), ossimRangeDomeTileSource::getTile(), matrixToHpr(), and ossimImageGeometry::upIsUpAngle().
|
inline |
Definition at line 266 of file ossimCommon.h.
References DEG_PER_RAD, and x.
Referenced by ossimViewshedTool::writeHorizonProfile().
ossimByteOrder ossim::byteOrder | ( | ) |
Definition at line 54 of file ossimCommon.cpp.
References OSSIM_BIG_ENDIAN, and OSSIM_LITTLE_ENDIAN.
Referenced by ossimGeoidNgs::addFile(), ossimSrtmSupportData::computeMinMaxTemplate(), ossim_hdf5::crossesDateline(), ossimHdf5ImageDataset::determineScalarType(), ossimPngWriter::doSwap(), ossimHdf5Info::dumpArrayType(), ossimHdf5Info::dumpDataset(), ossimHdf5Info::dumpNumerical(), ossimHdf5Info::dumpNumericalTypeInfo(), ossimHdf5::floatTypeToString(), ossim_hdf5::getBilinearProjection(), ossimHdf5::getByteOrder(), ossim_hdf5::getByteOrder(), ossimEnviHeader::getByteOrder(), ossimGeneralRasterTileSource::getHdrInfo(), ossimMpiMasterOverviewSequencer::getNextTile(), ossim_hdf5::getValidBoundingRect(), ossimXmpInfo::getXmpApp1XmlBlock(), ossimGeoidNgsHeader::initialize(), ossimH5ImageDataset::initialize(), ossimGeneralRasterInfo::initializeFromHdr(), ossimGeneralRasterInfo::initializeFromXml(), ossimNitfTileSource::initializeSwapBytesFlag(), ossimPngReader::initReader(), ossimHdf5::intTypeToString(), ossimGeneralRasterWriter::loadState(), ossimGeoidNgs::open(), ossimGeoidManager::open(), ossimTiffInfo::open(), ossimSrtmHandler::open(), ossimDtedTileSource::ossimDtedTileSource(), ossimGeoidEgm96::ossimGeoidEgm96(), ossimGeoidNgsHeader::ossimGeoidNgsHeader(), ossimJ2kInfo::ossimJ2kInfo(), ossimDtedRecord::parse(), ossimRpfCompressionLookupOffsetRecord::parseStream(), ossimRpfColorConverterOffsetRecord::parseStream(), ossimRpfColorGrayscaleOffsetRecord::parseStream(), ossimRpfCompressionSectionSubheader::parseStream(), ossimRpfAttributeOffsetRecord::parseStream(), ossimRpfColorConverterTable::parseStream(), ossimRpfMaskSubheader::parseStream(), ossimRpfColorConverterSubsection::parseStream(), ossimRpfImageDisplayParameterSubheader::parseStream(), ossimRpfAttributeSectionSubheader::parseStream(), ossimRpfMaskSubsection::parseStream(), ossimRpfImageDescriptionSubheader::parseStream(), ossimJ2kSizRecord::parseStream(), ossimJ2kSotRecord::parseStream(), ossimRpfTocEntry::parseStream(), ossimRpfFrameFileIndexRecord::parseStream(), ossimRpfCoverageSection::parseStream(), ossimRpfCompressionSection::parseStream(), ossimRpfPathnameRecord::parseStream(), ossimRpfBoundaryRectRecord::parseStream(), ossimRpfBoundaryRectSectionSubheader::parseStream(), ossimRpfFrameFileIndexSectionSubheader::parseStream(), ossimJ2kTlmRecord::parseStream(), ossimRpfBoundaryRectTable::parseStream(), ossimJ2kCodRecord::parseStream(), ossimRpfFrameFileIndexSubsection::parseStream(), ossimRpfComponentLocationRecord::parseStream(), ossimRpfReplaceUpdateSectionSubheader::parseStream(), ossimRpfHeader::parseStream(), ossimRpfLocationSection::parseStream(), ossimHdf5Info::print(), ossim_hdf5::printArrayType(), ossim_hdf5::printAttribute(), ossim_hdf5::printFloatType(), ossim_hdf5::printIntType(), ossim_hdf5::printObject(), ossimLasPointRecord0::readStream(), ossimLasPointRecord1::readStream(), ossimLasPointRecord2::readStream(), ossimLasPointRecord3::readStream(), ossimLasPointRecord4::readStream(), ossimLasHdr::readStream(), ossimNitfTileSource::scanForJpegBlockOffsets(), ossimEnviHeader::setByteorder(), ossimH5GridModel::setGridNodes(), ossimGeneralRasterInfo::setImageDataByteOrder(), ossimMpiSlaveOverviewSequencer::slaveProcessTiles(), ossimplugins::EnvisatAsarRecord::SwitchEndian(), ossimplugins::ProcessedDataRecord::SwitchEndian(), ossimDtedRecord::validateCheckSum(), ossimERSFileWriter::writeFile(), ossimOpjCompressor::writeGeotiffBox(), ossimOpjCompressor::writeGmlBox(), ossimKakaduCompressor::writeGmlBox(), ossimJ2kSizRecord::writeStream(), ossimJ2kSotRecord::writeStream(), ossimLasPointRecord0::writeStream(), ossimLasPointRecord4::writeStream(), ossimLasPointRecord2::writeStream(), ossimLasPointRecord3::writeStream(), ossimLasPointRecord1::writeStream(), ossimJ2kTlmRecord::writeStream(), ossimRpfFrameFileIndexSectionSubheader::writeStream(), ossimLasHdr::writeStream(), ossimRpfComponentLocationRecord::writeStream(), ossimRpfReplaceUpdateSectionSubheader::writeStream(), ossimRpfHeader::writeStream(), ossimRpfLocationSection::writeStream(), and ossimWriter::writeTiffHdr().
|
inline |
Definition at line 168 of file ossimCommon.h.
References isnan(), ossimREQUIRE, and x.
Referenced by matrixToHpr(), ossimNormRgbVector::operator*(), ossimRgbVector::operator*(), ossimRgbVector::operator+(), ossimNormRgbVector::operator-(), and ossimRgbVector::operator-().
bool ossim::clipRegionToImage | ( | kdu_core::kdu_codestream & | codestream, |
kdu_core::kdu_dims & | region, | ||
int | discard_levels, | ||
kdu_core::kdu_dims & | clipRegion | ||
) |
Sets clipRegion from region, and image dimensions for level.
This will clip region to the image dimensions for the given discard_levels. Returns false if no intersection.
codestream | Stream to pull from. |
region | The region wanted from codestream. |
discard_levels | The resolution level, 0 being full res. |
clipRegion | The region to initialize. |
Definition at line 49 of file ossimKakaduCommon.cpp.
Referenced by copyRegionToTile(), and ossimKakaduJpipHandler::getTileAtRes().
void ossim::color_apply_icc_profile | ( | opj_image * | image | ) |
void ossim::color_sycc_to_rgb | ( | opj_image * | img | ) |
Definition at line 241 of file ossimOpjColor.cpp.
ossim_uint32 ossim::computeLevels | ( | const ossimIrect & | rect | ) |
Computes the number of decimation levels to get to the overview stop dimension.
This uses ossim preferences "overview_stop_dimension" value if set else it uses the default tile size to compute the number of levels.
rect | The rectangle of the first level. |
Definition at line 1253 of file ossimCommon.cpp.
References defaultTileSize(), ossimIrect::height(), ossimPreferences::instance(), ossimKeywordNames::OVERVIEW_STOP_DIMENSION_KW, ossimString::toUInt32(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by ossimOpjCompressor::initLevels(), and ossimKakaduCompressor::setLevels().
std::string ossim::convertHtmlSpecialCharactersToNormalCharacter | ( | const std::string & | src | ) |
Definition at line 574 of file ossimCommon.cpp.
References ossimString::find(), min(), ossimString::size(), size, and ossimString::substitute().
Referenced by ossimWmsGetMap::read().
bool ossim::copyOpjImage | ( | opj_image * | image, |
ossimImageData * | tile | ||
) |
Definition at line 389 of file ossimOpjCommon.cpp.
References copyOpjSrgbImage(), ossimRectilinearDataObject::getScalarType(), OSSIM_UINT8, ossimNotify(), ossimNotifyLevel_WARN, and status.
bool ossim::copyOpjSrgbImage | ( | T | dummy, |
opj_image * | image, | ||
ossimImageData * | tile | ||
) |
Definition at line 420 of file ossimOpjCommon.cpp.
References ossimImageData::getBuf(), ossimImageData::getHeight(), ossimImageData::getNumberOfBands(), ossimImageData::getWidth(), ossimNotify(), ossimNotifyLevel_WARN, and status.
Referenced by copyOpjImage().
bool ossim::copyRegionToTile | ( | kdu_supp::kdu_channel_mapping * | channelMapping, |
kdu_core::kdu_codestream & | codestream, | ||
int | discard_levels, | ||
kdu_core::kdu_thread_env * | threadEnv, | ||
kdu_core::kdu_thread_queue * | threadQueue, | ||
ossimImageData * | destTile | ||
) |
Copies region from codestream to tile at a given rlevel.
This method takes a channelMapping and decompresses all bands at once. Specifically needed to convert YCC color space to RGB.
Kakadu | channel mapping object. |
codestream | Stream to pull from. |
region | The region wanted from codestream. |
discard_levels | The resolution level, 0 being full res. |
threadEnv | Pointer to kdu_thread_env. |
threadQueue | Pointer to kdu_thread_queue. |
destTile | The ossimImageData object to copy to. |
Definition at line 164 of file ossimKakaduCommon.cpp.
References clipRegionToImage(), ossimImageData::getBuf(), getDims(), ossimImageData::getImageRectangle(), ossimImageData::getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), ossimImageData::getSize(), ossimImageData::getUcharBuf(), ossimImageData::makeBlank(), OSSIM_FLOAT32, OSSIM_SINT16, OSSIM_SINT32, OSSIM_UINT11, OSSIM_UINT12, OSSIM_UINT13, OSSIM_UINT14, OSSIM_UINT15, OSSIM_UINT16, OSSIM_UINT8, ossimNotify(), ossimNotifyLevel_DEBUG, ossimNotifyLevel_WARN, tileNumber, ossimString::toString(), ossimIrect::ul(), unNormalizeTile(), ossimImageData::validate(), ossimImageData::write(), ossimIpt::x, and ossimIpt::y.
Referenced by ossimKakaduNitfReader::getOverviewTile(), ossimKakaduJ2kReader::getOverviewTile(), ossimKakaduJp2Reader::getOverviewTile(), and ossimKakaduJpipHandler::getTileAtRes().
bool ossim::copyRegionToTile | ( | kdu_core::kdu_codestream & | codestream, |
int | discard_levels, | ||
kdu_core::kdu_thread_env * | threadEnv, | ||
kdu_core::kdu_thread_queue * | threadQueue, | ||
ossimImageData * | destTile | ||
) |
Copies region from codestream to tile at a given rlevel.
This method takes a codestream and decompresses each band separately. Specifically needed for n-band data where the kdu_channel_mapping will not work.
codestream | Stream to pull from. |
region | The region wanted from codestream. |
discard_levels | The resolution level, 0 being full res. |
threadEnv | Pointer to kdu_thread_env. |
threadQueue | Pointer to kdu_thread_queue. |
destTile | The ossimImageData object to copy to. |
Definition at line 481 of file ossimKakaduCommon.cpp.
References clipRegionToImage(), ossimImageData::getBuf(), getDims(), ossimImageData::getImageRectangle(), ossimImageData::getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), ossimImageData::getSize(), ossimImageData::getUcharBuf(), ossimImageData::makeBlank(), OSSIM_FLOAT32, OSSIM_SINT16, OSSIM_SINT32, OSSIM_UINT11, OSSIM_UINT12, OSSIM_UINT13, OSSIM_UINT14, OSSIM_UINT15, OSSIM_UINT16, OSSIM_UINT8, ossimNotify(), ossimNotifyLevel_DEBUG, ossimNotifyLevel_WARN, tileNumber, ossimString::toString(), ossimIrect::ul(), unNormalizeTile(), ossimImageData::validate(), ossimImageData::write(), ossimIpt::x, and ossimIpt::y.
|
inline |
Definition at line 259 of file ossimCommon.h.
References RAD_PER_DEG, and x.
Referenced by ossimGpt::azimuthTo(), ossimGdalOgrVectorAnnotation::computeDefaultView(), ossimKmlSuperOverlayReader::createDefaultProj(), ossimOgrVectorTileSource::createDefaultProj(), ossimTopographicCorrectionFilter::executeTopographicCorrectionTemplate(), ossimEllipsoid::geodeticRadii(), ossimEllipsoid::geodeticRadius(), ATP::AtpTileSource::initializeStaticMembers(), ossimEllipsoid::latLonHeightToXYZ(), matrixToHpr(), ossimGpt::metersPerDegree(), ossimLsrSpace::ossimLsrSpace(), ossimIpodSensor::updateModel(), ossimSkyBoxLearSensor::updateModel(), ossimAdjMapModel::updateModel(), ossimLandSatModel::updateModel(), and ossimRpcModel::updateModel().
double ossim::defaultMax | ( | ossimScalarType | scalarType | ) |
Definition at line 152 of file ossimCommon.cpp.
References OSSIM_DEFAULT_MAX_PIX_DOUBLE, OSSIM_DEFAULT_MAX_PIX_FLOAT, OSSIM_DEFAULT_MAX_PIX_NORM_DOUBLE, OSSIM_DEFAULT_MAX_PIX_NORM_FLOAT, OSSIM_DEFAULT_MAX_PIX_SINT16, OSSIM_DEFAULT_MAX_PIX_SINT32, OSSIM_DEFAULT_MAX_PIX_SINT8, OSSIM_DEFAULT_MAX_PIX_UINT11, OSSIM_DEFAULT_MAX_PIX_UINT12, OSSIM_DEFAULT_MAX_PIX_UINT13, OSSIM_DEFAULT_MAX_PIX_UINT14, OSSIM_DEFAULT_MAX_PIX_UINT15, OSSIM_DEFAULT_MAX_PIX_UINT16, OSSIM_DEFAULT_MAX_PIX_UINT32, OSSIM_DEFAULT_MAX_PIX_UINT8, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT11, OSSIM_UINT12, OSSIM_UINT13, OSSIM_UINT14, OSSIM_UINT15, OSSIM_UINT16, OSSIM_UINT32, and OSSIM_UINT8.
Referenced by ossimGdalTileSource::computeMinMax(), ossim3x3ConvolutionFilter::computeNullMinMax(), ossimConvolutionFilter1D::computeNullMinMax(), ossimConvolutionSource::convolve(), ossimImageMetaData::getMaxPix(), ossimImageData::getMaxPix(), ossimCastTileSourceFilter::getMaxPixelValue(), ossimHdf5ImageDataset::getMaxPixelValue(), ossimImageSource::getMaxPixelValue(), ossimImageChain::getMaxPixelValue(), ossimEquationCombiner::getMaxPixelValue(), ossimGdalTileSource::getMaxPixelValue(), ossimImageHandler::getMaxPixelValue(), ossimCastTileSourceFilter::getMinPixelValue(), ossimBandAverageFilter::getMinPixelValue(), ossimHistogramRemapper::initializeClips(), ossimImageData::initializeMaxDefault(), ossimHistogramRemapper::initializeMinMaxOutput(), ossimImageMetaData::setDefaultsForArrays(), ossimHistogramRemapper::setupTable(), ossimImageData::stretchMinMax(), and ossimTiffTileSource::validateMinMaxNull().
double ossim::defaultMin | ( | ossimScalarType | scalarType | ) |
Definition at line 73 of file ossimCommon.cpp.
References OSSIM_DEFAULT_MIN_PIX_DOUBLE, OSSIM_DEFAULT_MIN_PIX_FLOAT, OSSIM_DEFAULT_MIN_PIX_NORM_DOUBLE, OSSIM_DEFAULT_MIN_PIX_NORM_FLOAT, OSSIM_DEFAULT_MIN_PIX_SINT16, OSSIM_DEFAULT_MIN_PIX_SINT32, OSSIM_DEFAULT_MIN_PIX_SINT8, OSSIM_DEFAULT_MIN_PIX_UINT11, OSSIM_DEFAULT_MIN_PIX_UINT12, OSSIM_DEFAULT_MIN_PIX_UINT13, OSSIM_DEFAULT_MIN_PIX_UINT14, OSSIM_DEFAULT_MIN_PIX_UINT15, OSSIM_DEFAULT_MIN_PIX_UINT16, OSSIM_DEFAULT_MIN_PIX_UINT32, OSSIM_DEFAULT_MIN_PIX_UINT8, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, and OSSIM_USHORT15.
Referenced by ossimGdalTileSource::computeMinMax(), ossim3x3ConvolutionFilter::computeNullMinMax(), ossimConvolutionFilter1D::computeNullMinMax(), ossimConvolutionSource::convolve(), ossimCastTileSourceFilter::getMaxPixelValue(), ossimBandAverageFilter::getMaxPixelValue(), ossimImageMetaData::getMinPix(), ossimImageData::getMinPix(), ossimCastTileSourceFilter::getMinPixelValue(), ossimHdf5ImageDataset::getMinPixelValue(), ossimImageSource::getMinPixelValue(), ossimImageChain::getMinPixelValue(), ossimEquationCombiner::getMinPixelValue(), ossimGdalTileSource::getMinPixelValue(), ossimImageHandler::getMinPixelValue(), ossimHistogramRemapper::initializeClips(), ossimImageData::initializeMinDefault(), ossimHistogramRemapper::initializeMinMaxOutput(), ossimPiecewiseRemapper::initMinMax(), ossimImageMetaData::setDefaultsForArrays(), ossimHistogramRemapper::setupTable(), ossimImageData::stretchMinMax(), and ossimTiffTileSource::validateMinMaxNull().
double ossim::defaultNull | ( | ossimScalarType | scalarType | ) |
Definition at line 231 of file ossimCommon.cpp.
References OSSIM_DEFAULT_NULL_PIX_DOUBLE, OSSIM_DEFAULT_NULL_PIX_FLOAT, OSSIM_DEFAULT_NULL_PIX_NORM_DOUBLE, OSSIM_DEFAULT_NULL_PIX_NORM_FLOAT, OSSIM_DEFAULT_NULL_PIX_SINT16, OSSIM_DEFAULT_NULL_PIX_SINT32, OSSIM_DEFAULT_NULL_PIX_SINT8, OSSIM_DEFAULT_NULL_PIX_UINT11, OSSIM_DEFAULT_NULL_PIX_UINT12, OSSIM_DEFAULT_NULL_PIX_UINT13, OSSIM_DEFAULT_NULL_PIX_UINT14, OSSIM_DEFAULT_NULL_PIX_UINT15, OSSIM_DEFAULT_NULL_PIX_UINT16, OSSIM_DEFAULT_NULL_PIX_UINT32, OSSIM_DEFAULT_NULL_PIX_UINT8, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT11, OSSIM_UINT12, OSSIM_UINT13, OSSIM_UINT14, OSSIM_UINT15, OSSIM_UINT16, OSSIM_UINT32, and OSSIM_UINT8.
Referenced by ossimGdalTileSource::computeMinMax(), ossimImageData::computeMinMaxNulPix(), ossimSrtmSupportData::computeMinMaxTemplate(), ossim3x3ConvolutionFilter::computeNullMinMax(), ossimConvolutionFilter1D::computeNullMinMax(), ossimImageMetaData::getNullPix(), ossimImageData::getNullPix(), ossim3x3ConvolutionFilter::getNullPixelValue(), ossimCastTileSourceFilter::getNullPixelValue(), ossimConvolutionFilter1D::getNullPixelValue(), ossimImageSource::getNullPixelValue(), ossimImageChain::getNullPixelValue(), ossimEquationCombiner::getNullPixelValue(), ossimGdalTileSource::getNullPixelValue(), ossimImageHandler::getNullPixelValue(), ossimImageData::initializeNullDefault(), ossimImageMetaData::setDefaultsForArrays(), ossimImageData::stretchMinMax(), and ossimTiffTileSource::validateMinMaxNull().
void ossim::defaultTileSize | ( | ossimIpt & | tileSize | ) |
Definition at line 525 of file ossimCommon.cpp.
References ossimPreferences::instance(), OSSIM_DEFAULT_TILE_HEIGHT, OSSIM_DEFAULT_TILE_WIDTH, ossimString::split(), ossimIpt::x, and ossimIpt::y.
Referenced by ossimJpegTileSource::allocate(), ossimPngReader::allocate(), computeLevels(), ossimImageDataFactory::create(), ossimImageSource::getTileHeight(), ossimPointCloudImageHandler::getTileHeight(), ossimGpkgReader::getTileHeight(), ossimNitfTileSource::getTileHeight(), ossimLasReader::getTileHeight(), ossimTiffTileSource::getTileHeight(), ossimPdfWriter::getTileSize(), ossimImageSource::getTileWidth(), ossimPointCloudImageHandler::getTileWidth(), ossimGpkgReader::getTileWidth(), ossimNitfTileSource::getTileWidth(), ossimLasReader::getTileWidth(), ossimTiffTileSource::getTileWidth(), ossimOverviewBuilderBase::initializePreferenceSettings(), ossimKakaduJ2kReader::initializeTile(), ossimKakaduJp2Reader::initializeTile(), ossimTiffWriter::loadState(), ossimCacheTileSource::ossimCacheTileSource(), ossimDtedTileSource::ossimDtedTileSource(), ossimFixedTileCache::ossimFixedTileCache(), ossimImageData::ossimImageData(), ossimImageElevationHandler::ossimImageElevationHandler(), ossimImageSourceSequencer::ossimImageSourceSequencer(), ossimNitfWriter::ossimNitfWriter(), ossimWriter::ossimWriter(), and ossimFixedTileCache::setRect().
|
inline |
Definition at line 258 of file ossimCommon.h.
References RAD_PER_DEG, and x.
Referenced by ossim::Quaternion::makeRotate(), ossimIpodSensor::updateModel(), ossimSkyBoxLearSensor::updateModel(), ossimSonomaSensor::updateModel(), and ossimRsmModel::worldToLineSample().
bool ossim::extractSimpleValues | ( | std::vector< ossimString > & | values, |
const ossimString & | stringOfPoints | ||
) |
Generic function to extract a list of values into a vector of string where the string of points is of the form:
(value1,value2, ... , )
Parenthesis are required
Definition at line 948 of file ossimCommon.cpp.
References ossimString::empty(), and skipws().
Referenced by toSimpleVector().
|
inline |
Definition at line 372 of file ossimCommon.h.
References MTRS_PER_FT.
Referenced by ossimGeoTiff::convert2meters().
IntType ossim::gcd | ( | IntType | n, |
IntType | m | ||
) |
Definition at line 271 of file ossimCommon.h.
References n.
Referenced by gcd< int >(), lcm(), ossimRationalNumber::normalize(), ossimRationalNumber::operator*(), ossimRationalNumber::operator*=(), ossimRationalNumber::operator+(), ossimRationalNumber::operator+=(), ossimRationalNumber::operator-(), and ossimRationalNumber::operator-=().
|
inline |
Definition at line 300 of file ossimCommon.h.
ossim_uint32 ossim::getActualBitsPerPixel | ( | ossimScalarType | scalarType | ) |
Get actual bits per pixel for a given scalar type.
This is bits used. (OSSIM_USHORT11 = 11)
Definition at line 392 of file ossimCommon.cpp.
References OSSIM_CFLOAT32, OSSIM_CFLOAT64, OSSIM_CINT16, OSSIM_CINT32, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, and OSSIM_USHORT15.
Referenced by ossimOpjCompressor::createOpjImage(), ossimNitf20Writer::writeBlockBandSeparate(), ossimNitfWriter::writeBlockBandSeparate(), ossimNitf20Writer::writeBlockBandSequential(), ossimNitfWriter::writeBlockBandSequential(), and ossimKakaduCompressor::writeTile().
ossim_uint32 ossim::getBitsPerPixel | ( | ossimScalarType | scalarType | ) |
Get bits per pixel for a given scalar type.
This the total bits per pixel. (OSSIM_USHORT11 = 16)
Definition at line 471 of file ossimCommon.cpp.
References OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, and OSSIM_USHORT15.
Referenced by ossimOpjCompressor::createOpjImage(), ossimNitfCommon::getCompressionRate(), ossimNitf20Writer::writeBlockBandSeparate(), ossimNitfWriter::writeBlockBandSeparate(), ossimNitf20Writer::writeBlockBandSequential(), ossimNitfWriter::writeBlockBandSequential(), and ossimWriter::writeTiffTags().
ossim_int32 ossim::getCodecFormat | ( | std::istream * | str | ) |
Gets codec format from magic number.
Definition at line 479 of file ossimOpjCommon.cpp.
bool ossim::getCodestreamDimensions | ( | kdu_core::kdu_codestream & | codestream, |
std::vector< ossimIrect > & | imageDims, | ||
std::vector< ossimIrect > & | tileDims | ||
) |
Gets image and tile dimensions from codestream for each resolution level (rlevel).
Note that on entry the arrays are cleared so they will be empty on failure.
codestream | The codestream to read from. |
imageDims | Array to initialize with image size of each rlevel. This will have any sub image offset applied to it. |
tileDims | Array to initialize with tile size of each rlevel. This is zero base tile size. No sub image offset if there is one. |
Definition at line 75 of file ossimKakaduCommon.cpp.
References getRect().
void ossim::getDims | ( | const ossimIrect & | rect, |
kdu_core::kdu_dims & | dims | ||
) |
Convenience method to convert ossimIrect to kdu_dims.
rect | The ossimIrect to convert. |
dims | This kdu_dim to initialize. |
Definition at line 33 of file ossimKakaduCommon.cpp.
References ossimIrect::height(), ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by copyRegionToTile().
void ossim::getFormattedTime | ( | const std::string & | format, |
bool | gmtFlag, | ||
std::string & | result | ||
) |
Gets the current time.
Example formats and output: format = "%Y-%m-%dT%H:%M:%SZ" output = "2014-03-06T13:55:10Z"
format | E.g. "%Y-%m-%dT%H:%M:%SZ" |
gmtFlag | If true get the zulu time; else, gets the local time. |
result | Initialized by this with result. |
E.g. "2014-03-06T13:55:10Z"
Definition at line 1204 of file ossimCommon.cpp.
Referenced by ossimFilename::appendTimestamp(), ossimImageUtil::gsubDate(), ossimAutRegUtil::saveAdjustment(), ossimTieMeasurementGenerator::summarizeRun(), and ossimAdjustmentExecutive::summarizeSolution().
ossim_uint32 ossim::getNumberOfThreads | ( | ) |
Get the number threads to use from ossimPreferences or ossim::Thread.
Keyword searched for is: "ossim_threads"
If keyword is not found ossim::Thread::getNumberOfProcessors() is used.
Definition at line 1185 of file ossimCommon.cpp.
References ossimPreferences::findPreference(), ossim::Thread::getNumberOfProcessors(), ossimPreferences::instance(), and ossimString::toUInt32().
Referenced by ossimHlzTool::computeHLZ(), ossimViewshedTool::computeViewshed(), and ossimMultiThreadSequencer::setToStartOfSequence().
std::string ossim::getProgressionOrderString | ( | ossim_int32 | prog_order | ) |
void ossim::getRect | ( | const kdu_core::kdu_dims & | dims, |
ossimIrect & | rect | ||
) |
Convenience method to convert kdu_core::kdu_dims to ossimIrect.
dims | This kdu_dim to convert. |
rect | The ossimIrect to initialize. |
Definition at line 41 of file ossimKakaduCommon.cpp.
Referenced by getCodestreamDimensions().
ossim_int64 ossim::getTime | ( | ) |
Gets the current time.
Wrapper around time.h time_t time(time_t *t) with a mutex lock.
Note that time_t is a long int. Returning ossim_int64 to avoid include of time.h.
Definition at line 1243 of file ossimCommon.cpp.
Referenced by ossimFilename::lastAccessed(), and ossimImageHandlerMtAdaptor::writeTime().
|
inline |
|
inline |
|
inline |
Definition at line 152 of file ossimCommon.h.
|
inline |
isnan Test for floating point Not A Number (NAN) value.
This should be used test for nan. DO NOT USE operator==. Like "if (height == ossim::nan())"
Definition at line 91 of file ossimCommon.h.
References isnan().
Referenced by ossimKakaduNitfReader::allocateBuffers(), ossimGpt::changeDatum(), clamp(), ossimPositionQualityEvaluator::computeElevAzim(), ossimImageGeometry::computeGroundToImagePartials(), ATP::AtpGenerator::constructChain(), RadialProcessor::doRadial(), ossimGeoidNgs::ellipsoidToGeoidHeight(), ossimGeoidEgm96::ellipsoidToGeoidHeight(), ossimNitfTileSource::establishDecimationFactors(), ossimPositionQualityEvaluator::extractErrorEllipse(), ossimQuadProjection::extrapolate(), ossimPixelFlipper::flipPixels(), ossimGeoidNgs::geoidToEllipsoidHeight(), ossimGeoidEgm96::geoidToEllipsoidHeight(), ossimRpcModel::getForwardDeriv(), ossimTieGptSet::getGroundBoundaries(), ossimElevManager::getHeightAboveEllipsoid(), ossimImageElevationDatabase::getHeightAboveEllipsoid(), ossimElevManager::getHeightAboveMSL(), ossimPdfWriter::getLgiDictCtm(), ossimShiftFilter::getMaxPixelValue(), ossimImageCacheTileSource::getMaxPixelValue(), ossimKakaduNitfReader::getMaxPixelValue(), ossimNitfUse00aTag::getMeanGsdInMeters(), ossimNitfPiaimcTag::getMeanGsdInMeters(), ossimElevManager::getMeanSpacingMeters(), ossimShiftFilter::getMinPixelValue(), ossimImageCacheTileSource::getMinPixelValue(), ossimKakaduNitfReader::getMinPixelValue(), ossimGpkgTileEntry::getNewMapProjection(), ossimShiftFilter::getNullPixelValue(), ossimImageCacheTileSource::getNullPixelValue(), ossimKakaduNitfReader::getNullPixelValue(), ossimElevationDatabase::getOffsetFromEllipsoid(), ossimIntensityAdjustmentFilter::getTile(), ossimBrightnessMatch::getTile(), ossimShiftFilter::getTile(), ossimH5GridModel::getWktFootprint(), ossimTDpt::hasNans(), ossimFpt::hasNans(), ossimDpt3d::hasNans(), ossimDpt::hasNans(), ossimEcefPoint::hasNans(), ossimTieGpt::hasNans(), ossimEcefVector::hasNans(), ossimLsrPoint::hasNans(), ossimLsrVector::hasNans(), ossimPointObservation::hasNans(), ossimGpt::hasNans(), ossimElevationAccuracyInfo::hasValidAbsoluteError(), ossimElevationAccuracyInfo::hasValidRelativeError(), ossimHistogramEqualization::initializeLuts(), ATP::AtpTileSource::initializeStaticMembers(), ossimSonomaSensor::intersectRay(), inverseLerp(), ossimGpt::isEqualTo(), ossimGpt::isHgtNan(), ossimGpt::isLatLonNan(), ossimGpt::isLatNan(), ossimGrect::isLonLatNan(), ossimGpt::isLonLatNan(), ossimGpt::isLonNan(), ossimTDpt::isNan(), ossimDpt::isNan(), ossimEcefPoint::isNan(), ossimTieGpt::isNan(), ossimEcefVector::isNan(), ossimPointObservation::isNan(), ossimGpt::isNan(), ossimHlzTool::LsFitPatchProcessorJob::level1Test(), ossimHlzTool::NormPatchProcessorJob::level1Test(), ossimPpjFrameSensor::lineSampleHeightToWorld(), ossimPolynomProjection::lineSampleHeightToWorld(), ossimRsmModel::lineSampleHeightToWorld(), ossimBilinearProjection::lineSampleHeightToWorld(), ossimSonomaSensor::lineSampleHeightToWorld(), ossimSarModel::lineSampleHeightToWorld(), ossimRpcModel::lineSampleHeightToWorld(), ossimSrtmFilename::ll(), ossimIpodSensor::loadState(), ossimSkyBoxLearSensor::loadState(), ossimSonomaSensor::loadState(), ossimSrtmFilename::lr(), max< ossim_float32 >(), max< ossim_float64 >(), min< ossim_float32 >(), min< ossim_float64 >(), ossimDatum::molodenskyShift(), ossimGeoidManager::offsetFromEllipsoid(), ossimPolynomProjection::optimizeFit(), ossimInfo::outputHeight(), ossimNitfFile::print(), ossimTDpt::print(), ossimObservationSet::print(), ossimTieGpt::print(), ossimDpt::print(), ossimPointObservation::print(), ossimMapProjection::print(), ossimResampler::resamplePartialTile(), round(), ossimPointCloudImageHandler::setGSD(), ossimHistogramRemapper::setHighClipPoint(), ossimHistogramRemapper::setLowClipPoint(), ossimRangeDomeTileSource::setProperty(), ossimPointCloudImageHandler::setProperty(), ossimHistogramRemapper::setupTable(), sgn(), sgn< ossim_float32 >(), ossimNadconNarDatum::shift(), ossimRpcSolver::solveCoefficients(), ossimDpt::toString(), ossimDpt3d::toString(), ossimColumnVector3d::toString(), ossimString::toString(), ossimSrtmFilename::ul(), ossimImageGeometry::upIsUpAngle(), ossimSrtmFilename::ur(), ossimTiffTileSource::validateMinMaxNull(), ossimRsmModel::worldToLineSample(), ossimPolynomProjection::worldToLineSample(), ossimH5GridModel::worldToLineSample(), ossimSensorModel::worldToLineSample(), and wrap().
|
inline |
bool ossim::isSigned | ( | ossimScalarType | scalarType | ) |
Definition at line 370 of file ossimCommon.cpp.
References OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_SINT16, OSSIM_SINT32, and OSSIM_SINT8.
Referenced by ossimOpjCompressor::createOpjImage(), ossimJ2kSizRecord::getScalarType(), ossimHdf5::getScalarType(), ossim_hdf5::getScalarType(), ossim_hdf5::printAttribute(), ossim_hdf5::printIntType(), ossim_hdf5::printObject(), and ossimKakaduCompressor::writeTile().
bool ossim::isWhiteSpace | ( | int | c | ) |
Definition at line 49 of file ossimCommon.cpp.
Referenced by skipws().
IntType ossim::lcm | ( | IntType | n, |
IntType | m | ||
) |
Definition at line 315 of file ossimCommon.h.
|
inline |
void ossim::lexQuotedTokens | ( | const std::string & | str, |
ossim_uint32 | start, | ||
const char * | whitespace, | ||
const char * | quotes, | ||
std::vector< std::string > & | tokens, | ||
bool & | unbalancedQuotes | ||
) |
bool ossim::matrixToHpr | ( | ossim_float64 | hpr[3], |
const NEWMAT::Matrix & | rotation | ||
) |
Heading pitch roll extraction from a matrix.
Definition at line 613 of file ossimCommon.cpp.
References asind(), atan2d(), clamp(), cosd(), and ossimDpt3d::length().
Referenced by matrixToHpr().
bool ossim::matrixToHpr | ( | ossim_float64 | hpr[3], |
const NEWMAT::Matrix & | lsrMatrix, | ||
const NEWMAT::Matrix & | rotationalMatrix | ||
) |
Heading pitch roll extraction from a matrix.
Definition at line 680 of file ossimCommon.cpp.
References abs, FLT_EPSILON, and matrixToHpr().
|
inline |
Definition at line 236 of file ossimCommon.h.
Referenced by ossimDrect::clipToRect(), ossimAnnotationEllipseObject::computeBoundingRect(), ossimImageHistogramSource::computeFastModeHistogram(), ossimBrightnessMatch::computeInputBrightness(), ossimCacheTileSource::getCacheId(), ossimApplicationUsage::getFormatedString(), ossimScaleFilter::getSupport(), ossimImageRenderer::initializeBoundingRects(), ossimIgen::initThumbnailProjection(), ossimGrect::intersects(), ossimIrect::intersects(), ossimDrect::intersects(), ossimVpfExtent::operator+(), ossimIrect::ossimIrect(), ossimScaleFilter::runHorizontalFilterTemplate(), ossimScaleFilter::runVerticalFilterTemplate(), and ossimThinPlateSpline::solve().
|
inline |
Definition at line 242 of file ossimCommon.h.
References isnan().
|
inline |
Definition at line 250 of file ossimCommon.h.
References isnan().
Referenced by ossimGrect::clipToRect(), and ossimGpkgWriter::initializeRect().
|
inline |
Definition at line 390 of file ossimCommon.h.
|
inline |
Definition at line 395 of file ossimCommon.h.
References ossimSTATIC_CHECK.
|
inline |
Definition at line 203 of file ossimCommon.h.
Referenced by ossimMeanMedianFilter::applyMean(), ossimMeanMedianFilter::applyMeanNullCenterOnly(), ossimMeanMedianFilter::applyMedian(), ossimMeanMedianFilter::applyMedianNullCenterOnly(), ossimGdalWriter::buildGdalOverviews(), ossimDrect::clipToRect(), ossimImageHistogramSource::computeFastModeHistogram(), ossimImageHistogramSource::computeNormalModeHistogram(), convertHtmlSpecialCharactersToNormalCharacter(), ossimNBandToIndexFilter::convertInputTileToOutputTemplate(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimTopographicCorrectionFilter::executeTopographicCorrectionMinnaertTemplate(), ossimCacheTileSource::getCacheId(), ossimApplicationUsage::getFormatedString(), ossimChipperUtil::getIrect(), ossimImageMetaData::getMaxPix(), ossimImageMetaData::getMinPix(), ossimImageMetaData::getNullPix(), ossimClosestToCenterCombiner::getTile(), ossimImageRenderer::initializeBoundingRects(), ossimGrect::intersects(), ossimIrect::intersects(), ossimDrect::intersects(), ossimVpfExtent::operator+(), ossimIrect::ossimIrect(), ossimMatrixProperty::resize(), ossimTopographicCorrectionFilter::resizeArrays(), ossimScaleFilter::runHorizontalFilterTemplate(), ossimScaleFilter::runVerticalFilterTemplate(), ossimImageData::setNumberOfBands(), ossimThinPlateSpline::solve(), and ossimKakaduCompressor::writeTile().
|
inline |
Definition at line 210 of file ossimCommon.h.
References isnan(), and nan().
|
inline |
Definition at line 223 of file ossimCommon.h.
References isnan(), and nan().
Referenced by ossimGrect::clipToRect(), ossimElevationCellDatabase::getCellsForBounds(), and ossimGpkgWriter::initializeRect().
|
inline |
|
inline |
Definition at line 375 of file ossimCommon.h.
References US_METERS_PER_FT.
Referenced by ossimMapProjectionInfo::getUsSurveyFeetPerPixel(), ossimMapProjectionInfo::llEastingNorthingPtInFt(), ossimMapProjectionInfo::lrEastingNorthingPtInFt(), ossimMapProjectionInfo::ulEastingNorthingPtInFt(), and ossimMapProjectionInfo::urEastingNorthingPtInFt().
|
inline |
Method to return ieee floating point double precision NAN.
Definition at line 135 of file ossimCommon.h.
Referenced by ossimLsrVector::angleTo(), ossim::JsonParam::asFloat(), ossimVpfAnnotationFeatureInfo::buildPointFeature(), ossimVpfAnnotationFeatureInfo::buildTxtFeature(), ossimDtedHandler::DtedHeight::calcHeight(), ossimSrtmSupportData::clear(), ossimFormosatDimapSupportData::clearFields(), ossimSpotDimapSupportData::clearFields(), ossimVideoSource::computeFrameTime(), ossimUnitConversionTool::computeMeters(), ATP::AtpTileSource::computeParallax(), ossimSpotDimapSupportData::convertTimeStamp(), ossimFormosatDimapSupportData::convertTimeStamp(), ossimLsrVector::cross(), ossimGeoidNgs::deltaHeight(), ossimLsrVector::dot(), ossimQuadProjection::extrapolate(), ossimTiledElevationDatabase::fillGrid(), ossimIgenGenerator::generateGeoTiledSpecList(), ossimSpotDimapSupportData::getAttSampTime(), ossimFormosatDimapSupportData::getAttSampTime(), ossimShapeObject::getBounds(), ossimPolyLine::getBounds(), ossimShapeFile::getBounds(), ossimChipperUtil::getCentralMeridian(), ossimKakaduJ2kReader::getDecimationFactor(), ossimNitfImageHeader::getDecimationFactor(), ossimSpotDimapSupportData::getEphSampTime(), ossimFormosatDimapSupportData::getEphSampTime(), ossimPointRecord::getField(), ossimPointBlock::getFieldMax(), ossimPointBlock::getFieldMin(), ossimPolygon::getFloatBounds(), ossimNitfRpcModel::getGsd(), ossimSrtmElevationDatabase::getHeightAboveEllipsoid(), ossimDtedElevationDatabase::getHeightAboveEllipsoid(), ossimElevManager::getHeightAboveEllipsoid(), ossimGeneralRasterElevationDatabase::getHeightAboveEllipsoid(), ossimTiledElevationDatabase::getHeightAboveEllipsoid(), ossimSrtmElevationDatabase::getHeightAboveMSL(), ossimImageElevationHandler::getHeightAboveMSL(), ossimDtedElevationDatabase::getHeightAboveMSL(), ossimSrtmHandler::getHeightAboveMSL(), ossimElevManager::getHeightAboveMSL(), ossimGeneralRasterElevationDatabase::getHeightAboveMSL(), ossimImageElevationDatabase::getHeightAboveMSL(), ossimTiledElevationDatabase::getHeightAboveMSL(), ossimDtedHandler::getHeightAboveMSL(), ossimSrtmHandler::getHeightAboveMSLFileTemplate(), ossimGeneralRasterElevHandler::getHeightAboveMSLFileTemplate(), ossimSrtmHandler::getHeightAboveMSLMemoryTemplate(), ossimGeneralRasterElevHandler::getHeightAboveMSLMemoryTemplate(), ossimGeoidNgsHeader::getHeightDelta(), ossimHistogramRemapper::getHighClipPoint(), ossimHistogram::getHighFractionFromValue(), ossimHistogramRemapper::getHighNormalizedClipPoint(), ossimSpotDimapSupportData::getInterpolatedLookAngle(), ossimFormosatDimapSupportData::getInterpolatedLookAngle(), ossimHistogramRemapper::getLowClipPoint(), ossimHistogram::getLowFractionFromValue(), ossimHistogramRemapper::getLowNormalizedClipPoint(), ossimHistogramRemapper::getMaxOutputValue(), ossimBandMergeSource::getMaxPixelValue(), ossimLinearStretchRemapper::getMaxPixelValue(), ossimImageCombiner::getMaxPixelValue(), ossimKMeansClustering::getMaxValue(), ossimMultiBandHistogramTileSource::getMaxValuePercent(), ossimKMeansClustering::getMean(), ossimElevManager::getMeanSpacingMeters(), ossimWarpProjection::getMetersPerPixel(), ossimAffineProjection::getMetersPerPixel(), ossimHistogramRemapper::getMidPoint(), ossimHistogramRemapper::getMinOutputValue(), ossimLinearStretchRemapper::getMinPixelValue(), ossimImageCombiner::getMinPixelValue(), ossimKMeansClustering::getMinValue(), ossimMultiBandHistogramTileSource::getMinValuePercent(), ossimRgbToHsvSource::getNullPixelValue(), ossimRgbToHsiSource::getNullPixelValue(), ossimFftFilter::getNullPixelValue(), ossimBandMergeSource::getNullPixelValue(), ossimChipperUtil::getOriginLatitude(), ossimSpotDimapSupportData::getPixelLookAngleX(), ossimSpotDimapSupportData::getPixelLookAngleY(), ossimImageElevationHandler::getPostValue(), ossimSrtmHandler::getPostValue(), ossimGeneralRasterElevHandler::getPostValue(), ossimChipperUtil::getRotation(), ossimNadconGridFile::getShiftAtLatLon(), ossimKMeansClustering::getSigma(), ossimImageGeometry::getTiePoint(), ossimUnitConversionTool::getValue(), ossimQuickbirdTileInfo::initialize(), ossimQuadProjection::initializeGrids(), ossimHistogramEqualization::initializeLuts(), ossimDblGrid::interpolate(), ossimBngProjection::inverse(), ossimHlzTool::PatchProcessorJob::level2Test(), ossimAdjMapModel::lineSampleHeightToWorld(), ossimQuadProjection::lineSampleToWorld(), ossimBilinearProjection::lineSampleToWorld(), ossimMapProjection::lineSampleToWorld(), ossimPointCloudTool::loadDem(), ossimQuadProjection::loadState(), ossimLsrVector::magnitude(), ossimElevationAccuracyInfo::makeNan(), ossimTDpt::makeNan(), ossimFpt::makeNan(), ossimDpt3d::makeNan(), ossimEcefPoint::makeNan(), ossimDpt::makeNan(), ossimTieGpt::makeNan(), ossimEcefVector::makeNan(), ossimLsrPoint::makeNan(), ossimLsrVector::makeNan(), ossimPointObservation::makeNan(), ossimGpt::makeNan(), ossimTiledElevationDatabase::mapRegion(), min< ossim_float32 >(), min< ossim_float64 >(), ossimImageGeometry::northUpAngle(), ossimGeoidEgm96::offsetFromEllipsoid(), ossimGeoidManager::offsetFromEllipsoid(), ossimGeoidImage::offsetFromEllipsoid(), ossimGeoidImage::offsetFromEllipsoidTemplate(), ossimLsrVector::operator+(), ossimLsrPoint::operator+(), ossimLsrPoint::operator-(), ossimLsrVector::operator-(), operator>>(), ossimApplanixEOFile::ossimApplanixEOFile(), ossimEsriShapeFileFilter::ossimEsriShapeFileFilter(), ossimImageHistogramSource::ossimImageHistogramSource(), ossimLlxyProjection::ossimLlxyProjection(), ossimLsrRay::ossimLsrRay(), ossimPointRecord::ossimPointRecord(), ossimInfo::outputHeight(), ossimQuickbirdRpcModel::parseNitfFile(), ossimResampler::resamplePartialTile(), RTTI_DEF1(), ossimSrtmFilename::setFilename(), ossimGeneralRasterElevHandler::setFilename(), ossimH5GridModel::setGridNodes(), ossimString::toDouble(), ossimString::toFloat32(), ossimString::toFloat64(), ossimDpt3d::toPoint(), ossimColumnVector3d::toPoint(), ossimGeoAnnotationMultiPolyLineObject::transform(), ossimLsrVector::unitVector(), ossimBngProjection::update(), ossimImageGeometry::upIsUpAngle(), and ossimAdjMapModel::worldToLineSample().
Definition at line 299 of file JsonConfig.cpp.
References ossim::JsonParam::saveJSON().
std::ostream& ossim::operator<< | ( | std::ostream & | out, |
const JsonConfig & | obj | ||
) |
Definition at line 472 of file JsonConfig.cpp.
References ossim::JsonConfig::saveJSON().
bool ossim::opj_decode | ( | std::ifstream * | in, |
const ossimIrect & | rect, | ||
ossim_uint32 | resLevel, | ||
ossim_int32 | format, | ||
std::streamoff | fileOffset, | ||
ossimImageData * | tile | ||
) |
you may here add custom decoding parameters
Definition at line 143 of file ossimOpjCommon.cpp.
References status.
void ossim::opj_error_callback | ( | const char * | msg, |
void * | |||
) |
Callback method for errors.
Definition at line 46 of file ossimOpjCommon.cpp.
References ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimOpjCompressor::createOpjCodec().
void ossim::opj_info_callback | ( | const char * | msg, |
void * | |||
) |
Callback method for info.
Definition at line 58 of file ossimOpjCommon.cpp.
Referenced by ossimOpjCompressor::createOpjCodec().
void ossim::opj_warning_callback | ( | const char * | msg, |
void * | |||
) |
Callback method for warnings.
Definition at line 52 of file ossimOpjCommon.cpp.
References ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimOpjCompressor::createOpjCodec().
ossim::OSSIM_DLL_DATA | ( | const IntFloatBitCoercion | ) |
Declaration of nan part of nan() declared here for inline ossim::nan().
std::ostream & ossim::print | ( | std::ostream & | out, |
const opj_codestream_info & | info | ||
) |
Prints codestream info from openjpeg struct opj_codestream_info.
Definition at line 512 of file ossimOpjCommon.cpp.
References ossimString::string(), and ossimString::toString().
std::ostream & ossim::print | ( | std::ostream & | out, |
const opj_cparameters & | param | ||
) |
Prints compression parameters from openjpeg struct opj_cparameters.
Definition at line 578 of file ossimOpjCommon.cpp.
References getProgressionOrderString().
std::ostream & ossim::print | ( | std::ostream & | out, |
const opj_dparameters & | param | ||
) |
Prints decode parameters from openjpeg struct opj_dparameters.
Definition at line 765 of file ossimOpjCommon.cpp.
std::ostream & ossim::print | ( | std::ostream & | out, |
const opj_image & | image | ||
) |
Prints opj_image structure.
Definition at line 801 of file ossimOpjCommon.cpp.
References ossim_hdf5::print(), ossimString::string(), and ossimString::toString().
std::ostream & ossim::print | ( | std::ostream & | out, |
const opj_image_comp & | comp | ||
) |
Prints opj_image_comp structure.
Definition at line 847 of file ossimOpjCommon.cpp.
std::ostream & ossim::print | ( | std::ostream & | out, |
kdu_core::kdu_codestream & | cs | ||
) |
Convenience print method for kdu_codestream.
Definition at line 860 of file ossimKakaduCommon.cpp.
std::ostream & ossim::print | ( | std::ostream & | out, |
const kdu_core::kdu_dims & | dims | ||
) |
Convenience print method for kdu_dims.
Definition at line 882 of file ossimKakaduCommon.cpp.
References ossim_hdf5::print().
std::ostream & ossim::print | ( | std::ostream & | out, |
const kdu_core::kdu_coords & | coords | ||
) |
Convenience print method for kdu_coords.
Definition at line 892 of file ossimKakaduCommon.cpp.
T ossim::quaderp | ( | S | x, |
T | begin, | ||
T | middle, | ||
T | end | ||
) |
std::pair<T, T> ossim::quadraticRoots | ( | T | a, |
T | b, | ||
T | c | ||
) |
Definition at line 379 of file ossimCommon.h.
|
inline |
Definition at line 257 of file ossimCommon.h.
References DEG_PER_RAD, and x.
Referenced by ossim::Quaternion::getRotate(), ossimMercatorProjection::inverse(), and ossimRsmModel::lineSampleHeightToWorld().
|
inline |
Definition at line 361 of file ossimCommon.h.
References isnan(), ossimENSURE, and x.
ossim_uint32 ossim::scalarSizeInBytes | ( | ossimScalarType | scalarType | ) |
Definition at line 311 of file ossimCommon.cpp.
References OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, and OSSIM_USHORT15.
Referenced by ossimNitfCommon::getCompressionRate(), ossimRectilinearDataObject::getScalarSizeInBytes(), ossimGdalTileSource::getTile(), ossimHdf5ImageHandler::getTile(), ossimH5ImageHandler::getTile(), ossimImageCombiner::initialize(), ossimH5ImageDataset::initialize(), ossimSrtmHandler::open(), ossimTiffWriter::openTiff(), ossimImageMetaData::ossimImageMetaData(), ossim_hdf5::printObject(), ossimHdf5ImageDataset::scanForMinMax(), ossimImageMetaData::setScalarType(), ossimImageMetaData::updateMetaData(), ossimNitf20Writer::writeBlockBandSeparate(), ossimNitfWriter::writeBlockBandSeparate(), ossimNitf20Writer::writeBlockBandSequential(), and ossimNitfWriter::writeBlockBandSequential().
|
inline |
Definition at line 339 of file ossimCommon.h.
Referenced by ossimPositionQualityEvaluator::atan3(), ossimImageGeometry::calculatePolyBounds(), ossimImageViewProjectionTransform::getViewSegments(), and ossimImageViewProjectionTransform::initializeViewSize().
|
inline |
Definition at line 353 of file ossimCommon.h.
|
inline |
Definition at line 346 of file ossimCommon.h.
|
inline |
Definition at line 260 of file ossimCommon.h.
References RAD_PER_DEG, and x.
Referenced by ossimEllipsoid::geodeticRadii(), ossimEllipsoid::geodeticRadius(), ossimEllipsoid::latLonHeightToXYZ(), ossimLsrSpace::ossimLsrSpace(), ossimIpodSensor::updateModel(), ossimSkyBoxLearSensor::updateModel(), ossimAdjMapModel::updateModel(), ossimLandSatModel::updateModel(), and ossimRpcModel::updateModel().
std::istream & ossim::skipws | ( | std::istream & | in | ) |
Definition at line 38 of file ossimCommon.cpp.
References isWhiteSpace().
Referenced by extractSimpleValues(), ossimEnviHeader::isEnviHeader(), ossimNmeaMessage::parseMessage(), ossimEnviHeader::readStream(), ossimIrect::toRect(), ossimDrect::toRect(), toSimpleVector(), and toVector().
|
inline |
Definition at line 334 of file ossimCommon.h.
References x.
Referenced by Cholesky(), ossimMagicFilter::filter(), ossimRadialDecentLensDistortion::forward(), and SVD().
|
inline |
void ossim::toSimpleStringList | ( | ossimString & | result, |
const std::vector< T > & | valuesList | ||
) |
This will output a vector of values inst a string.
(value1,...,valueN)
Parenthesis are required
Definition at line 484 of file ossimCommon.h.
References size.
Referenced by ossimBandSelector::getProperty(), ossimTangentialRadialLensDistortion::saveState(), ossimBandSelector::saveState(), ossimRectilinearDataObject::saveState(), ossimTiffTileSource::saveState(), and ossimImageData::saveState().
OSSIM_DLL void ossim::toSimpleStringList | ( | ossimString & | result, |
const std::vector< ossim_uint8 > & | valuesList | ||
) |
This will output a vector of values inst a string.
(value1,...,valueN)
Specialize the char for it will output the actual ascii char instead of the numeric value
Parenthesis are required
OSSIM_DLL void ossim::toSimpleStringList | ( | ossimString & | result, |
const std::vector< ossim_float64 > & | valuesList | ||
) |
OSSIM_DLL void ossim::toSimpleStringList | ( | ossimString & | result, |
const std::vector< ossim_float32 > & | valuesList | ||
) |
OSSIM_DLL void ossim::toSimpleStringList | ( | ossimString & | result, |
const std::vector< ossimString > & | valuesList | ||
) |
bool ossim::toSimpleVector | ( | std::vector< T > & | result, |
const ossimString & | stringOfPoints | ||
) |
Definition at line 537 of file ossimCommon.h.
References ossimString::empty(), ossimString::push_back(), skipws(), and ossimString::toDouble().
Referenced by ossimImageMetaData::getRgbBands(), ossimTangentialRadialLensDistortion::loadState(), ossimBandSelector::loadState(), ossimRectilinearDataObject::loadState(), ossimTiffTileSource::loadState(), ossimImageData::loadState(), ossimTiffTileSource::populateLut(), and ossimBandSelector::setProperty().
bool ossim::toSimpleVector | ( | std::vector< ossim_uint32 > & | result, |
const ossimString & | stringOfPoints | ||
) |
Takes input format of the form: (value1,value2,...,valueN)
Definition at line 991 of file ossimCommon.cpp.
References extractSimpleValues(), and size.
bool ossim::toSimpleVector | ( | std::vector< ossim_int32 > & | result, |
const ossimString & | stringOfPoints | ||
) |
Takes input format of the form: (value1,value2,...,valueN)
Definition at line 1091 of file ossimCommon.cpp.
References extractSimpleValues(), and size.
bool ossim::toSimpleVector | ( | std::vector< ossim_uint16 > & | result, |
const ossimString & | stringOfPoints | ||
) |
Takes input format of the form: (value1,value2,...,valueN)
Definition at line 1108 of file ossimCommon.cpp.
References extractSimpleValues(), and size.
bool ossim::toSimpleVector | ( | std::vector< ossim_int16 > & | result, |
const ossimString & | stringOfPoints | ||
) |
Takes input format of the form: (value1,value2,...,valueN)
Definition at line 1125 of file ossimCommon.cpp.
References extractSimpleValues(), and size.
bool ossim::toSimpleVector | ( | std::vector< ossim_uint8 > & | result, |
const ossimString & | stringOfPoints | ||
) |
Takes input format of the form: (value1,value2,...,valueN)
Definition at line 1142 of file ossimCommon.cpp.
References extractSimpleValues(), and size.
bool ossim::toSimpleVector | ( | std::vector< ossim_int8 > & | result, |
const ossimString & | stringOfPoints | ||
) |
Takes input format of the form: (value1,value2,...,valueN)
Definition at line 1159 of file ossimCommon.cpp.
References extractSimpleValues(), and size.
bool ossim::toSimpleVector | ( | std::vector< ossimString > & | result, |
const ossimString & | stringOfStrings | ||
) |
Takes input format of the form: (value1,value2,...,valueN)
Definition at line 1176 of file ossimCommon.cpp.
References extractSimpleValues().
void ossim::toStringList | ( | ossimString & | resultStringOfPoints, |
const std::vector< ossimDpt > & | pointList, | ||
char | separator = ' ' |
||
) |
Will take a vector of ossimDpt and convert to a string list separated by spaces For example: (45,34) (12,34)
Definition at line 781 of file ossimCommon.cpp.
References ossimString::empty(), and ossimString::toString().
Referenced by ossimBilinearProjection::saveState(), and ossimImageGeometry::saveState().
void ossim::toStringList | ( | ossimString & | resultStringOfPoints, |
const std::vector< ossimIpt > & | pointList, | ||
char | separator = ' ' |
||
) |
Definition at line 800 of file ossimCommon.cpp.
References ossimString::empty(), and ossimString::toString().
void ossim::toStringList | ( | ossimString & | resultStringOfPoints, |
const std::vector< ossimGpt > & | pointList, | ||
char | seaprator = ' ' |
||
) |
Definition at line 819 of file ossimCommon.cpp.
References ossimString::empty(), and ossimString::toString().
void ossim::toVector | ( | std::vector< ossimDpt > & | result, |
const ossimString & | stringOfPoints | ||
) |
Will take a string list separated by spaces and convert to a vector of ossimDpts.
It will not clear the passed in list but will append all points found.
Definition at line 838 of file ossimCommon.cpp.
References skipws(), ossimDpt::toPoint(), and ossimString::trim().
Referenced by ossimHdf5Tool::loadImageFiles(), ossimBilinearProjection::loadState(), ossimHistogram::loadState(), and ossimImageGeometry::loadState().
void ossim::toVector | ( | std::vector< ossimIpt > & | result, |
const ossimString & | stringOfPoints | ||
) |
Definition at line 875 of file ossimCommon.cpp.
References skipws(), ossimIpt::toPoint(), and ossimString::trim().
void ossim::toVector | ( | std::vector< ossimGpt > & | result, |
const ossimString & | stringOfPoints | ||
) |
Definition at line 911 of file ossimCommon.cpp.
References skipws(), ossimGpt::toPoint(), and ossimString::trim().
void ossim::unNormalizeTile | ( | ossimImageData * | result | ) |
Un-normalizes float tile from kdu_region_decompressor::process method.
Takes tile which is assumed to be normalized by kakadu and stretches between the tile min and max.
Definition at line 802 of file ossimKakaduCommon.cpp.
References ossimImageData::getBuf(), ossimImageData::getFloatBuf(), ossimImageData::getMaxPix(), ossimImageData::getMinPix(), ossimImageData::getNullPix(), ossimRectilinearDataObject::getScalarType(), ossimImageData::getSize(), OSSIM_FLOAT32, OSSIM_SINT32, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by copyRegionToTile().
|
inline |
Definition at line 373 of file ossimCommon.h.
References US_METERS_PER_FT.
Referenced by ossimGeoTiff::convert2meters(), and ossimDemHeader::getImageGeometry().
T ossim::wrap | ( | T | x, |
T | a, | ||
T | b | ||
) |
Definition at line 180 of file ossimCommon.h.
References isnan(), ossimREQUIRE, and x.
Referenced by ossimSrtmElevationDatabase::createId(), and ossimDtedElevationDatabase::createId().