Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_BokehBlurOperation.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_BOKEHBLUROPERATION_H__ | #pragma once | ||||
| #define __COM_BOKEHBLUROPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "COM_QualityStepHelper.h" | #include "COM_QualityStepHelper.h" | ||||
| class BokehBlurOperation : public NodeOperation, public QualityStepHelper { | class BokehBlurOperation : public NodeOperation, public QualityStepHelper { | ||||
| private: | private: | ||||
| SocketReader *m_inputProgram; | SocketReader *m_inputProgram; | ||||
| SocketReader *m_inputBokehProgram; | SocketReader *m_inputBokehProgram; | ||||
| ▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | public: | ||||
| void setExtendBounds(bool extend_bounds) | void setExtendBounds(bool extend_bounds) | ||||
| { | { | ||||
| this->m_extend_bounds = extend_bounds; | this->m_extend_bounds = extend_bounds; | ||||
| } | } | ||||
| void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); | void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); | ||||
| }; | }; | ||||
| #endif | |||||