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
* @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
* @return InputSocketResizeMode
*/
InputSocketResizeMode getResizeMode() const {return this->resizeMode;}
InputSocketResizeMode getResizeMode() const {
return this->resizeMode;
}
const ChannelInfo *getChannelInfo(const int channelnumber);

View File

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

View File

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

View File

@@ -50,7 +50,9 @@ public:
*/
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 */
/* soms macros for color handling */
typedef float fRGB[4];
/* TODO - replace with BLI_math_vector */
/* clear color */
#define fRGB_clear(c) { c[0] = c[1] = c[2] = 0.f; } (void)0
/* copy c2 to c1 */

View File

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