#include "ct_abstractmetric_raster.h" CT_AbstractMetric_Raster::CT_AbstractMetric_Raster(QString pluginName) : CT_AbstractMetricGeneric(pluginName) { _inRaster = nullptr; _plotArea = nullptr; } CT_AbstractMetric_Raster::CT_AbstractMetric_Raster(const CT_AbstractMetric_Raster &other) : CT_AbstractMetricGeneric(other) { _inRaster = other._inRaster; _plotArea = other._plotArea; } bool CT_AbstractMetric_Raster::initDatas(const CT_AbstractImage2D *inRaster, const CT_AreaShape2DData *plotArea) { _inRaster = inRaster; _plotArea = plotArea; return (_inRaster != nullptr); }