Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_DespeckleOperation.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_DESPECKLEOPERATION_H__ | #pragma once | ||||
| #define __COM_DESPECKLEOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| class DespeckleOperation : public NodeOperation { | class DespeckleOperation : public NodeOperation { | ||||
| private: | private: | ||||
| float m_threshold; | float m_threshold; | ||||
| float m_threshold_neighbor; | float m_threshold_neighbor; | ||||
| // int m_filterWidth; | // int m_filterWidth; | ||||
| Show All 17 Lines | public: | ||||
| void setThresholdNeighbor(float threshold) | void setThresholdNeighbor(float threshold) | ||||
| { | { | ||||
| this->m_threshold_neighbor = threshold; | this->m_threshold_neighbor = threshold; | ||||
| } | } | ||||
| void initExecution(); | void initExecution(); | ||||
| void deinitExecution(); | void deinitExecution(); | ||||
| }; | }; | ||||
| #endif | |||||