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_IncludeArb   0x00020000
#define RVCGREF_TransGenOutput   0x00010000

Functions

DEPRECATED RVCAPPLIBEXPORT
void 
CopyGEOREFINFOtoMAPPROJPARM (MAPPROJPARM *projparm, const RVCGEOREFINFO *georefinfo)
DEPRECATED RVCAPPLIBEXPORT
void 
CopyMAPPROJPARMtoGEOREFINFO (RVCGEOREFINFO *georefinfo, const MAPPROJPARM *projparm)
DEPRECATED RVCAPPLIBEXPORT int MfComputeScaleFromGeoref (int fhandle, INT32 georefinode, double *xscale, double *yscale)
DEPRECATED RVCAPPLIBEXPORT
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, RVCGEOREFINFO *info, Mat3x3 fwd, Mat3x3 inv, MAPPROJPARM *pp)
ERRVALUE MfReadGeorefTransParm (int fhandle, RVCINODENUM inode, RVCGEOREFINFO *info, TRANSPARM *transparm, UINT32 flags)
DEPRECATED RVCAPPLIBEXPORT int MfSetScaleFromGeoref (int fhandle, INT32 objinode, INT32 georefinode, int OnlyIfZero)
DEPRECATED ERRVALUE MfWriteGeoref (int fhandle, RVCINODENUM inode, RVCGEOREFINFO *info, const void *data)
DEPRECATED int MfWriteGeorefHeader (int fhandle, RVCINODENUM inode, RVCGEOREFINFO *info)
RVCAPPLIBEXPORT ERRVALUE ProjSetMapInfoTAB (MAPPROJPARM &ProjParm, IMapInfoFile *pFile, double &scale)
DEPRECATED RVCAPPLIBEXPORT 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 212 of file rvcgref.h.

#define GEOREF_IMPLIED   5
 

Georeference information is implied in the data.

Definition at line 210 of file rvcgref.h.

#define GEOREF_MATRIX   6
 

Uses 2-D transformation matrix.

Definition at line 211 of file rvcgref.h.

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

Definition at line 269 of file rvcgref.h.

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

Definition at line 270 of file rvcgref.h.

#define RVCGREF_FlagMask   0xFFFF0000
 

Definition at line 215 of file rvcgref.h.

#define RVCGREF_IncludeArb   0x00020000
 

MfGeorefGetDeafult - Include PROJ_Arbitrary in default check.

Definition at line 217 of file rvcgref.h.

#define RVCGREF_TransGenOutput   0x00010000
 

MfReadGeorefTransParm - Setup output side of TRANSPARM.

Definition at line 216 of file rvcgref.h.


Function Documentation

DEPRECATED RVCAPPLIBEXPORT void CopyGEOREFINFOtoMAPPROJPARM MAPPROJPARM projparm,
const RVCGEOREFINFO georefinfo
 

Copy fields from RVCGEOREFINFO structure to MAPPROJPARM structure.

DEPRECATED RVCAPPLIBEXPORT void CopyMAPPROJPARMtoGEOREFINFO RVCGEOREFINFO georefinfo,
const MAPPROJPARM projparm
 

Copy fields from MAPPROJPARM structure to RVCGEOREFINFO structure.

DEPRECATED RVCAPPLIBEXPORT 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 RVCAPPLIBEXPORT 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]
 

Definition at line 336 of file rvcgref.h.

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

Read the header information for the georef object.

Definition at line 344 of file rvcgref.h.

DEPRECATED ERRVALUE MfReadGeorefMatrix int  fhandle,
INT32  grinode,
RVCGEOREFINFO info,
Mat3x3  fwd,
Mat3x3  inv,
MAPPROJPARM pp
[inline]
 

Definition at line 350 of file rvcgref.h.

ERRVALUE MfReadGeorefTransParm int  fhandle,
RVCINODENUM  inode,
RVCGEOREFINFO info,
TRANSPARM transparm,
UINT32  flags
 

DEPRECATED RVCAPPLIBEXPORT int MfSetScaleFromGeoref int  fhandle,
INT32  objinode,
INT32  georefinode,
int  OnlyIfZero
 

Set X/Y scale fields in object header based on specified georeference object.

Deprecated:
Replaced by RVC::GEOSPATIAL::SetScaleFromGeoref()
Parameters:
fhandle  RVC file handle
objinode  Inode for object
georefinode  Inode for georeference object
OnlyIfZero  Flag - only change scale values if they are currently zero

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

#ifndef INC_MI32_RVCGREF_H

Definition at line 367 of file rvcgref.h.

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

Write the header information for the georef object.

Definition at line 254 of file rvcgref.h.

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

DEPRECATED RVCAPPLIBEXPORT int SetDftGeorefNameDesc RVCGEOREFINFO ginfo,
const MAPPROJPARM projparm
 

Set default name, desc from a MAPPROJPARM.

Parameters:
ginfo  The header
projparm  Projection parameters


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