00001 00018 #ifndef INC_RVC_DEPRESSIONFILLER_H 00019 #define INC_RVC_DEPRESSIONFILLER_H 00020 00021 #ifndef INC_MI32_SIMPLEAR_H 00022 #include <mi32/simplear.h> 00023 #endif 00024 00025 namespace RVC { 00026 00027 class OBJITEM; 00028 class RASTER; 00029 00030 namespace RASTEROP { 00031 00034 class DEPRESSIONFILLER { 00035 public: 00036 00038 DEPRESSIONFILLER ( 00039 ); 00040 00042 ~DEPRESSIONFILLER ( 00043 ); 00044 00047 ERRVALUE FillAll ( 00048 const RVC::OBJITEM& ObjItemSrc, 00049 RVC::OBJITEM& ObjItemTgt, 00050 SIMPLE_ARRAY<LPOINT2D> *pUnfilledPts = 0 00051 ); 00052 00054 ERRVALUE FillAll ( 00055 const RVC::OBJITEM& ObjItem, 00056 SIMPLE_ARRAY<LPOINT2D> *pUnfilledPts = 0 00057 ); 00058 00059 /* 00061 ERRVALUE FillSingle ( 00062 RVC::RASTER& ObjRaster, //!< Elevation raster 00063 INT32 row, //!< Raster row 00064 INT32 column //!< Raster column 00065 ); 00066 */ 00067 00069 INT32 GetForceFillCells ( 00070 ) const { return (m_ForceFillCells); } 00071 00073 double GetMaxFillDepth ( 00074 ) const { return (m_MaxFillDepth); } 00075 00077 INT32 GetMaxFillCells ( 00078 ) const { return (m_MaxFillCells); } 00079 00081 INT32 GetMaxNullCells ( 00082 ) const { return (m_MaxNullCells); } 00083 00085 bool GetPutNullAtUnfilled ( 00086 ) const { return (m_PutNullAtUnfilled); } 00087 00091 void SetForceFillCells ( 00092 UINT32 ForceFillCells 00093 ) { m_ForceFillCells = ForceFillCells; } 00094 00097 void SetMaxFillCells ( 00098 UINT32 MaxFillCells 00099 ) { m_MaxFillCells = MaxFillCells; } 00100 00104 void SetMaxFillDepth ( 00105 double MaxFillDepth 00106 ) { m_MaxFillDepth = MaxFillDepth; } 00107 00111 void SetMaxNullCells ( 00112 UINT32 MaxNullCells 00113 ) { m_MaxNullCells = MaxNullCells; } 00114 00117 void SetPutNullAtUnfilled ( 00118 bool PutNullAtUnfilled 00119 ) { m_PutNullAtUnfilled = PutNullAtUnfilled; } 00120 00121 private: 00122 #ifndef GENERATING_DOXYGEN_OUTPUT 00123 double m_MaxFillDepth; 00124 UINT32 m_ForceFillCells; 00125 UINT32 m_MaxFillCells; 00126 UINT32 m_MaxNullCells; 00127 bool m_PutNullAtUnfilled; 00128 #endif 00129 }; 00130 00131 00132 } // End namespace RASTEROP 00133 } // End namespace RVC 00134 00135 #endif // INC_RVC_DEPRESSIONFILLER_H
1.6.1