Differential D8466 Diff 27507 source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.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_GAUSSIANALPHAYBLUROPERATION_H__ | #pragma once | ||||
| #define __COM_GAUSSIANALPHAYBLUROPERATION_H__ | |||||
| #include "COM_BlurBaseOperation.h" | #include "COM_BlurBaseOperation.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| class GaussianAlphaYBlurOperation : public BlurBaseOperation { | class GaussianAlphaYBlurOperation : public BlurBaseOperation { | ||||
| private: | private: | ||||
| float *m_gausstab; | float *m_gausstab; | ||||
| float *m_distbuf_inv; | float *m_distbuf_inv; | ||||
| bool m_do_subtract; | bool m_do_subtract; | ||||
| Show All 31 Lines | public: | ||||
| { | { | ||||
| this->m_do_subtract = subtract; | this->m_do_subtract = subtract; | ||||
| } | } | ||||
| void setFalloff(int falloff) | void setFalloff(int falloff) | ||||
| { | { | ||||
| this->m_falloff = falloff; | this->m_falloff = falloff; | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||