KWin
Loading...
Searching...
No Matches
src
core
colorlut3d.h
Go to the documentation of this file.
1
/*
2
KWin - the KDE window manager
3
This file is part of the KDE project.
4
5
SPDX-FileCopyrightText: 2023 Xaver Hugl <xaver.hugl@gmail.com>
6
7
SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
#pragma once
10
11
#include <QVector>
12
#include <memory>
13
14
#include "kwin_export.h"
15
16
class
QVector3D;
17
18
namespace
KWin
19
{
20
21
class
ColorTransformation;
22
23
class
KWIN_EXPORT
ColorLUT3D
24
{
25
public
:
26
ColorLUT3D
(std::unique_ptr<ColorTransformation> &&transformation,
size_t
xSize,
size_t
ySize,
size_t
zSize);
27
28
size_t
xSize()
const
;
29
size_t
ySize()
const
;
30
size_t
zSize()
const
;
31
32
QVector3D sample(
size_t
x,
size_t
y,
size_t
z);
33
34
private
:
35
const
std::unique_ptr<ColorTransformation> m_transformation;
36
const
size_t
m_xSize;
37
const
size_t
m_ySize;
38
const
size_t
m_zSize;
39
};
40
41
}
KWin::ColorLUT3D
Definition
colorlut3d.h:24
KWin
Definition
activation_test.cpp:20
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0