sfmodel.h File Reference

#include <mi32/mapproj.h>
#include <mi32/rvcdbase.h>

Include dependency graph for sfmodel.h:

Include dependency graph

Go to the source code of this file.

Classes

struct  DBTABLEDATAINFO
struct  SURFACEFITPARAMS

Defines

#define DATA_2D   0
#define DATA_3D   1
#define DIRECTION_AUTO   1
#define DIRECTION_MANUAL   2
#define DUPLICATE_AVERAGE   2
#define DUPLICATE_DELETE   1
#define DUPLICATE_FIRST   0
#define DUPLICATE_LAST   5
#define DUPLICATE_LASTONE   5
#define DUPLICATE_MAX   4
#define DUPLICATE_MIN   3
#define FEATURE_LINE   2
#define FEATURE_POINT   1
#define FLAG_Ignore   2
#define FLAG_Original   1
#define GENERICLINE_FORCE2D   0x0002
#define GENERICLINE_HEADER   0x0001
#define GENERICPOINT_DOQUERY   0x0001
#define LEVELING_EM   4
#define LEVELING_FMD   2
#define LEVELING_LAST   4
#define LEVELING_MA   3
#define LEVELING_NONE   1
#define MAX_POLYNOMINAL_ORDER   20
#define METHOD_SURFFIT_Bigrid   8
#define METHOD_SURFFIT_InvDist   0
#define METHOD_SURFFIT_Kriging   5
#define METHOD_SURFFIT_Last   8
#define METHOD_SURFFIT_Linear   6
#define METHOD_SURFFIT_MinCurve   1
#define METHOD_SURFFIT_Polynomial   3
#define METHOD_SURFFIT_Profiles   2
#define METHOD_SURFFIT_Quintic   7
#define METHOD_SURFFIT_Triangle   4
#define PROFILING_SMOOTH_BEZIER   3
#define PROFILING_SMOOTH_BSPLINE   1
#define PROFILING_SMOOTH_NONE   0
#define PROFILING_SMOOTH_QSPLINE   2
#define SEARCH_Circle   0
#define SEARCH_Diamond   2
#define SEARCH_Last   2
#define SEARCH_Square   1
#define SKIP_ELEMENT   9999
#define VALUE_ByQuery   1
#define VALUE_VectorZ   0

Functions

int MfitSurfaceCompute (const UNICODE *filename, RVCINODENUM inode, RVCINODENUM ginode, int UsePoints, int UseLines, const UNICODE *SelectQueryPoints, const UNICODE *SelectQueryLines, const UNICODE *ValueQueryPoints, const UNICODE *ValueQueryLines, int SurfaceFitMethod, SURFACEFITPARAMS *Params, const UNICODE *ofilename, RVCRASTINFO *OutputInfo)
int MfitSurfaceSetDefaultParams (int SurfaceFitMethod, SURFACEFITPARAMS *Params)


Define Documentation

#define DATA_2D   0
 

Definition at line 93 of file sfmodel.h.

#define DATA_3D   1
 

Definition at line 94 of file sfmodel.h.

#define DIRECTION_AUTO   1
 

Definition at line 86 of file sfmodel.h.

#define DIRECTION_MANUAL   2
 

Definition at line 87 of file sfmodel.h.

#define DUPLICATE_AVERAGE   2
 

Definition at line 67 of file sfmodel.h.

#define DUPLICATE_DELETE   1
 

Definition at line 66 of file sfmodel.h.

#define DUPLICATE_FIRST   0
 

Definition at line 65 of file sfmodel.h.

#define DUPLICATE_LAST   5
 

Definition at line 71 of file sfmodel.h.

#define DUPLICATE_LASTONE   5
 

Definition at line 70 of file sfmodel.h.

#define DUPLICATE_MAX   4
 

Definition at line 69 of file sfmodel.h.

#define DUPLICATE_MIN   3
 

Definition at line 68 of file sfmodel.h.

#define FEATURE_LINE   2
 

Definition at line 96 of file sfmodel.h.

#define FEATURE_POINT   1
 

Definition at line 95 of file sfmodel.h.

#define FLAG_Ignore   2
 

Do not write to this cell.

Definition at line 90 of file sfmodel.h.

#define FLAG_Original   1
 

Cell is from "original" vector, don't change.

Definition at line 89 of file sfmodel.h.

#define GENERICLINE_FORCE2D   0x0002
 

Definition at line 98 of file sfmodel.h.

#define GENERICLINE_HEADER   0x0001
 

Definition at line 97 of file sfmodel.h.

#define GENERICPOINT_DOQUERY   0x0001
 

Definition at line 99 of file sfmodel.h.

#define LEVELING_EM   4
 

