28 public std::enable_shared_from_this<Image>
33 Image(
const std::string& imageId,
34 const std::string& filename,
35 const std::string& modelName=
"",
36 unsigned int entryIndex=0,
39 Image(
const Json::Value& image_json_node);
49 void setImageId(
const std::string&
id) { m_imageId = id; }
57 virtual void getAvailableModels(std::vector< pair<std::string, std::string> >& availableModels)
const;
63 virtual void loadJSON(
const Json::Value& json);
69 virtual void saveJSON(Json::Value& json)
const;
81 typedef std::vector< std::shared_ptr<Image> >
ImageList;
void setFilename(const std::string &f)
static unsigned int UNASSIGNED_PHOTOBLOCK_INDEX
This code was derived from https://gist.github.com/mshockwave.
std::vector< std::shared_ptr< Image > > ImageList
ossimRefPtr< ossimSensorModel > m_sensorModel
unsigned int getActiveBand() const
unsigned int m_activeBand
unsigned int m_entryIndex
std::string getFilename() const
void setEntryIndex(unsigned int i)
unsigned int getEntryIndex() const
Class representing an Image as used by ossim-msp services.
std::vector< pair< std::string, std::string > > m_availableModel
std::string getImageId() const
Pure virtual interface for classes implementing JSON-based load/save state.
std::string getModelName() const
void setImageId(const std::string &id)