diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_BoxMaskOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_BoxMaskOperation.h | 61 |
1 files changed, 33 insertions, 28 deletions
diff --git a/source/blender/compositor/operations/COM_BoxMaskOperation.h b/source/blender/compositor/operations/COM_BoxMaskOperation.h index f5134de7211..f770922ee7c 100644 --- a/source/blender/compositor/operations/COM_BoxMaskOperation.h +++ b/source/blender/compositor/operations/COM_BoxMaskOperation.h @@ -20,42 +20,47 @@ #define __COM_BOXMASKOPERATION_H__ #include "COM_NodeOperation.h" - class BoxMaskOperation : public NodeOperation { -private: - /** - * Cached reference to the inputProgram - */ - SocketReader *m_inputMask; - SocketReader *m_inputValue; + private: + /** + * Cached reference to the inputProgram + */ + SocketReader *m_inputMask; + SocketReader *m_inputValue; - float m_sine; - float m_cosine; - float m_aspectRatio; - int m_maskType; + float m_sine; + float m_cosine; + float m_aspectRatio; + int m_maskType; - NodeBoxMask *m_data; -public: - BoxMaskOperation(); + NodeBoxMask *m_data; - /** - * the inner loop of this program - */ - void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); + public: + BoxMaskOperation(); - /** - * Initialize the execution - */ - void initExecution(); + /** + * the inner loop of this program + */ + void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); - /** - * Deinitialize the execution - */ - void deinitExecution(); + /** + * Initialize the execution + */ + void initExecution(); - void setData(NodeBoxMask *data) { this->m_data = data; } + /** + * Deinitialize the execution + */ + void deinitExecution(); - void setMaskType(int maskType) { this->m_maskType = maskType; } + void setData(NodeBoxMask *data) + { + this->m_data = data; + } + void setMaskType(int maskType) + { + this->m_maskType = maskType; + } }; #endif |