TIN_RC16 Class Reference

Triangulated Irregular Network using 16-bit row/col coordinates. More...

#include <mi32/tinrc16.h>

List of all members.

Classes

class  FILLER
 Base class for filling all faces in TIN. More...
class  FILLER_MEM_DOUBLE
 Filler for double-precision values in memory array. More...
struct  NODE
 Node with 16-bit row/col coordites. More...
struct  PLANE
struct  TRINODE
 Container for 3 nodes defining triangle face. More...

Public Types

typedef
fastdelegate::FastDelegate
< double(INT16, INT16)> 
DELEGATE_GETVALUE

Public Member Functions

 TIN_RC16 ()
 ~TIN_RC16 ()
ERRVALUE AddRowCells (INT16 row, const INT16 *columns, UINT32 NumColumns)
ERRVALUE CalcNodeNormals (DELEGATE_GETVALUE DelegateGetValue, double rowscale, double colscale, DOUBLE_ARRAY< DPOINT3D > &NodeNormals) const
ERRVALUE Finalize ()
const SIMPLE_ARRAY< NODE > & GetNodes () const
ERRVALUE Initialize ()

Detailed Description

Triangulated Irregular Network using 16-bit row/col coordinates.


Member Typedef Documentation

typedef fastdelegate::FastDelegate<double(INT16,INT16)> TIN_RC16::DELEGATE_GETVALUE

Constructor.


Constructor & Destructor Documentation

TIN_RC16::TIN_RC16 (  ) 

Destructor.

TIN_RC16::~TIN_RC16 (  ) 

Member Function Documentation

ERRVALUE TIN_RC16::AddRowCells ( INT16  row,
const INT16 columns,
UINT32  NumColumns 
)

Add all cells for specific row.

Parameters:
row Raster row, rows must be added in increasing order.
columns All columns for row, must be in increasing order
NumColumns Number of columns in row
ERRVALUE TIN_RC16::CalcNodeNormals ( DELEGATE_GETVALUE  DelegateGetValue,
double  rowscale,
double  colscale,
DOUBLE_ARRAY< DPOINT3D > &  NodeNormals 
) const

Calculate normal vectors at nodes.

Parameters:
DelegateGetValue Delegate to get Z value for
NodeNormals Normals corresponding to nodes returned
ERRVALUE TIN_RC16::Finalize (  ) 

Finish filling remaining cells.

Must be called after all row cells are added.

const SIMPLE_ARRAY<NODE>& TIN_RC16::GetNodes (  )  const [inline]

Get array of nodes.

ERRVALUE TIN_RC16::Initialize (  ) 

Initialize.

Must be called before AddRowCells.


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

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