|
Registry
|
Public Member Functions | |
| void | blur (double alpha, size_t iterations) |
| Blurs the raster data by repeatedly averaging between neighbored cells. More... | |
| void | create () |
| Creates the raster according to the set number of nodes (use 'set_num_nodes'). More... | |
| int | dim () const |
| Returns the dimension of the raster. More... | |
| double | extension (int dim) const |
| returns the extension of the raster for the given dimension. More... | |
| double | interpolate_at_cursor (int unnamed) const |
| returns the interpolated value (using the given order) at the cursor (use 'set_cursor' to set the cursor). More... | |
| void | load_from_asc (const char *filename) |
| Loads the given file and creates the raster accordingly. More... | |
| double | min_corner (int dim) const |
| returns the coordinate of the minimum corner of the raster for the given dimension. More... | |
| double | no_data_value () const |
| returns the 'no-data-value'of the raster. Nodes with this value are ignored in some applications. More... | |
| size_t | num_nodes (int dim) const |
| returns the number of nodes for the given dimension. More... | |
| NumberRaster () | |
| void | save_to_asc (const char *filename) const |
| Saves the given raster to an 'asc' file. More... | |
| void | select_node (int dim, size_t index) |
| select a node by specifying the index in each dimension. More... | |
| double | selected_node_value () const |
| returns the value of the selected node (use 'select_node' to select a node). More... | |
| void | set_cursor (int dim, double coordinate) |
| set the coordinate of the cursor for each dimension. More... | |
| void | set_extension (int dim, double coordinate) |
| set the extension of the raster for the given dimension. More... | |
| void | set_min_corner (int dim, double coordinate) |
| set the coordinate of the minimum corner of the raster for the given dimension. More... | |
| void | set_no_data_value (double value) |
| set the 'no-data-value'of the raster. Nodes with this value are ignored in some applications. More... | |
| void | set_num_nodes (int dim, size_t numNodes) |
| set the number of nodes for the given dimension. More... | |
| void | set_selected_node_value (double value) |
| set the value of the selected node (use 'select_node' to select a node). More... | |
| NumberRaster | ( | ) |
|
inline |
Blurs the raster data by repeatedly averaging between neighbored cells.
| [in] | alpha | |
| [in] | iterations |
References alpha.
|
inline |
Creates the raster according to the set number of nodes (use 'set_num_nodes').
|
inline |
Returns the dimension of the raster.
References dim.
Referenced by NumberRaster::extension(), NumberRaster::min_corner(), NumberRaster::num_nodes(), NumberRaster::select_node(), NumberRaster::set_cursor(), NumberRaster::set_extension(), NumberRaster::set_min_corner(), and NumberRaster::set_num_nodes().
|
inline |
returns the extension of the raster for the given dimension.
| [in] | dim |
References NumberRaster::dim().
|
inline |
returns the interpolated value (using the given order) at the cursor (use 'set_cursor' to set the cursor).
| [in] | unnamed |
|
inline |
Loads the given file and creates the raster accordingly.
| [in] | filename |
|
inline |
returns the coordinate of the minimum corner of the raster for the given dimension.
| [in] | dim |
References NumberRaster::dim().
|
inline |
returns the 'no-data-value'of the raster. Nodes with this value are ignored in some applications.
|
inline |
returns the number of nodes for the given dimension.
| [in] | dim |
References NumberRaster::dim().
|
inline |
Saves the given raster to an 'asc' file.
| [in] | filename |
|
inline |
select a node by specifying the index in each dimension.
| [in] | dim | |
| [in] | index |
References NumberRaster::dim().
|
inline |
returns the value of the selected node (use 'select_node' to select a node).
|
inline |
set the coordinate of the cursor for each dimension.
| [in] | dim | |
| [in] | coordinate |
References NumberRaster::dim().
|
inline |
set the extension of the raster for the given dimension.
| [in] | dim | |
| [in] | coordinate |
References NumberRaster::dim().
|
inline |
set the coordinate of the minimum corner of the raster for the given dimension.
| [in] | dim | |
| [in] | coordinate |
References NumberRaster::dim().
|
inline |
set the 'no-data-value'of the raster. Nodes with this value are ignored in some applications.
| [in] | value |
|
inline |
set the number of nodes for the given dimension.
| [in] | dim | |
| [in] | numNodes |
References NumberRaster::dim().
|
inline |
set the value of the selected node (use 'select_node' to select a node).
| [in] | value |