Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_CurveBaseOperation.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_CURVEBASEOPERATION_H__ | #pragma once | ||||
| #define __COM_CURVEBASEOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_color_types.h" | #include "DNA_color_types.h" | ||||
| class CurveBaseOperation : public NodeOperation { | class CurveBaseOperation : public NodeOperation { | ||||
| protected: | protected: | ||||
| /** | /** | ||||
| * Cached reference to the inputProgram | * Cached reference to the inputProgram | ||||
| */ | */ | ||||
| CurveMapping *m_curveMapping; | CurveMapping *m_curveMapping; | ||||
| public: | public: | ||||
| CurveBaseOperation(); | CurveBaseOperation(); | ||||
| ~CurveBaseOperation(); | ~CurveBaseOperation(); | ||||
| /** | /** | ||||
| * Initialize the execution | * Initialize the execution | ||||
| */ | */ | ||||
| void initExecution(); | void initExecution(); | ||||
| void deinitExecution(); | void deinitExecution(); | ||||
| void setCurveMapping(CurveMapping *mapping); | void setCurveMapping(CurveMapping *mapping); | ||||
| }; | }; | ||||
| #endif | |||||