------------------------------------------------------------------------------ Construct an instance of vtkImageConvolve filter. By default zero values are eroded.
| 14 | // Construct an instance of vtkImageConvolve filter. |
| 15 | // By default zero values are eroded. |
| 16 | vtkImageConvolve::vtkImageConvolve() |
| 17 | { |
| 18 | int idx; |
| 19 | for (idx = 0; idx < 343; idx++) |
| 20 | { |
| 21 | this->Kernel[idx] = 0.0; |
| 22 | } |
| 23 | |
| 24 | // Construct a primary id function kernel that does nothing at all |
| 25 | double kernel[9]; |
| 26 | for (idx = 0; idx < 9; idx++) |
| 27 | { |
| 28 | kernel[idx] = 0.0; |
| 29 | } |
| 30 | kernel[4] = 1.0; |
| 31 | this->SetKernel3x3(kernel); |
| 32 | } |
| 33 | |
| 34 | //------------------------------------------------------------------------------ |
| 35 | // Destructor |
nothing calls this directly
no test coverage detected