REGIONGEN_RASTER_SEEDED Class Reference

Generate region from raster using seed point(s) for area/boundary trace. More...

#include <mi32/regiongen.h>

Inheritance diagram for REGIONGEN_RASTER_SEEDED:
Inheritance graph
[legend]

List of all members.

Public Types

enum  METHOD { METHOD_Solid, METHOD_Boundary }

Public Member Functions

 REGIONGEN_RASTER_SEEDED ()
 ~REGIONGEN_RASTER_SEEDED ()
const DOUBLE_ARRAY< DPOINT2D > & GetBoundaryPoints () const
const DOUBLE_ARRAY< double > & GetBoundaryValues () const
double GetMaxDifference () const
METHOD GetMethod () const
const SPATREF::COORDREFSYSGetPointCRS () const
const DOUBLE_ARRAY< DPOINT2D > & GetSeedPoints () const
const RVC::OBJITEMGetSource () const
void SetBoundaryPoints (const DOUBLE_ARRAY< DPOINT2D > &BoundaryPoints)
void SetBoundaryValue (double value)
void SetBoundaryValues (const DOUBLE_ARRAY< double > &values)
void SetMaxDifference (double MaxDifference)
void SetMethod (METHOD Method)
void SetPointCRS (const SPATREF::COORDREFSYS &PointCRS)
void SetSeedPoint (const DPOINT2D &SeedPoint)
void SetSeedPoints (const DOUBLE_ARRAY< DPOINT2D > &SeedPoints)
void SetSource (const RVC::OBJITEM &ObjItemSource)

Detailed Description

Generate region from raster using seed point(s) for area/boundary trace.


Member Enumeration Documentation

Seed 'filling' method.

Enumerator:
METHOD_Solid 
METHOD_Boundary 

Constructor & Destructor Documentation

REGIONGEN_RASTER_SEEDED::REGIONGEN_RASTER_SEEDED (  ) 

Constructor.

REGIONGEN_RASTER_SEEDED::~REGIONGEN_RASTER_SEEDED (  ) 

Destructor.


Member Function Documentation

const DOUBLE_ARRAY<DPOINT2D>& REGIONGEN_RASTER_SEEDED::GetBoundaryPoints (  )  const [inline]

Get boundary point array.

const DOUBLE_ARRAY<double>& REGIONGEN_RASTER_SEEDED::GetBoundaryValues (  )  const [inline]

Get boundary value array.

double REGIONGEN_RASTER_SEEDED::GetMaxDifference (  )  const [inline]

Get maximum allowed difference for value comparison.

METHOD REGIONGEN_RASTER_SEEDED::GetMethod (  )  const [inline]

Get boundary/fill method.

const SPATREF::COORDREFSYS& REGIONGEN_RASTER_SEEDED::GetPointCRS (  )  const [inline]

Get coordinate reference system for seed and boundary points.

const DOUBLE_ARRAY<DPOINT2D>& REGIONGEN_RASTER_SEEDED::GetSeedPoints (  )  const [inline]

Get seed points.

const RVC::OBJITEM& REGIONGEN_RASTER_SEEDED::GetSource (  )  const [inline]

Get source raster OBJITEM.

void REGIONGEN_RASTER_SEEDED::SetBoundaryPoints ( const DOUBLE_ARRAY< DPOINT2D > &  BoundaryPoints  ) 

Set boundary points.

Replaces any previously set values or points. Automatically sets method to METHOD_Boundary if array is non-empty.

void REGIONGEN_RASTER_SEEDED::SetBoundaryValue ( double  value  ) 

Set single boundary value.

Replaces any previously set values or points. Automatically sets method to METHOD_Boundary.

void REGIONGEN_RASTER_SEEDED::SetBoundaryValues ( const DOUBLE_ARRAY< double > &  values  ) 

Set multiple boundary value.

Replaces any previously set values or points. Automatically sets method to METHOD_Boundary if array is non-empty.

void REGIONGEN_RASTER_SEEDED::SetMaxDifference ( double  MaxDifference  )  [inline]

Set maximum difference for value (area or boundary) comparison.

If not set then will use exact match.

void REGIONGEN_RASTER_SEEDED::SetMethod ( METHOD  Method  )  [inline]

Set method for region generation.

If not set will do Solid trace unless boundary points are set.

void REGIONGEN_RASTER_SEEDED::SetPointCRS ( const SPATREF::COORDREFSYS PointCRS  )  [inline]

Set coordinate reference system for seed and boundary points.

If not set or undefined then points must be in source raster coordinates.

void REGIONGEN_RASTER_SEEDED::SetSeedPoint ( const DPOINT2D SeedPoint  ) 

Set single seed point.

void REGIONGEN_RASTER_SEEDED::SetSeedPoints ( const DOUBLE_ARRAY< DPOINT2D > &  SeedPoints  ) 

Set multiple seed points.

void REGIONGEN_RASTER_SEEDED::SetSource ( const RVC::OBJITEM ObjItemSource  )  [inline]

Set source raster OBJITEM.

Parameters:
ObjItemSource Item for source raster

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

Generated on Sun Oct 7 21:33:47 2012 for TNTsdk 2012 by  doxygen 1.6.1