Commit bcf86dad authored by Ken Martin's avatar Ken Martin
Browse files

fix warning

parent 99746bf9
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "vtkObjectFactory.h" #include "vtkObjectFactory.h"
#include "vtkPointData.h" #include "vtkPointData.h"
vtkCxxRevisionMacro(vtkSampleFunction, "1.63"); vtkCxxRevisionMacro(vtkSampleFunction, "1.64");
vtkStandardNewMacro(vtkSampleFunction); vtkStandardNewMacro(vtkSampleFunction);
vtkCxxSetObjectMacro(vtkSampleFunction,ImplicitFunction,vtkImplicitFunction); vtkCxxSetObjectMacro(vtkSampleFunction,ImplicitFunction,vtkImplicitFunction);
...@@ -146,7 +146,6 @@ void vtkSampleFunction::ExecuteData(vtkDataObject *outp) ...@@ -146,7 +146,6 @@ void vtkSampleFunction::ExecuteData(vtkDataObject *outp)
// //
int extent[6]; int extent[6];
output->GetUpdateExtent(extent); output->GetUpdateExtent(extent);
int sliceSize = this->SampleDimensions[0] * this->SampleDimensions[1];
float spacing[3]; float spacing[3];
output->GetSpacing(spacing); output->GetSpacing(spacing);
......
Supports Markdown
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