Differential D8466 Diff 27428 source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h
| Show All 10 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2011, Blender Foundation. | * Copyright 2011, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_COLORBALANCEASCCDLOPERATION_H__ | #pragma once | ||||
| #define __COM_COLORBALANCEASCCDLOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| /** | /** | ||||
| * this program converts an input color to an output value. | * this program converts an input color to an output value. | ||||
| * it assumes we are in sRGB color space. | * it assumes we are in sRGB color space. | ||||
| */ | */ | ||||
| class ColorBalanceASCCDLOperation : public NodeOperation { | class ColorBalanceASCCDLOperation : public NodeOperation { | ||||
| protected: | protected: | ||||
| Show All 36 Lines | public: | ||||
| { | { | ||||
| copy_v3_v3(this->m_power, power); | copy_v3_v3(this->m_power, power); | ||||
| } | } | ||||
| void setSlope(float slope[3]) | void setSlope(float slope[3]) | ||||
| { | { | ||||
| copy_v3_v3(this->m_slope, slope); | copy_v3_v3(this->m_slope, slope); | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||