RVC::MULTIRASTER Class Reference

#include <rvc/multrast.h>

Inheritance diagram for RVC::MULTIRASTER:
Inheritance graph
[legend]

List of all members.

Classes

class  MAKEPARMS

Public Types

enum  TYPE { TYPE_None = 0, TYPE_DirectLink, TYPE_ObjectPath, TYPE_LegacyInode }

Public Member Functions

 MULTIRASTER (const MULTIRASTER &rhs)
 MULTIRASTER ()
virtual ~MULTIRASTER ()
ERRVALUE AddLink (const RASTER::LINKPARMS &parms, const LRECT2D &DestRect)
ERRVALUE AddLink (const OBJITEM &LinkRastObj, const LRECT2D &DestRect, bool RebuildPyramids)
ERRVALUE ClearTile (const LPOINT2D &TilePos)
ERRVALUE GetGridLinkFile (FILEPATH &linkfile, INT32 GridLine, INT32 GridCol)
ERRVALUE GetGridLinkItem (OBJITEM &obj, INT32 GridLine, INT32 GridCol)
INT32 GetGridTileColumns () const
INT32 GetGridTileLines () const
ERRVALUE GetLinkCommonPath (FILEPATH &filepath)
ERRVALUE GetTileLinkPaths (std::vector< FILEPATH > &LinkFiles, const LPOINT2D &TilePos)
ERRVALUE Make (OBJITEM &objitem, MAKEPARMS &parms, const CREDENTIALS *Credentials=0)
ERRVALUE Make (const OBJECT &parent, const DESCRIPTOR &desc, MAKEPARMS &parms, const CREDENTIALS *Credentials=0)
ERRVALUE MakeNullMask (const CREDENTIALS *Credentials=0)
ERRVALUE MakePyramidSet (RASTER::COMPTYPE comptype, UINT16 compquality, const SIMPLE_ARRAY< INT32 > &samplerates, IMAGE::PYRAMID flags=IMAGE::PYRAMID_Default, const CREDENTIALS *Credentials=0)

Static Public Member Functions

static ERRVALUE MakePyramidSetNextTiers (const RVC::OBJITEM &ObjItemPrevTier, RASTER::COMPTYPE CompressType, UINT16 CompressRatio, const CREDENTIALS *Credentials)

Member Enumeration Documentation

Enumerator:
TYPE_None 
TYPE_DirectLink 
TYPE_ObjectPath 
TYPE_LegacyInode 

Constructor & Destructor Documentation

RVC::MULTIRASTER::MULTIRASTER (  ) 
RVC::MULTIRASTER::MULTIRASTER ( const MULTIRASTER rhs  ) 
virtual RVC::MULTIRASTER::~MULTIRASTER (  )  [virtual]

Member Function Documentation

ERRVALUE RVC::MULTIRASTER::AddLink ( const RASTER::LINKPARMS parms,
const LRECT2D DestRect 
)

Add link to image file at specified location.

The DestRect must be equal to the size of the linked raster.

ERRVALUE RVC::MULTIRASTER::AddLink ( const OBJITEM LinkRastObj,
const LRECT2D DestRect,
bool  RebuildPyramids 
)

Add linked raster to position at specified location. The DestRect must be equal to the size of the linked raster.

ERRVALUE RVC::MULTIRASTER::ClearTile ( const LPOINT2D TilePos  ) 

Clear everything from tile specified.

ERRVALUE RVC::MULTIRASTER::GetGridLinkFile ( FILEPATH linkfile,
INT32  GridLine,
INT32  GridCol 
)
ERRVALUE RVC::MULTIRASTER::GetGridLinkItem ( OBJITEM obj,
INT32  GridLine,
INT32  GridCol 
)

Get the OBJITEM for the raster at the specified grid location.

INT32 RVC::MULTIRASTER::GetGridTileColumns (  )  const
INT32 RVC::MULTIRASTER::GetGridTileLines (  )  const
ERRVALUE RVC::MULTIRASTER::GetLinkCommonPath ( FILEPATH filepath  ) 
ERRVALUE RVC::MULTIRASTER::GetTileLinkPaths ( std::vector< FILEPATH > &  LinkFiles,
const LPOINT2D TilePos 
)
ERRVALUE RVC::MULTIRASTER::Make ( OBJITEM objitem,
MAKEPARMS parms,
const CREDENTIALS Credentials = 0 
)

Make a new MULTIRASTER.

Parameters:
objitem Object location passed/returned
ERRVALUE RVC::MULTIRASTER::Make ( const OBJECT parent,
const DESCRIPTOR desc,
MAKEPARMS parms,
const CREDENTIALS Credentials = 0 
)

Make a new MULTIRASTER.

ERRVALUE RVC::MULTIRASTER::MakeNullMask ( const CREDENTIALS Credentials = 0  ) 

Make a MULTIRASTER to serve as the NULLMASK.

Will also create MULTIRASTER pyramid tiers (and RASTER pyramid tiers if needed).

ERRVALUE RVC::MULTIRASTER::MakePyramidSet ( RASTER::COMPTYPE  comptype,
UINT16  compquality,
const SIMPLE_ARRAY< INT32 > &  samplerates,
IMAGE::PYRAMID  flags = IMAGE::PYRAMID_Default,
const CREDENTIALS Credentials = 0 
)

Make pyramid tiers.

Will first make a multiraster pyramid tier for each item in samplerates at specified rate. Subsequently will make ordinary raster pyramid tiers if necessary.

Assumes samplerates is sorted, and will only make ordinary raster pyramid tiers of lower resolution than given in this array.

Note: you must not specify a lower resolution than what is available in the reduced resolution data for ANY image in the Multiraster. To get a list of valid sample rates, call RVC::RASTER::GetEmbeddedPyramidList on the multiraster before using this method.

static ERRVALUE RVC::MULTIRASTER::MakePyramidSetNextTiers ( const RVC::OBJITEM ObjItemPrevTier,
RASTER::COMPTYPE  CompressType,
UINT16  CompressRatio,
const CREDENTIALS Credentials 
) [static]

Make next pyramid tiers as a tileset.

Parameters:
CompressType Must be COMPTYPE_JP2 at present

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

Generated on Sun Oct 7 21:37:40 2012 for TNTsdk 2012 by  doxygen 1.6.1