Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
commitbde7e6c96b9e180b293ee6e49ab813a30fac0635 (patch)
treecf9f09aa0b3bb0528553546674269f0e5e96bd93 /source/blender/compositor/intern/COM_CompositorContext.h
parent906b9e0584b93094b1c45514fbf6fd8c62e6d015 (diff)
stule cleanup: node headers
Diffstat (limited to 'source/blender/compositor/intern/COM_CompositorContext.h')
-rw-r--r--source/blender/compositor/intern/COM_CompositorContext.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/source/blender/compositor/intern/COM_CompositorContext.h b/source/blender/compositor/intern/COM_CompositorContext.h
index 8425030aec2..93872f4839f 100644
--- a/source/blender/compositor/intern/COM_CompositorContext.h
+++ b/source/blender/compositor/intern/COM_CompositorContext.h
@@ -32,36 +32,36 @@
#include "COM_defines.h"
/**
- * @brief Overall context of the compositor
- */
+ * @brief Overall context of the compositor
+ */
class CompositorContext {
private:
/**
- * @brief The rendering field describes if we are rendering (F12) or if we are editing (Node editor)
- * This field is initialized in ExecutionSystem and must only be read from that point on.
- * @see ExecutionSystem
- */
+ * @brief The rendering field describes if we are rendering (F12) or if we are editing (Node editor)
+ * This field is initialized in ExecutionSystem and must only be read from that point on.
+ * @see ExecutionSystem
+ */
bool rendering;
/**
- * @brief The quality of the composite.
- * This field is initialized in ExecutionSystem and must only be read from that point on.
- * @see ExecutionSystem
- */
+ * @brief The quality of the composite.
+ * This field is initialized in ExecutionSystem and must only be read from that point on.
+ * @see ExecutionSystem
+ */
CompositorQuality quality;
/**
- * @brief Reference to the scene that is being composited.
- * This field is initialized in ExecutionSystem and must only be read from that point on.
- * @see ExecutionSystem
- */
+ * @brief Reference to the scene that is being composited.
+ * This field is initialized in ExecutionSystem and must only be read from that point on.
+ * @see ExecutionSystem
+ */
Scene *scene;
/**
- * @brief reference to the bNodeTree
- * This field is initialized in ExecutionSystem and must only be read from that point on.
- * @see ExecutionSystem
- */
+ * @brief reference to the bNodeTree
+ * This field is initialized in ExecutionSystem and must only be read from that point on.
+ * @see ExecutionSystem
+ */
bNodeTree *bnodetree;
/**
@@ -70,90 +70,90 @@ private:
bNode *activegNode;
/**
- * @brief does this system have active opencl devices?
- */
+ * @brief does this system have active opencl devices?
+ */
bool hasActiveOpenCLDevices;
public:
/**
- * @brief constructor initializes the context with default values.
- */
+ * @brief constructor initializes the context with default values.
+ */
CompositorContext();
/**
- * @brief set the rendering field of the context
- */
+ * @brief set the rendering field of the context
+ */
void setRendering(bool rendering) { this->rendering = rendering; }
/**
- * @brief get the rendering field of the context
- */
- bool isRendering() const {return this->rendering;}
+ * @brief get the rendering field of the context
+ */
+ bool isRendering() const { return this->rendering; }
/**
- * @brief set the scene of the context
- */
- void setScene(Scene *scene) {this->scene = scene;}
+ * @brief set the scene of the context
+ */
+ void setScene(Scene *scene) { this->scene = scene; }
/**
- * @brief set the bnodetree of the context
- */
- void setbNodeTree(bNodeTree *bnodetree) {this->bnodetree = bnodetree;}
+ * @brief set the bnodetree of the context
+ */
+ void setbNodeTree(bNodeTree *bnodetree) { this->bnodetree = bnodetree; }
/**
- * @brief get the bnodetree of the context
- */
- const bNodeTree * getbNodeTree() const {return this->bnodetree;}
+ * @brief get the bnodetree of the context
+ */
+ const bNodeTree *getbNodeTree() const { return this->bnodetree; }
/**
- * @brief set the active groupnode of the context
- */
- void setActivegNode(bNode *gnode) {this->activegNode = gnode;}
+ * @brief set the active groupnode of the context
+ */
+ void setActivegNode(bNode *gnode) { this->activegNode = gnode; }
/**
- * @brief get the active groupnode of the context
- */
- const bNode * getActivegNode() const {return this->activegNode;}
+ * @brief get the active groupnode of the context
+ */
+ const bNode *getActivegNode() const { return this->activegNode; }
/**
- * @brief get the scene of the context
- */
- const Scene *getScene() const {return this->scene;}
+ * @brief get the scene of the context
+ */
+ const Scene *getScene() const { return this->scene; }
/**
- * @brief set the quality
- */
+ * @brief set the quality
+ */
void setQuality(CompositorQuality quality) {
this->quality = quality;
}
/**
- * @brief get the quality
- */
+ * @brief get the quality
+ */
const CompositorQuality getQuality() const {
return quality;
}
/**
- * @brief get the current framenumber of the scene in this context
- */
+ * @brief get the current framenumber of the scene in this context
+ */
const int getFramenumber() const;
/**
- * @brief has this system active openclDevices?
- */
+ * @brief has this system active openclDevices?
+ */
const bool getHasActiveOpenCLDevices() const {
return this->hasActiveOpenCLDevices;
}
/**
- * @brief set has this system active openclDevices?
- */
+ * @brief set has this system active openclDevices?
+ */
void setHasActiveOpenCLDevices(bool hasAvtiveOpenCLDevices) {
this->hasActiveOpenCLDevices = hasAvtiveOpenCLDevices;
}
- int getChunksize() {return this->getbNodeTree()->chunksize;}
+ int getChunksize() { return this->getbNodeTree()->chunksize; }
const int isColorManaged() const;
};