Index: ct_grid3d.h =================================================================== --- ct_grid3d.h (revision 740) +++ ct_grid3d.h (working copy) @@ -232,6 +232,11 @@ */ void computeMinMax(); + /*! + * \brief Show min and max values into the log window + */ + void printMinMax(const QString &LabelText); + /** * \brief Gives the NA value * \return Valeur NA value Index: ct_grid3d.hpp =================================================================== --- ct_grid3d.hpp (revision 740) +++ ct_grid3d.hpp (working copy) @@ -380,8 +380,13 @@ } } +template< typename DataT> +void CT_Grid3D::printMinMax(const QString &LabelText){ +PS_LOG->addInfoMessage(LogInterface::reader, LabelText + " : Extremum [" + QString::number(_dataMin) + ";" + QString::number(_dataMax) +"] "); +} + template< typename DataT> QString CT_Grid3D::getType() const {