OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
otb::GCP Class Reference

#include <otbGeometryMetadata.h>

+ Collaboration diagram for otb::GCP:

Public Member Functions

 GCP ()=default
 
 GCP (std::string id, std::string info, double col, double row, double px, double py, double pz)
 
void Print (std::ostream &os) const
 
std::string ToJSON (bool multiline=false) const
 
void ToKeywordlist (MetaData::Keywordlist &kwl, const std::string &prefix) const
 

Static Public Member Functions

static GCP FromKeywordlist (const MetaData::Keywordlist &kwl, const std::string &prefix)
 

Public Attributes

double m_GCPCol
 
double m_GCPRow
 
double m_GCPX
 
double m_GCPY
 
double m_GCPZ
 
std::string m_Id
 
std::string m_Info
 

Detailed Description

This GCP class is used to manage the GCP parameters in OTB.

Definition at line 43 of file otbGeometryMetadata.h.

Constructor & Destructor Documentation

◆ GCP() [1/2]

otb::GCP::GCP ( )
default

◆ GCP() [2/2]

otb::GCP::GCP ( std::string  id,
std::string  info,
double  col,
double  row,
double  px,
double  py,
double  pz 
)

Member Function Documentation

◆ FromKeywordlist()

static GCP otb::GCP::FromKeywordlist ( const MetaData::Keywordlist kwl,
const std::string &  prefix 
)
static

Keywordlist import

◆ Print()

void otb::GCP::Print ( std::ostream &  os) const

◆ ToJSON()

std::string otb::GCP::ToJSON ( bool  multiline = false) const

◆ ToKeywordlist()

void otb::GCP::ToKeywordlist ( MetaData::Keywordlist kwl,
const std::string &  prefix 
) const

Keywordlist export

Member Data Documentation

◆ m_GCPCol

double otb::GCP::m_GCPCol

Pixel (x) location of GCP on raster

Definition at line 53 of file otbGeometryMetadata.h.

◆ m_GCPRow

double otb::GCP::m_GCPRow

Line (y) location of GCP on raster

Definition at line 56 of file otbGeometryMetadata.h.

◆ m_GCPX

double otb::GCP::m_GCPX

X position of GCP in georeferenced space

Definition at line 59 of file otbGeometryMetadata.h.

◆ m_GCPY

double otb::GCP::m_GCPY

Y position of GCP in georeferenced space

Definition at line 62 of file otbGeometryMetadata.h.

◆ m_GCPZ

double otb::GCP::m_GCPZ

Elevation of GCP, or zero if not known

Definition at line 65 of file otbGeometryMetadata.h.

◆ m_Id

std::string otb::GCP::m_Id

Unique identifier, often numeric

Definition at line 47 of file otbGeometryMetadata.h.

◆ m_Info

std::string otb::GCP::m_Info

Informational message or ""

Definition at line 50 of file otbGeometryMetadata.h.


The documentation for this class was generated from the following file: