ccgl::data_raster::SubsetPositions Class Reference

Subset positions of raster data. More...

#include <data_raster.hpp>

Inheritance diagram for ccgl::data_raster::SubsetPositions:
ccgl::NotCopyable

Public Member Functions

 SubsetPositions (int srow, int erow, int scol, int ecol)
 
 SubsetPositions (SubsetPositions *&src, bool deep_copy=false)
 
bool Initialization ()
 
template<typename T >
bool SetData (const int n, T *data)
 
template<typename T >
bool Set2DData (const int n, const int lyr, T **data2d)
 
bool ReadFromMongoDB (MongoGridFs *gfs, const string &fname, const STRING_MAP &opts=STRING_MAP())
 
void GetHeader (double gxll, double gyll, int gnrows, double cellsize, double nodata, STRDBL_MAP &subheader)
 
template<typename T >
void Output (T nodata, vector< T * > &fulldata)
 

Public Attributes

bool usable
 flag for usable subset data
 
int n_cells
 valid cell count
 
int n_lyrs
 layer count
 
int g_srow
 start row in global data
 
int g_erow
 end row in global data
 
int g_scol
 start col in global data
 
int g_ecol
 end col in global data
 
bool alloc_
 local_pos_ and global_ are allocated?
 
int ** local_pos_
 local position data
 
int * local_posidx_
 local position index
 
int * global_
 global position index
 
double * data_
 valid data array
 
double ** data2d_
 valid 2d data array
 

Detailed Description

Subset positions of raster data.


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