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_ChannelInfo.h
parent906b9e0584b93094b1c45514fbf6fd8c62e6d015 (diff)
stule cleanup: node headers
Diffstat (limited to 'source/blender/compositor/intern/COM_ChannelInfo.h')
-rw-r--r--source/blender/compositor/intern/COM_ChannelInfo.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/source/blender/compositor/intern/COM_ChannelInfo.h b/source/blender/compositor/intern/COM_ChannelInfo.h
index 40933bce6f5..399fdc62fa2 100644
--- a/source/blender/compositor/intern/COM_ChannelInfo.h
+++ b/source/blender/compositor/intern/COM_ChannelInfo.h
@@ -32,9 +32,9 @@
using namespace std;
/**
- * @brief List of possible channel types
- * @ingroup Model
- */
+ * @brief List of possible channel types
+ * @ingroup Model
+ */
typedef enum ChannelType {
COM_CT_ColorComponent /** @brief this channel is contains color information. Specific used is determined by channelnumber, and in the future color space */,
COM_CT_Alpha /** @brief this channel is contains transparency value */,
@@ -47,31 +47,31 @@ typedef enum ChannelType {
} ChannelType;
/**
- * @brief ChannelInfo holds information about a channel.
- *
- * Channels are transported from node to node via a SocketConnection.
- * ChannelInfo holds specific setting of these channels in order that the to-node of the connection
- * Can handle specific logic per channel setting.
- *
- * @note currently this is not used, but a future place to implement color spacing and other things.
- * @ingroup Model
- */
+ * @brief ChannelInfo holds information about a channel.
+ *
+ * Channels are transported from node to node via a SocketConnection.
+ * ChannelInfo holds specific setting of these channels in order that the to-node of the connection
+ * Can handle specific logic per channel setting.
+ *
+ * @note currently this is not used, but a future place to implement color spacing and other things.
+ * @ingroup Model
+ */
class ChannelInfo {
private:
/**
- * @brief the channel number, in the connection. [0-3]
- */
+ * @brief the channel number, in the connection. [0-3]
+ */
int number;
/**
- * @brief type of channel
- */
+ * @brief type of channel
+ */
ChannelType type;
/**
- * @brieg Is this value in this channel premultiplied with its alpha
- * @note only valid if type = ColorComponent;
- */
+ * @brieg Is this value in this channel premultiplied with its alpha
+ * @note only valid if type = ColorComponent;
+ */
bool premultiplied;
// /**
@@ -82,39 +82,39 @@ private:
public:
/**
- * @brief creates a new ChannelInfo and set default values
- */
+ * @brief creates a new ChannelInfo and set default values
+ */
ChannelInfo();
/**
- * @brief set the index of this channel in the SocketConnection
- */
+ * @brief set the index of this channel in the SocketConnection
+ */
void setNumber(const int number) { this->number = number; }
/**
- * @brief get the index of this channel in the SocketConnection
- */
- const int getNumber() const {return this->number; }
+ * @brief get the index of this channel in the SocketConnection
+ */
+ const int getNumber() const { return this->number; }
/**
- * @brief set the type of channel
- */
+ * @brief set the type of channel
+ */
void setType(const ChannelType type) { this->type = type; }
/**
- * @brief get the type of channel
- */
- const ChannelType getType() const {return this->type; }
+ * @brief get the type of channel
+ */
+ const ChannelType getType() const { return this->type; }
/**
- * @brief set the premultiplicatioin of this channel
- */
+ * @brief set the premultiplicatioin of this channel
+ */
void setPremultiplied(const bool premultiplied) { this->premultiplied = premultiplied; }
/**
- * @brief is this channel premultiplied
- */
- const bool isPremultiplied() const {return this->premultiplied;}
+ * @brief is this channel premultiplied
+ */
+ const bool isPremultiplied() const { return this->premultiplied; }
};