Triangulated Irregular Network using 16-bit row/col coordinates. More...
#include <mi32/tinrc16.h>
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 () |
Triangulated Irregular Network using 16-bit row/col coordinates.
| typedef fastdelegate::FastDelegate<double(INT16,INT16)> TIN_RC16::DELEGATE_GETVALUE |
Constructor.
| TIN_RC16::TIN_RC16 | ( | ) |
Destructor.
| TIN_RC16::~TIN_RC16 | ( | ) |
Add all cells for specific row.
| 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.
| 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.
1.6.1