Class for creating contour lines. More...
#include <rvc/opcontouring.h>
Classes | |
| class | DESTINATION_PARAMETERS |
| Class describes parameters of destination object. More... | |
| class | ITERATIVETHRESHOLDING_PARAMETERS |
| Class for Iterative Thresholding contouring method from Raster. More... | |
| class | LINEAR_PARAMETERS |
| Class for Linear contouring method from TIN and Raster. More... | |
| class | METHOD_PARAMETERS |
| Base class for all contouring methods. More... | |
| class | RASTER_PARAMETERS |
| Class describes parameters of Raster source object. More... | |
| class | SEGMENTS |
| Class for collecting and tracing segments to polylines following to saving them to vector. More... | |
| class | SOURCE_PARAMETERS |
| Class describes parameters of source object. More... | |
| class | TIN_PARAMETERS |
| Class describes parameters of TIN source object. More... | |
Public Types | |
| enum | METHOD { METHOD_Invalid = -1, METHOD_First = 0, METHOD_Linear = 0, METHOD_IterativeThresholding = 1, METHOD_Last = 1, METHOD_Count = 2 } |
| enum | SOURCE { SOURCE_Invalid = -1, SOURCE_First = 0, SOURCE_Raster = 0, SOURCE_TIN = 1, SOURCE_Last = 1, SOURCE_Count = 2 } |
Static Public Member Functions | |
| static ERRVALUE | ComputeFromTriangle (const DPOINT3D &A, const DPOINT3D &B, const DPOINT3D &C, double start, double end, double interval, FastDelegate< ERRVALUE(const DPOINT3D &, const DPOINT3D &)> DelegateContourSegment) |
| static ERRVALUE | Process (const RVC::OBJITEM &SrcObjItem, RVC::OBJITEM &DestObjItem, const SOURCE_PARAMETERS *SrcParameters, const METHOD_PARAMETERS *MethodParameters, const DESTINATION_PARAMETERS &DestParameters) |
| static ERRVALUE | ProcessFromRaster (const RVC::OBJITEM &SrcObjItem, RVC::OBJITEM &DestObjItem, const RASTER_PARAMETERS &RasterParameters, const METHOD_PARAMETERS *MethodParameters, const DESTINATION_PARAMETERS &DestParameters) |
| static ERRVALUE | ProcessIterativeThresholdingFromRaster (const RVC::OBJITEM &SrcObjItem, RVC::OBJITEM &DestObjItem, const RASTER_PARAMETERS &RasterParameters, const ITERATIVETHRESHOLDING_PARAMETERS &IterThresParameters, const DESTINATION_PARAMETERS &DestParameters) |
| static ERRVALUE | ProcessLinearFromRaster (const RVC::OBJITEM &SrcObjItem, RVC::OBJITEM &DestObjItem, const RASTER_PARAMETERS &RasterParameters, const LINEAR_PARAMETERS &LinearParameters, const DESTINATION_PARAMETERS &DestParameters) |
| static ERRVALUE | ProcessLinearFromTIN (const RVC::OBJITEM &SrcObjItem, RVC::OBJITEM &DestObjItem, const TIN_PARAMETERS &TINParameters, const LINEAR_PARAMETERS &LinearParameters, const DESTINATION_PARAMETERS &DestParameters) |
Class for creating contour lines.
| static ERRVALUE RVC::OP::CONTOURING::ComputeFromTriangle | ( | const DPOINT3D & | A, | |
| const DPOINT3D & | B, | |||
| const DPOINT3D & | C, | |||
| double | start, | |||
| double | end, | |||
| double | interval, | |||
| FastDelegate< ERRVALUE(const DPOINT3D &, const DPOINT3D &)> | DelegateContourSegment | |||
| ) | [static] |
Compute full set of contour segments for a given triangle (as a set of 3 nodes).
| A | Node of the triangle | |
| B | Node of the triangle | |
| C | Node of the triangle | |
| start | Starting level of contouring range (Z) | |
| end | Ending level of contouring range (Z) | |
| interval | Interval between contour lines in Z units | |
| DelegateContourSegment | Delegate that will be envoked for each contour segment |
| static ERRVALUE RVC::OP::CONTOURING::Process | ( | const RVC::OBJITEM & | SrcObjItem, | |
| RVC::OBJITEM & | DestObjItem, | |||
| const SOURCE_PARAMETERS * | SrcParameters, | |||
| const METHOD_PARAMETERS * | MethodParameters, | |||
| const DESTINATION_PARAMETERS & | DestParameters | |||
| ) | [static] |
Generates contouring.
| static ERRVALUE RVC::OP::CONTOURING::ProcessFromRaster | ( | const RVC::OBJITEM & | SrcObjItem, | |
| RVC::OBJITEM & | DestObjItem, | |||
| const RASTER_PARAMETERS & | RasterParameters, | |||
| const METHOD_PARAMETERS * | MethodParameters, | |||
| const DESTINATION_PARAMETERS & | DestParameters | |||
| ) | [static] |
Generates contouring from raster.
| static ERRVALUE RVC::OP::CONTOURING::ProcessIterativeThresholdingFromRaster | ( | const RVC::OBJITEM & | SrcObjItem, | |
| RVC::OBJITEM & | DestObjItem, | |||
| const RASTER_PARAMETERS & | RasterParameters, | |||
| const ITERATIVETHRESHOLDING_PARAMETERS & | IterThresParameters, | |||
| const DESTINATION_PARAMETERS & | DestParameters | |||
| ) | [static] |
Generates contouring from raster by Iterative Thresholding.
| static ERRVALUE RVC::OP::CONTOURING::ProcessLinearFromRaster | ( | const RVC::OBJITEM & | SrcObjItem, | |
| RVC::OBJITEM & | DestObjItem, | |||
| const RASTER_PARAMETERS & | RasterParameters, | |||
| const LINEAR_PARAMETERS & | LinearParameters, | |||
| const DESTINATION_PARAMETERS & | DestParameters | |||
| ) | [static] |
Generates contouring from raster by Linear.
| static ERRVALUE RVC::OP::CONTOURING::ProcessLinearFromTIN | ( | const RVC::OBJITEM & | SrcObjItem, | |
| RVC::OBJITEM & | DestObjItem, | |||
| const TIN_PARAMETERS & | TINParameters, | |||
| const LINEAR_PARAMETERS & | LinearParameters, | |||
| const DESTINATION_PARAMETERS & | DestParameters | |||
| ) | [static] |
Generates contouring from TIN.
1.6.1