te::mnt::Shadow Class Reference

#include <Shadow.h>

Public Member Functions

te::rst::RasterGenerateImage (te::rst::Raster *raster)
 
te::rst::RastergetOutRst ()
 
bool run ()
 
void setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, const te::da::DataSetTypePtr &inDsetType)
 
void setOutput (std::map< std::string, std::string > &dsinfo, std::string outRstDSType)
 
void setParams (double azimuth, double elevation, double relief, double dummy, double vmin, double vmax, double minval, double maxval, unsigned int outputWidth, unsigned int outputHeight, double resxo, double resyo)
 
void setSRID (int srid)
 
 Shadow ()
 
 ~Shadow ()
 

Protected Attributes

std::unique_ptr< te::da::DataSetinDset
 
double m_azimuth
 
double m_dummy
 
double m_elevation
 
std::string m_inDsetName
 
te::da::DataSetTypePtr m_inDsetType
 
te::da::DataSourcePtr m_inDsrc
 
double m_maxval
 
double m_minval
 
te::rst::Rasterm_out
 
std::map< std::string, std::string > m_outDsinfo
 
unsigned int m_outputHeight
 
unsigned int m_outputWidth
 
std::string m_outRstDSType
 
double m_relief
 
double m_resxo
 
double m_resyo
 
int m_srid
 Attribute with spatial reference information. More...
 
double m_vmax
 
double m_vmin
 

Private Member Functions

bool calcLocalGradient (te::rst::Raster *inputRaster, int line, int col, double vmin, double vmax, double &dx, double &dy, double *val)
 
void getRasterElementLine (te::rst::Raster *inputRaster, int line, std::vector< std::complex< double > > &val)
 

Detailed Description

Definition at line 23 of file Shadow.h.

Constructor & Destructor Documentation

te::mnt::Shadow::Shadow ( )
te::mnt::Shadow::~Shadow ( )

Member Function Documentation

bool te::mnt::Shadow::calcLocalGradient ( te::rst::Raster inputRaster,
int  line,
int  col,
double  vmin,
double  vmax,
double &  dx,
double &  dy,
double *  val 
)
private
te::rst::Raster* te::mnt::Shadow::GenerateImage ( te::rst::Raster raster)
te::rst::Raster* te::mnt::Shadow::getOutRst ( )
inline

Definition at line 44 of file Shadow.h.

void te::mnt::Shadow::getRasterElementLine ( te::rst::Raster inputRaster,
int  line,
std::vector< std::complex< double > > &  val 
)
private
bool te::mnt::Shadow::run ( )
void te::mnt::Shadow::setInput ( te::da::DataSourcePtr  inDsrc,
std::string  inDsetName,
const te::da::DataSetTypePtr inDsetType 
)
void te::mnt::Shadow::setOutput ( std::map< std::string, std::string > &  dsinfo,
std::string  outRstDSType 
)
void te::mnt::Shadow::setParams ( double  azimuth,
double  elevation,
double  relief,
double  dummy,
double  vmin,
double  vmax,
double  minval,
double  maxval,
unsigned int  outputWidth,
unsigned int  outputHeight,
double  resxo,
double  resyo 
)
void te::mnt::Shadow::setSRID ( int  srid)
inline

Function used to set the Spatial Reference System ID

Definition at line 40 of file Shadow.h.

Member Data Documentation

std::unique_ptr<te::da::DataSet> te::mnt::Shadow::inDset
protected

Definition at line 58 of file Shadow.h.

double te::mnt::Shadow::m_azimuth
protected

Definition at line 66 of file Shadow.h.

double te::mnt::Shadow::m_dummy
protected

Definition at line 73 of file Shadow.h.

double te::mnt::Shadow::m_elevation
protected

Definition at line 67 of file Shadow.h.

std::string te::mnt::Shadow::m_inDsetName
protected

Definition at line 56 of file Shadow.h.

te::da::DataSetTypePtr te::mnt::Shadow::m_inDsetType
protected

Definition at line 57 of file Shadow.h.

te::da::DataSourcePtr te::mnt::Shadow::m_inDsrc
protected

Definition at line 55 of file Shadow.h.

double te::mnt::Shadow::m_maxval
protected

Definition at line 71 of file Shadow.h.

double te::mnt::Shadow::m_minval
protected

Definition at line 70 of file Shadow.h.

te::rst::Raster* te::mnt::Shadow::m_out
protected

Definition at line 62 of file Shadow.h.

std::map<std::string, std::string> te::mnt::Shadow::m_outDsinfo
protected

Definition at line 60 of file Shadow.h.

unsigned int te::mnt::Shadow::m_outputHeight
protected

Definition at line 75 of file Shadow.h.

unsigned int te::mnt::Shadow::m_outputWidth
protected

Definition at line 74 of file Shadow.h.

std::string te::mnt::Shadow::m_outRstDSType
protected

Definition at line 61 of file Shadow.h.

double te::mnt::Shadow::m_relief
protected

Definition at line 68 of file Shadow.h.

double te::mnt::Shadow::m_resxo
protected

Definition at line 77 of file Shadow.h.

double te::mnt::Shadow::m_resyo
protected

Definition at line 77 of file Shadow.h.

int te::mnt::Shadow::m_srid
protected

Attribute with spatial reference information.

Definition at line 64 of file Shadow.h.

double te::mnt::Shadow::m_vmax
protected

Definition at line 69 of file Shadow.h.

double te::mnt::Shadow::m_vmin
protected

Definition at line 69 of file Shadow.h.


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