Differential D8466 Diff 27409 source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.h
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.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_CALCULATESTANDARDDEVIATIONOPERATION_H__ | #pragma once | ||||
| #define __COM_CALCULATESTANDARDDEVIATIONOPERATION_H__ | |||||
| #include "COM_CalculateMeanOperation.h" | #include "COM_CalculateMeanOperation.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_node_types.h" | #include "DNA_node_types.h" | ||||
| /** | /** | ||||
| * \brief base class of CalculateStandardDeviation, | * \brief base class of CalculateStandardDeviation, | ||||
| * implementing the simple CalculateStandardDeviation. | * implementing the simple CalculateStandardDeviation. | ||||
| * \ingroup operation | * \ingroup operation | ||||
| */ | */ | ||||
| class CalculateStandardDeviationOperation : public CalculateMeanOperation { | class CalculateStandardDeviationOperation : public CalculateMeanOperation { | ||||
| protected: | protected: | ||||
| float m_standardDeviation; | float m_standardDeviation; | ||||
| public: | public: | ||||
| CalculateStandardDeviationOperation(); | CalculateStandardDeviationOperation(); | ||||
| /** | /** | ||||
| * the inner loop of this program | * the inner loop of this program | ||||
| */ | */ | ||||
| void executePixel(float output[4], int x, int y, void *data); | void executePixel(float output[4], int x, int y, void *data); | ||||
| void *initializeTileData(rcti *rect); | void *initializeTileData(rcti *rect); | ||||
| }; | }; | ||||
| #endif | |||||