|
Public Member Functions
|
|
ConvolutionKernel
(const ConvolutionKernel
&k) |
|
copy constructor
|
|
ConvolutionKernel
(float *kernel, int size) |
|
user specified arbitrary size x size kernel.
|
|
ConvolutionKernel
(float sharpness=0.5f, float radius=1.5f, float
sigma=(1.0f/3.0f)) |
|
construct a procedurally generated kernel
(as described above)
|
|
~ConvolutionKernel
() |
|
destructor. Releases memory
|
void |
setSharpness
(float val) |
void |
setRadius (float
val) |
void |
setSigma (float
val) |
void |
setKernel (float
*f, int Size) |
|
Copies the supplied kernel into this class.
|
float |
getSharpness ()
const |
float |
getRadius ()
const |
float |
getSigma ()
const |
bool |
isGenerated
(void) const |
|
true if procedurally generated, false
otherwise
|
int |
getSize (void)
const |
|
the size of the kernel (width and height are
the same)
|
void |
getKernel (float
*targetBuffer) const |
|
copies the kernel to the target buffer which
must be appropriately sized
|
const float * |
getKernel (void)
const |
|
a pointer to the kernel (in 32 bit float
format)
|
const short * |
getFixedKernel
(void) const |
void |
logPrintKernel
(void) const |
|
Prints the convolution kernel to the log.
(for debugging purposes).
|
mudbox::ConvolutionKernel
mudbox::ConvolutionKernel mudbox::ConvolutionKernel
mudbox::ConvolutionKernel mudbox::ConvolutionKernel
mudbox::ConvolutionKernel mudbox::ConvolutionKernel
mudbox::ConvolutionKernel mudbox::ConvolutionKernel
mudbox::ConvolutionKernel
mudbox::ConvolutionKernel
mudbox::ConvolutionKernel mudbox::ConvolutionKernel
mudbox::ConvolutionKernel mudbox::ConvolutionKernel
mudbox::ConvolutionKernel mudbox::ConvolutionKernel
mudbox::ConvolutionKernel mudbox::ConvolutionKernel
mudbox::ConvolutionKernel