OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Class representing an Image as used by ossim-msp services. More...
#include <Image.h>
Public Member Functions | |
Image (const std::string &imageId, const std::string &filename, const std::string &modelName="", unsigned int entryIndex=0, unsigned int band=1) | |
Image (const Json::Value &image_json_node) | |
~Image () | |
std::string | getImageId () const |
std::string | getFilename () const |
std::string | getModelName () const |
unsigned int | getEntryIndex () const |
unsigned int | getActiveBand () const |
void | setImageId (const std::string &id) |
void | setFilename (const std::string &f) |
void | setEntryIndex (unsigned int i) |
virtual void | getAvailableModels (std::vector< pair< std::string, std::string > > &availableModels) const |
Returns all available sensor model plugins and model names for this image: More... | |
virtual void | loadJSON (const Json::Value &json) |
Refer to 3DISA API document for JSON format used. More... | |
virtual void | saveJSON (Json::Value &json) const |
Refer to 3DISA API document for JSON format used. More... | |
![]() | |
JsonInterface () | |
virtual | ~JsonInterface () |
Static Public Attributes | |
static unsigned int | UNASSIGNED_PHOTOBLOCK_INDEX |
Protected Attributes | |
std::string | m_imageId |
ossimFilename | m_filename |
unsigned int | m_entryIndex |
unsigned int | m_activeBand |
std::string | m_modelName |
std::vector< pair< std::string, std::string > > | m_availableModel |
ossimRefPtr< ossimSensorModel > | m_sensorModel |
ossim::Image::Image | ( | const std::string & | imageId, |
const std::string & | filename, | ||
const std::string & | modelName = "" , |
||
unsigned int | entryIndex = 0 , |
||
unsigned int | band = 1 |
||
) |
ossim::Image::Image | ( | const Json::Value & | image_json_node | ) |
Definition at line 32 of file Image.cpp.
References loadJSON().
|
virtual |
Returns all available sensor model plugins and model names for this image:
availableModels | List of <plugin-name, model-name> pairs. |
Definition at line 44 of file Image.cpp.
References ossimObject::getLongName(), ossimProjectionFactoryRegistry::instance(), m_entryIndex, m_filename, and ossimString::string().
|
virtual |
Refer to 3DISA API document for JSON format used.
Implements ossim::JsonInterface.
Definition at line 55 of file Image.cpp.
References ossimProjectionFactoryRegistry::createProjection(), ossimFilename::expand(), ossimProjectionFactoryRegistry::instance(), m_activeBand, m_entryIndex, m_filename, m_imageId, m_modelName, m_sensorModel, and ossimKeywordlist::parseString().
Referenced by Image().
|
virtual |
Refer to 3DISA API document for JSON format used.
Implements ossim::JsonInterface.
Definition at line 97 of file Image.cpp.
References m_entryIndex, m_filename, m_imageId, m_modelName, m_sensorModel, ossimSensorModel::saveState(), ossimString::string(), ossimKeywordlist::toString(), and ossimRefPtr< T >::valid().
|
inline |
|
inline |
|
protected |
Definition at line 75 of file Image.h.
Referenced by loadJSON().
|
protected |
|
protected |
Definition at line 74 of file Image.h.
Referenced by getAvailableModels(), loadJSON(), and saveJSON().
|
protected |
Definition at line 73 of file Image.h.
Referenced by getAvailableModels(), loadJSON(), and saveJSON().
|
protected |
Definition at line 72 of file Image.h.
Referenced by loadJSON(), and saveJSON().
|
protected |
Definition at line 76 of file Image.h.
Referenced by loadJSON(), and saveJSON().
|
protected |
Definition at line 78 of file Image.h.
Referenced by loadJSON(), and saveJSON().
|
static |