OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Class for representing MSP PhotoBlock. More...
#include <PhotoBlock.h>
Public Member Functions | |
PhotoBlock () | |
Initialize the photoblock from a prior saved session. More... | |
PhotoBlock (const Json::Value &pb_json_node) | |
PhotoBlock (const PhotoBlock ©This) | |
~PhotoBlock () | |
PhotoBlock & | operator= (const PhotoBlock ©this) |
std::shared_ptr< Image > | getImage (const std::string &imageId) |
std::shared_ptr< TiePoint > | getTiePoint (unsigned int tpId) |
std::shared_ptr< GroundControlPoint > | getGroundPoint (const std::string &gpId) |
ImageList & | getImageList () |
TiePointList & | getTiePointList () |
std::vector< std::shared_ptr< GroundControlPoint > > & | getGroundPointList () |
unsigned int | addImage (std::shared_ptr< Image > image) |
Adds the image to the photoblock at last position. More... | |
unsigned int | addGroundPoint (std::shared_ptr< GroundControlPoint > groundPoint) |
Adds the image to the photoblock at last position. More... | |
unsigned int | addTiePoint (std::shared_ptr< TiePoint > tiepoint) |
Adds the tiepoint to the PB. More... | |
void | addTiePoints (TiePointList &tiepointList) |
Adds the list of tiepoints to the PB. More... | |
virtual void | loadJSON (const Json::Value &json) |
virtual void | saveJSON (Json::Value &json) const |
![]() | |
JsonInterface () | |
virtual | ~JsonInterface () |
Protected Attributes | |
std::vector< std::shared_ptr< Image > > | m_imageList |
std::vector< std::shared_ptr< TiePoint > > | m_tiePointList |
std::vector< std::shared_ptr< GroundControlPoint > > | m_gcpList |
Class for representing MSP PhotoBlock.
Definition at line 25 of file PhotoBlock.h.
ossim::PhotoBlock::PhotoBlock | ( | ) |
Initialize the photoblock from a prior saved session.
If none found, assumes a new, blank session is being started.
Definition at line 13 of file PhotoBlock.cpp.
ossim::PhotoBlock::PhotoBlock | ( | const Json::Value & | pb_json_node | ) |
Definition at line 17 of file PhotoBlock.cpp.
References loadJSON().
ossim::PhotoBlock::PhotoBlock | ( | const PhotoBlock & | copyThis | ) |
Definition at line 22 of file PhotoBlock.cpp.
ossim::PhotoBlock::~PhotoBlock | ( | ) |
Definition at line 29 of file PhotoBlock.cpp.
References m_imageList, and m_tiePointList.
unsigned int ossim::PhotoBlock::addGroundPoint | ( | std::shared_ptr< GroundControlPoint > | groundPoint | ) |
Adds the image to the photoblock at last position.
Sets the image's pb index member.
images | To be added to PB |
Definition at line 52 of file PhotoBlock.cpp.
References m_gcpList.
unsigned int ossim::PhotoBlock::addImage | ( | std::shared_ptr< Image > | image | ) |
Adds the image to the photoblock at last position.
Sets the image's pb index member.
images | To be added to PB |
Definition at line 45 of file PhotoBlock.cpp.
References m_imageList.
unsigned int ossim::PhotoBlock::addTiePoint | ( | std::shared_ptr< TiePoint > | tiepoint | ) |
Adds the tiepoint to the PB.
tiepoint | To be added to PB |
Definition at line 59 of file PhotoBlock.cpp.
References m_tiePointList.
Referenced by addTiePoints().
void ossim::PhotoBlock::addTiePoints | ( | TiePointList & | tiepointList | ) |
Adds the list of tiepoints to the PB.
tiepointList | To be added to PB |
Definition at line 66 of file PhotoBlock.cpp.
References addTiePoint().
shared_ptr< GroundControlPoint > ossim::PhotoBlock::getGroundPoint | ( | const std::string & | gpId | ) |
Definition at line 88 of file PhotoBlock.cpp.
References m_gcpList.
|
inline |
Definition at line 47 of file PhotoBlock.h.
References m_gcpList.
shared_ptr< Image > ossim::PhotoBlock::getImage | ( | const std::string & | imageId | ) |
Definition at line 74 of file PhotoBlock.cpp.
References m_imageList.
|
inline |
Definition at line 45 of file PhotoBlock.h.
References m_imageList.
Referenced by main().
shared_ptr< TiePoint > ossim::PhotoBlock::getTiePoint | ( | unsigned int | tpId | ) |
Definition at line 102 of file PhotoBlock.cpp.
References m_tiePointList.
|
inline |
Definition at line 46 of file PhotoBlock.h.
References m_tiePointList.
Referenced by main().
|
virtual |
Implements ossim::JsonInterface.
Definition at line 116 of file PhotoBlock.cpp.
References m_gcpList, m_imageList, and m_tiePointList.
Referenced by PhotoBlock().
PhotoBlock & ossim::PhotoBlock::operator= | ( | const PhotoBlock & | copythis | ) |
Definition at line 35 of file PhotoBlock.cpp.
References m_gcpList, m_imageList, and m_tiePointList.
|
virtual |
Implements ossim::JsonInterface.
Definition at line 156 of file PhotoBlock.cpp.
References m_gcpList, m_imageList, and m_tiePointList.
|
protected |
Definition at line 94 of file PhotoBlock.h.
Referenced by addGroundPoint(), getGroundPoint(), getGroundPointList(), loadJSON(), operator=(), and saveJSON().
|
protected |
Definition at line 92 of file PhotoBlock.h.
Referenced by addImage(), getImage(), getImageList(), loadJSON(), operator=(), saveJSON(), and ~PhotoBlock().
|
protected |
Definition at line 93 of file PhotoBlock.h.
Referenced by addTiePoint(), getTiePoint(), getTiePointList(), loadJSON(), operator=(), saveJSON(), and ~PhotoBlock().