Differential D8466 Diff 27507 source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.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_VARIABLESIZEBOKEHBLUROPERATION_H__ | #pragma once | ||||
| #define __COM_VARIABLESIZEBOKEHBLUROPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "COM_QualityStepHelper.h" | #include "COM_QualityStepHelper.h" | ||||
| //#define COM_DEFOCUS_SEARCH | //#define COM_DEFOCUS_SEARCH | ||||
| class VariableSizeBokehBlurOperation : public NodeOperation, public QualityStepHelper { | class VariableSizeBokehBlurOperation : public NodeOperation, public QualityStepHelper { | ||||
| private: | private: | ||||
| int m_maxBlur; | int m_maxBlur; | ||||
| ▲ Show 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | public: | ||||
| void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); | void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); | ||||
| void setMaxBlur(int maxRadius) | void setMaxBlur(int maxRadius) | ||||
| { | { | ||||
| this->m_maxBlur = maxRadius; | this->m_maxBlur = maxRadius; | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | #endif | ||||
| #endif | |||||