iWaveOcean
3ds Max ocean simulation plugin
|
#include <Convolution.h>
Public Member Functions | |
Convolution (float kernel[kernel_width][kernel_width]) | |
void | Convolve (float *in, float *out, int rows, int cols) const |
Convolution of a specified kernel onto an input matrix, with customizable edge behavior.
radius | the radius of the kernel; the kernel will be of size (2P+1) by (2P+1) |
behavior | a ConvolutionEdgeBehavior that specifies how the kernel handles boundary conditions |
|
inlinevirtual |
Performs a convolution on an input matrix and stores it in an output matrix.
in | the input matrix |
out | the output matrix (must be same dimensions as the input matrix) |
rows | the number of rows in each matrix |
cols | the number of columns in each matrix |
Implements IConvolution< radius >.