Into

Modules

Documentation

classPiiColors::GenericConversion

#include <PiiColors.h>

An adaptable binary function that multiplies a color with a 3-by-3 matrix.

Inherits Pii::BinaryFunction< PiiMatrix< float >, Clr, PiiColor< float > >

Description

The type of the color channels in the result will always be float. The function makes no checks. The caller must ensure the size of the conversion matrix.

Public member functions

PiiColor< float >
(
  • const PiiMatrix< float > & matrix
  • const Clr & clr
)

Function details

  • PiiColor< float > operator()

    (
    • const PiiMatrix< float > & matrix
    • const Clr & clr
    )
    [inline]
Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.