Definition at line 104 of file sfmodel.h.

#define LEVELING_FMD   2
 

Definition at line 102 of file sfmodel.h.

#define LEVELING_LAST   4
 

Definition at line 105 of file sfmodel.h.

#define LEVELING_MA   3
 

Not yet implemented.

Definition at line 103 of file sfmodel.h.

#define LEVELING_NONE   1
 

Definition at line 101 of file sfmodel.h.

#define MAX_POLYNOMINAL_ORDER   20
 

Definition at line 92 of file sfmodel.h.

#define METHOD_SURFFIT_Bigrid   8
 

Definition at line 62 of file sfmodel.h.

#define METHOD_SURFFIT_InvDist   0
 

Definition at line 54 of file sfmodel.h.

#define METHOD_SURFFIT_Kriging   5
 

Definition at line 59 of file sfmodel.h.

#define METHOD_SURFFIT_Last   8
 

Definition at line 63 of file sfmodel.h.

#define METHOD_SURFFIT_Linear   6
 

Definition at line 60 of file sfmodel.h.

#define METHOD_SURFFIT_MinCurve   1
 

Definition at line 55 of file sfmodel.h.

#define METHOD_SURFFIT_Polynomial   3
 

Definition at line 57 of file sfmodel.h.

#define METHOD_SURFFIT_Profiles   2
 

Definition at line 56 of file sfmodel.h.

#define METHOD_SURFFIT_Quintic   7
 

Definition at line 61 of file sfmodel.h.

#define METHOD_SURFFIT_Triangle   4
 

Definition at line 58 of file sfmodel.h.

#define PROFILING_SMOOTH_BEZIER   3
 

Definition at line 76 of file sfmodel.h.

#define PROFILING_SMOOTH_BSPLINE   1
 

Definition at line 74 of file sfmodel.h.

#define PROFILING_SMOOTH_NONE   0
 

Definition at line 73 of file sfmodel.h.

#define PROFILING_SMOOTH_QSPLINE   2
 

Definition at line 75 of file sfmodel.h.

#define SEARCH_Circle   0
 

Definition at line 81 of file sfmodel.h.

#define SEARCH_Diamond   2
 

Definition at line 83 of file sfmodel.h.

#define SEARCH_Last   2
 

Definition at line 84 of file sfmodel.h.

#define SEARCH_Square   1
 

Definition at line 82 of file sfmodel.h.

#define SKIP_ELEMENT   9999
 

Definition at line 91 of file sfmodel.h.

#define VALUE_ByQuery   1
 

Definition at line 79 of file sfmodel.h.

#define VALUE_VectorZ   0
 

Definition at line 78 of file sfmodel.h.


Function Documentation

int MfitSurfaceCompute const UNICODE filename,
RVCINODENUM  inode,
RVCINODENUM  ginode,
int  UsePoints,
int  UseLines,
const UNICODE SelectQueryPoints,
const UNICODE SelectQueryLines,
const UNICODE ValueQueryPoints,
const UNICODE ValueQueryLines,
int  SurfaceFitMethod,
SURFACEFITPARAMS Params,
const UNICODE ofilename,
RVCRASTINFO OutputInfo
 

Convert vector to raster by surface fitting.

Parameters:
filename  Open input file handle , returned by MfOpenFile()
inode  Input object Inode
ginode  Input object georeference inode, pass 0 if none
UsePoints  Pass TRUE to use points in the process
UseLines  Pass FALSE to use lines in the process
SelectQueryPoints  Standard TNTmips query to select points, NULL for selecting all
SelectQueryLines  Standard TNTmips query to select lines, NULL for selecting all
ValueQueryPoints  Standard TNTmips query for computing z-value of points, NULL for using .z field and data is 3D
ValueQueryLines  Standard TNTmips query for computing z-value of the lines, NULL for using .z field of the lines
SurfaceFitMethod  Surface fitting method: METHOD_SURFFIT_InvDist, METHOD_SURFFIT_MinCurve and etc
Params  Surface fitting parameters passed, use MfitSurfaceSetDefaultParams() to set the defaults
ofilename  Pass output file name
OutputInfo  Passed/returned raster information header for the output raster. Fill in .name,.desc.,.numlins,.numcols fields

int MfitSurfaceSetDefaultParams int  SurfaceFitMethod,
SURFACEFITPARAMS Params
 

Sets default parameters for the MfitSurfaceCompute function.

Parameters:
SurfaceFitMethod  Pass METHOD_SURFACEFIT_... constant
Params  Structure to fill out with default parameters for a given method


Generated on Tue Dec 14 13:19:16 2004 for TNTsdk by  doxygen 1.3.8-20040913