Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_FastGaussianBlurOperation.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_FASTGAUSSIANBLUROPERATION_H__ | #pragma once | ||||
| #define __COM_FASTGAUSSIANBLUROPERATION_H__ | |||||
| #include "COM_BlurBaseOperation.h" | #include "COM_BlurBaseOperation.h" | ||||
| #include "DNA_node_types.h" | #include "DNA_node_types.h" | ||||
| class FastGaussianBlurOperation : public BlurBaseOperation { | class FastGaussianBlurOperation : public BlurBaseOperation { | ||||
| private: | private: | ||||
| float m_sx; | float m_sx; | ||||
| float m_sy; | float m_sy; | ||||
| ▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | public: | ||||
| } | } | ||||
| /* used for DOF blurring ZBuffer */ | /* used for DOF blurring ZBuffer */ | ||||
| void setOverlay(int overlay) | void setOverlay(int overlay) | ||||
| { | { | ||||
| this->m_overlay = overlay; | this->m_overlay = overlay; | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||