Commit ab36a82e authored by Sean McBride's avatar Sean McBride

Added some consts in a few places

Change-Id: Ib7a96b7685e282456642c144cc7614197ae9093e
parent a0c7098d
......@@ -954,7 +954,7 @@ void vtkHyperTreeGridSource::SubdivideFromBitsDescriptor(
void vtkHyperTreeGridSource::SubdivideFromQuadric( vtkHyperTreeCursor* cursor,
unsigned int level,
int treeIdx,
int idx[3],
const int idx[3],
double origin[3],
double size[3] )
{
......
......@@ -214,7 +214,7 @@ protected:
void SubdivideFromQuadric( vtkHyperTreeCursor* cursor,
unsigned int level,
int treeIdx,
int idx[3],
const int idx[3],
double origin[3],
double size[3] );
......
......@@ -101,7 +101,7 @@ void vtkImageConvolve::SetKernel5x5(const double kernel[25])
//----------------------------------------------------------------------------
// Set a 7x7 kernel
void vtkImageConvolve::SetKernel7x7(double kernel[49])
void vtkImageConvolve::SetKernel7x7(const double kernel[49])
{
// Fill the kernel
this->SetKernel(kernel, 7, 7, 1);
......@@ -117,7 +117,7 @@ void vtkImageConvolve::SetKernel3x3x3(const double kernel[27])
//----------------------------------------------------------------------------
// Set a 5x5x5 kernel
void vtkImageConvolve::SetKernel5x5x5(double kernel[125])
void vtkImageConvolve::SetKernel5x5x5(const double kernel[125])
{
// Fill the kernel
this->SetKernel(kernel, 5, 5, 5);
......@@ -125,7 +125,7 @@ void vtkImageConvolve::SetKernel5x5x5(double kernel[125])
//----------------------------------------------------------------------------
// Set a 7x7x7 kernel
void vtkImageConvolve::SetKernel7x7x7(double kernel[343])
void vtkImageConvolve::SetKernel7x7x7(const double kernel[343])
{
// Fill the kernel
this->SetKernel(kernel, 7, 7, 7);
......
......@@ -42,7 +42,7 @@ public:
void SetKernel3x3(const double kernel[9]);
void SetKernel5x5(const double kernel[25]);
//BTX
void SetKernel7x7(double kernel[49]);
void SetKernel7x7(const double kernel[49]);
//ETX
// Description:
......@@ -60,8 +60,8 @@ public:
// Set the kernel to be a 3x3x3 or 5x5x5 or 7x7x7 kernel.
void SetKernel3x3x3(const double kernel[27]);
//BTX
void SetKernel5x5x5(double kernel[125]);
void SetKernel7x7x7(double kernel[343]);
void SetKernel5x5x5(const double kernel[125]);
void SetKernel7x7x7(const double kernel[343]);
//ETX
// Description:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment