diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-13 18:33:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-13 18:33:50 +0400 |
commit | e22aa7bc38c5d38a0714bed8a2a1869383cd5e5a (patch) | |
tree | 8ba360a657b3dee76a5e5126930037b5bc9e368f /source/blender/compositor/operations/COM_GlareBaseOperation.h | |
parent | 342fb0a19ef267de288086f3d0bb3c330a76d855 (diff) |
style cleanup
Diffstat (limited to 'source/blender/compositor/operations/COM_GlareBaseOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_GlareBaseOperation.h | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/source/blender/compositor/operations/COM_GlareBaseOperation.h b/source/blender/compositor/operations/COM_GlareBaseOperation.h index d79f449f426..0d20dd363c7 100644 --- a/source/blender/compositor/operations/COM_GlareBaseOperation.h +++ b/source/blender/compositor/operations/COM_GlareBaseOperation.h @@ -15,8 +15,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * Contributor: - * Jeroen Bakker + * Contributor: + * Jeroen Bakker * Monique Dewanchand */ @@ -59,34 +59,36 @@ typedef float fRGB[4]; class GlareBaseOperation : public SingleThreadedNodeOperation { private: /** - * @brief Cached reference to the inputProgram - */ - SocketReader * inputProgram; - + * @brief Cached reference to the inputProgram + */ + SocketReader *inputProgram; + /** - * @brief settings of the glare node. - */ - NodeGlare * settings; + * @brief settings of the glare node. + */ + NodeGlare *settings; public: /** - * Initialize the execution - */ + * Initialize the execution + */ void initExecution(); - + /** - * Deinitialize the execution - */ + * Deinitialize the execution + */ void deinitExecution(); - void setGlareSettings(NodeGlare * settings) {this->settings = settings;} + void setGlareSettings(NodeGlare *settings) { + this->settings = settings; + } bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output); - + protected: GlareBaseOperation(); - + virtual void generateGlare(float *data, MemoryBuffer *inputTile, NodeGlare *settings) = 0; - + MemoryBuffer *createMemoryBuffer(rcti *rect, MemoryBuffer **memoryBuffers); - + }; #endif |