MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
LTIOverrideGeoCoordData Struct Reference

#include <lti_imageStageOverrides.h>

Inheritance diagram for LTIOverrideGeoCoordData:
Collaboration diagram for LTIOverrideGeoCoordData:

Public Member Functions

 LTIOverrideGeoCoordData ()
 
 ~LTIOverrideGeoCoordData ()
 
LT_STATUS setGeoCoord (const LTIGeoCoord &geoCoord)
 set the geographic coordinates of the image More...
 
LT_STATUS setDefaultGeoCoord (const LTIImage &image)
 set the geographic coordinates of the image More...
 

Public Attributes

LTIGeoCoord * m_geoCoord
 
bool m_geoCoordImplicit
 

Detailed Description

Definition at line 246 of file lti_imageStageOverrides.h.

Constructor & Destructor Documentation

◆ LTIOverrideGeoCoordData()

LTIOverrideGeoCoordData::LTIOverrideGeoCoordData ( )

◆ ~LTIOverrideGeoCoordData()

LTIOverrideGeoCoordData::~LTIOverrideGeoCoordData ( )

Member Function Documentation

◆ setDefaultGeoCoord()

LT_STATUS LTIOverrideGeoCoordData::setDefaultGeoCoord ( const LTIImage &  image)

This function is used to set the geographic coordinates of the image to a reasonable default, when there are no other geographic coordinates to use.

The default coordinates used are:

  • upperleft: (0.0, height-1.0)
  • resolution: (1.0, -1.0)
  • rotation: (0.0, 0.0)

Calling this function will cause isGeoCoordImplicit() to return true.

Returns
status code indicating success or failure
Examples
DerivedImageReader.cpp.

◆ setGeoCoord()

LT_STATUS LTIOverrideGeoCoordData::setGeoCoord ( const LTIGeoCoord &  geoCoord)

This function is used to set the geographic coordinates of the image.

Derived classes may choose to call this function from within their initialize() method. If the geographic coordinates are not set, the default position is assumed.

Parameters
geoCoordthe geographic coordinate information
Returns
status code indicating success or failure

Referenced by LTIOverrideGeoCoord< BASE >::overrideGeoCoord().

Member Data Documentation

◆ m_geoCoord

LTIGeoCoord* LTIOverrideGeoCoordData::m_geoCoord

Definition at line 283 of file lti_imageStageOverrides.h.

Referenced by LTIOverrideGeoCoord< BASE >::getGeoCoord().

◆ m_geoCoordImplicit

bool LTIOverrideGeoCoordData::m_geoCoordImplicit

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

Extensis