void BackgroundStateCurve::updateColorFilter (const Transformation &transformation,
                                              const DocumentModelGridRemoval &modelGridRemoval,
                                              const DocumentModelColorFilter &modelColorFilter)
{
  LOG4CPP_INFO_S ((*mainCat)) << "BackgroundStateCurve::updateColorFilter";

  processImageFromSavedInputs (transformation,
                               modelGridRemoval,
                               modelColorFilter);
}
void BackgroundStateCurve::setPixmap (const Transformation &transformation,
                                      const DocumentModelGridRemoval &modelGridRemoval,
                                      const DocumentModelColorFilter &modelColorFilter,
                                      const QPixmap &pixmapOriginal)
{
  LOG4CPP_INFO_S ((*mainCat)) << "BackgroundStateCurve::setPixmap";

  m_pixmapOriginal = pixmapOriginal;
  processImageFromSavedInputs (transformation,
                               modelGridRemoval,
                               modelColorFilter);
}
void BackgroundStateCurve::setCurveSelected (const Transformation &transformation,
                                             const DocumentModelGridRemoval &modelGridRemoval,
                                             const DocumentModelColorFilter &modelColorFilter,
                                             const QString &curveSelected)
{
  LOG4CPP_INFO_S ((*mainCat)) << "BackgroundStateCurve::setCurveSelected"
                              << " curve=" << curveSelected.toLatin1().data();

  // Even if m_curveSelected equals curveSelected we update the image, since the transformation
  // may have changed
  processImageFromSavedInputs (transformation,
                               modelGridRemoval,
                               modelColorFilter,
                               curveSelected);
}