RVC::RASTEROP Namespace Reference

rvc/rasterop.h Contains static methods for raster operations More...


Classes

class  DEPRESSIONFILLER
 Class to fill depressions in elevation raster. More...

Enumerations

enum  SHADEMETHOD { SHADE_Shading, SHADE_Relief_Shading }
enum  SLOPECELLS { SLOPECELLS_CROSS, SLOPECELLS_SQUARE, SLOPECELLS_THIRD, SLOPECELLS_FOURTH }
enum  SLOPETYPE { SLOPETYPE_DEGREES, SLOPETYPE_PERCENTS }

Functions

ERRVALUE CombineLinear (const RVC::OBJITEMLIST &SrcRastList, RVC::OBJITEMLIST &DestRastList, RVC::IMAGE::CELLTYPE DestCellType, const std::vector< DOUBLE_ARRAY< double > > &Matrix, const DOUBLE_ARRAY< double > &Offsets, bool AutoScale)
ERRVALUE ComputeSAS (RVC::RASTER &inRaster, MILIST< RVC::RASTER > &outRastersList, double SunElevationIn, double SunAzimuthIn, SLOPETYPE SlopeType, SLOPECELLS SlopeCells, SHADEMETHOD ShadeMethod)
ERRVALUE MakeSurfaceProperties (const RVC::OBJITEM &objitem)


Detailed Description

rvc/rasterop.h Contains static methods for raster operations

Enumeration Type Documentation

enum RVC::RASTEROP::SHADEMETHOD

Enumerator:
SHADE_Shading 
SHADE_Relief_Shading 

Definition at line 63 of file rasterop.h.

enum RVC::RASTEROP::SLOPECELLS

Enumerator:
SLOPECELLS_CROSS 
SLOPECELLS_SQUARE 
SLOPECELLS_THIRD 
SLOPECELLS_FOURTH 

Definition at line 56 of file rasterop.h.

enum RVC::RASTEROP::SLOPETYPE

Enumerator:
SLOPETYPE_DEGREES 
SLOPETYPE_PERCENTS 

Definition at line 51 of file rasterop.h.


Function Documentation

ERRVALUE RVC::RASTEROP::CombineLinear ( const RVC::OBJITEMLIST SrcRastList,
RVC::OBJITEMLIST DestRastList,
RVC::IMAGE::CELLTYPE  DestCellType,
const std::vector< DOUBLE_ARRAY< double > > &  Matrix,
const DOUBLE_ARRAY< double > &  Offsets,
bool  AutoScale 
)

Combine input rasters using linear transformation stored in Matrix.

Creates $m$ output rasters for $n$ input rasters. Each output raster cell of raster $i$ (for $1 \leq i \leq m$) is computed with $out_i = Matrix_{i1} * in_1 + Matrix_{i2} * in_2 + ... + Matrix_{in} * in_n + Offsets_i$, where Matrix is stored in row major form.

Destination rasters will be created based on the contents of DestRastList. Number of Matrix rows and size of Offsets must equal the number of destination rasters (i.e. size of DestRastList), and the number of Matrix columns must equal the number of source rasters.

Parameters:
SrcRastList  Input raster objects
DestRastList  Output raster objects
DestCellType  Output rasters' cell type
Matrix  Linear transformation Matrix
Offsets  Array of Offsets
AutoScale  Auto scale output raster values.

ERRVALUE RVC::RASTEROP::ComputeSAS ( RVC::RASTER inRaster,
MILIST< RVC::RASTER > &  outRastersList,
double  SunElevationIn,
double  SunAzimuthIn,
SLOPETYPE  SlopeType,
SLOPECELLS  SlopeCells,
SHADEMETHOD  ShadeMethod 
)

Parameters:
SunElevationIn  was input_parms[3] = sun_elev
SunAzimuthIn  was input_parms[4] = sun_azim
SlopeType  degrees or percents
SlopeCells  4 or 8 neighboring cells for slope calculation

ERRVALUE RVC::RASTEROP::MakeSurfaceProperties ( const RVC::OBJITEM objitem  ) 

Compute 3d surface properties and store as subobject of raster referenced by objitem.


Generated on Thu Apr 26 04:49:19 2007 for TNTsdk by  doxygen 1.5.2