rvcgref.h File Reference

<mi32/rvcgref.h> Definitions for georeference objects and functions More...

#include <mi32/tiepoint.h>
#include <mi32/ctrlpt.h>
#include <mi32/rvcdefns.h>

Include dependency graph for rvcgref.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  GEOREFMATRIX
struct  RVCCAMERAINFO
struct  RVCGEOREFINFO

Defines

#define GEOREF_CTRLPOINT   7
#define GEOREF_IMPLIED   5
#define GEOREF_MATRIX   6
#define MfCameraCalibRead(_f, _oi, _info)   _MfCameraCalibRead((_f),(_oi),(_info),sizeof(RVCCAMERAINFO))
#define MfCameraCalibWrite(_f, _oi, _info)   _MfCameraCalibWrite((_f),(_oi),(_info),sizeof(RVCCAMERAINFO))
#define RVCGREF_FlagMask   0xFFFF0000
#define RVCGREF_TransGenOutput   0x00010000

Functions

DEPRECATED void CopyMAPPROJPARMtoGEOREFINFO (RVCGEOREFINFO *georefinfo, const MAPPROJPARM *projparm)
DEPRECATED int MfComputeScaleFromGeoref (int fhandle, INT32 georefinode, double *xscale, double *yscale)
DEPRECATED INT32 MfGeorefGetDefault (int findex, INT32 parent, UINT32 flags=0)
DEPRECATED ERRVALUE MfReadGeoref (int fhandle, RVCINODENUM inode, RVCGEOREFINFO *info, void **data)
DEPRECATED int MfReadGeorefHeader (int fhandle, RVCINODENUM inode, RVCGEOREFINFO *info)
DEPRECATED ERRVALUE MfReadGeorefMatrix (int fhandle, INT32 grinode, void *MustBeNull, Mat3x3 fwd, Mat3x3 inv)
DEPRECATED ERRVALUE MfReadGeorefTransParm (int fhandle, RVCINODENUM inode, void *MustBeNull, TRANSPARM *transparm, UINT32 flags)
DEPRECATED ERRVALUE MfWriteGeoref (int fhandle, RVCINODENUM inode, RVCGEOREFINFO *info, const void *data)
RVCAPPLIBEXPORT ERRVALUE ProjSetMapInfoTAB (MAPPROJPARM &ProjParm, IMapInfoFile *pFile, double &scale)
DEPRECATED int SetDftGeorefNameDesc (RVCGEOREFINFO *ginfo, const MAPPROJPARM *projparm)


Detailed Description

<mi32/rvcgref.h> Definitions for georeference objects and functions

Definition in file rvcgref.h.


Define Documentation

#define GEOREF_CTRLPOINT   7
 

List of CTRLPOINT3's.

Definition at line 219 of file rvcgref.h.

#define GEOREF_IMPLIED   5
 

Georeference information is implied in the data.

Definition at line 217 of file rvcgref.h.

#define GEOREF_MATRIX   6
 

Uses 2-D transformation matrix.

Definition at line 218 of file rvcgref.h.

#define MfCameraCalibRead _f,
_oi,
_info   )     _MfCameraCalibRead((_f),(_oi),(_info),sizeof(RVCCAMERAINFO))
 

Definition at line 264 of file rvcgref.h.

#define MfCameraCalibWrite _f,
_oi,
_info   )     _MfCameraCalibWrite((_f),(_oi),(_info),sizeof(RVCCAMERAINFO))
 

Definition at line 265 of file rvcgref.h.

#define RVCGREF_FlagMask   0xFFFF0000
 

Definition at line 222 of file rvcgref.h.

#define RVCGREF_TransGenOutput   0x00010000
 

MfReadGeorefTransParm - Setup output side of TRANSPARM.

Definition at line 223 of file rvcgref.h.


Function Documentation

DEPRECATED void CopyMAPPROJPARMtoGEOREFINFO RVCGEOREFINFO georefinfo,
const MAPPROJPARM projparm
 

Copy fields from MAPPROJPARM structure to RVCGEOREFINFO structure.

DEPRECATED int MfComputeScaleFromGeoref int  fhandle,
INT32  georefinode,
double *  xscale,
double *  yscale
 

Compute object scale / cell size from specified georeference object.

Deprecated:
Replaced by RVC::GEOSPATIAL::ComputeScaleFromGeoref()
Parameters:
fhandle  Handle for open RVC file
georefinode  Georeference object to use
xscale  X scale or raster cell size returned
yscale  Y scale or raster cell size returned

DEPRECATED INT32 MfGeorefGetDefault int  findex,
INT32  parent,
UINT32  flags = 0
 

Get default georeference under an object.

Returns:
Inode of default georef object or -1 if no georef object or < 0 Error.
This function determines the default georeference to use based on time / date stamps. Arbitrary georeference objects are not considered unless there are no other georeferences or the RVCGREF_IncludeArb flag is passed. For Raster Set objects, the georeference under the raster set is first considered then the georeferences under the raster object, if the raster object inode is passed as the parent inode.
Parameters:
findex  File handle returned by MfMakeFile or MfOpenFile
parent  Inode of parent object to search for georeference under
flags  Flags

DEPRECATED ERRVALUE MfReadGeoref int  fhandle,
RVCINODENUM  inode,
RVCGEOREFINFO info,
void **  data
[inline]
 

Deprecated:
Use RVC::GEOREFERENCE.

Definition at line 337 of file rvcgref.h.

DEPRECATED int MfReadGeorefHeader int  fhandle,
RVCINODENUM  inode,
RVCGEOREFINFO info
[inline]
 

Read the header information for the georef object.

Deprecated:
Use RVC::GEOREFERENCE.

Definition at line 348 of file rvcgref.h.

DEPRECATED ERRVALUE MfReadGeorefMatrix int  fhandle,
INT32  grinode,
void *  MustBeNull,
Mat3x3  fwd,
Mat3x3  inv
 

Deprecated:
Use RVC::GEOREFERENCE.
Parameters:
MustBeNull  Must be NULL or error returned

DEPRECATED ERRVALUE MfReadGeorefTransParm int  fhandle,
RVCINODENUM  inode,
void *  MustBeNull,
TRANSPARM transparm,
UINT32  flags
 

Deprecated:
Use RVC::GEOREFERENCE.
Parameters:
MustBeNull  Must be NULL or error returned

DEPRECATED ERRVALUE MfWriteGeoref int  fhandle,
RVCINODENUM  inode,
RVCGEOREFINFO info,
const void *  data
[inline]
 

#ifndef INC_MI32_RVCGREF_H

Definition at line 368 of file rvcgref.h.

RVCAPPLIBEXPORT ERRVALUE ProjSetMapInfoTAB MAPPROJPARM ProjParm,
IMapInfoFile *  pFile,
double &  scale
 

DEPRECATED int SetDftGeorefNameDesc RVCGEOREFINFO ginfo,
const MAPPROJPARM projparm
 

Set default name, desc from a MAPPROJPARM.

Usually not necessary since MfWriteGeoref() will call this if the RVCGEOREFINFO::name is blank

Parameters:
ginfo  The header
projparm  Projection parameters


Generated on Wed May 31 15:27:49 2006 for TNTsdk by  doxygen 1.3.8-20040913