stule cleanup: node headers

This commit is contained in:
2012-06-13 23:31:47 +00:00
parent 906b9e0584
commit bde7e6c96b
226 changed files with 3184 additions and 3192 deletions

View File

@@ -140,13 +140,17 @@ public:
* @brief set the resize mode * @brief set the resize mode
* @param resizeMode the new resize mode. * @param resizeMode the new resize mode.
*/ */
void setResizeMode(InputSocketResizeMode resizeMode) {this->resizeMode = resizeMode;} void setResizeMode(InputSocketResizeMode resizeMode) {
this->resizeMode = resizeMode;
}
/** /**
* @brief get the resize mode of this socket * @brief get the resize mode of this socket
* @return InputSocketResizeMode * @return InputSocketResizeMode
*/ */
InputSocketResizeMode getResizeMode() const {return this->resizeMode;} InputSocketResizeMode getResizeMode() const {
return this->resizeMode;
}
const ChannelInfo *getChannelInfo(const int channelnumber); const ChannelInfo *getChannelInfo(const int channelnumber);

View File

@@ -97,9 +97,7 @@ public:
executePixel(result, x, y, dx, dy, inputBuffers); executePixel(result, x, y, dx, dy, inputBuffers);
} }
virtual void *initializeTileData(rcti *rect, MemoryBuffer** memoryBuffers) { virtual void *initializeTileData(rcti *rect, MemoryBuffer **memoryBuffers) { return 0; }
return 0;
}
virtual void deinitializeTileData(rcti *rect, MemoryBuffer **memoryBuffers, void *data) { virtual void deinitializeTileData(rcti *rect, MemoryBuffer **memoryBuffers, void *data) {
} }

View File

@@ -24,7 +24,6 @@
#define _COM_ColorBalanceASCCDLOperation_h #define _COM_ColorBalanceASCCDLOperation_h
#include "COM_NodeOperation.h" #include "COM_NodeOperation.h"
/** /**
* this program converts an input colour to an output value. * this program converts an input colour to an output value.
* it assumes we are in sRGB colour space. * it assumes we are in sRGB colour space.
@@ -62,20 +61,8 @@ public:
*/ */
void deinitExecution(); void deinitExecution();
void setGain(float gain[3]) { void setGain(float gain[3]) { copy_v3_v3(this->gain, gain); }
this->gain[0] = gain[0]; void setLift(float lift[3]) { copy_v3_v3(this->lift, lift); }
this->gain[1] = gain[1]; void setGamma(float gamma[3]) { copy_v3_v3(this->gamma, gamma); }
this->gain[2] = gain[2];
}
void setLift(float lift[3]) {
this->lift[0] = lift[0];
this->lift[1] = lift[1];
this->lift[2] = lift[2];
}
void setGamma(float gamma[3]) {
this->gamma[0] = gamma[0];
this->gamma[1] = gamma[1];
this->gamma[2] = gamma[2];
}
}; };
#endif #endif

View File

@@ -50,7 +50,9 @@ public:
*/ */
void deinitExecution(); void deinitExecution();
void setColorBand(ColorBand *colorBand) {this->colorBand = colorBand;} void setColorBand(ColorBand *colorBand) {
this->colorBand = colorBand;
}
}; };

View File

@@ -30,6 +30,8 @@
/* utility functions used by glare, tonemap and lens distortion */ /* utility functions used by glare, tonemap and lens distortion */
/* soms macros for color handling */ /* soms macros for color handling */
typedef float fRGB[4]; typedef float fRGB[4];
/* TODO - replace with BLI_math_vector */
/* clear color */ /* clear color */
#define fRGB_clear(c) { c[0] = c[1] = c[2] = 0.f; } (void)0 #define fRGB_clear(c) { c[0] = c[1] = c[2] = 0.f; } (void)0
/* copy c2 to c1 */ /* copy c2 to c1 */

View File

@@ -93,7 +93,6 @@ public:
void initExecution(); void initExecution();
void deinitExecution(); void deinitExecution();
void executePixel(float *output, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]); void executePixel(float *output, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]);
}; };
#endif #endif