Scroom 0.14-49-gb7ae7a6d
Loading...
Searching...
No Matches
PipetteLayerOperations Class Referenceabstract

#include <pipettelayeroperations.hh>

Inheritance diagram for PipetteLayerOperations:
Inheritance graph
Collaboration diagram for PipetteLayerOperations:
Collaboration graph

Public Types

using Ptr = std::shared_ptr< PipetteLayerOperations >
 
using PipetteColor = std::vector< std::pair< std::string, double > >
 

Public Member Functions

virtual PipetteColor sumPixelValues (Scroom::Utils::Rectangle< int > area, const std::shared_ptr< ConstTile > &tile)=0
 
- Public Member Functions inherited from Scroom::Utils::Base
 Base ()=default
 
 Base (const Base &)=delete
 
 Base (Base &&)=delete
 
Baseoperator= (const Base &)=delete
 
Baseoperator= (Base &&)=delete
 
virtual ~Base ()=default
 
template<typename R >
std::shared_ptr< R > shared_from_this ()
 
template<typename R >
std::shared_ptr< R const > shared_from_this () const
 

Additional Inherited Members

- Private Member Functions inherited from Interface
 Interface ()=default
 
 Interface (const Interface &)=delete
 
Interfaceoperator= (const Interface &)=delete
 
 Interface (Interface &&)=delete
 
Interfaceoperator= (Interface &&)=delete
 
virtual ~Interface ()=default
 

Member Typedef Documentation

◆ PipetteColor

using PipetteLayerOperations::PipetteColor = std::vector<std::pair<std::string, double> >

◆ Ptr

Member Function Documentation

◆ sumPixelValues()

virtual PipetteColor PipetteLayerOperations::sumPixelValues ( Scroom::Utils::Rectangle< int >  area,
const std::shared_ptr< ConstTile > &  tile 
)
pure virtual

Sums the samples of each pixel contained in the area of the tile.

Parameters
areaThe rectangular area in which pixels are summed up.
tileThe tile in which the pixels are located in.

Implemented in PipetteCommonOperationsCMYK, and PipetteCommonOperationsRGB.


The documentation for this class was generated from the following file: