Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ColorCurveOperation.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_COLORCURVEOPERATION_H__ | #pragma once | ||||
| #define __COM_COLORCURVEOPERATION_H__ | |||||
| #include "COM_CurveBaseOperation.h" | #include "COM_CurveBaseOperation.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_color_types.h" | #include "DNA_color_types.h" | ||||
| class ColorCurveOperation : public CurveBaseOperation { | class ColorCurveOperation : public CurveBaseOperation { | ||||
| private: | private: | ||||
| /** | /** | ||||
| * Cached reference to the inputProgram | * Cached reference to the inputProgram | ||||
| ▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | public: | ||||
| { | { | ||||
| copy_v3_v3(this->m_black, black); | copy_v3_v3(this->m_black, black); | ||||
| } | } | ||||
| void setWhiteLevel(float white[3]) | void setWhiteLevel(float white[3]) | ||||
| { | { | ||||
| copy_v3_v3(this->m_white, white); | copy_v3_v3(this->m_white, white); | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||