Commit 9777e298 authored by Bill Lorensen's avatar Bill Lorensen Committed by Code Review
Browse files

Merge topic 'SampleFunctionMacErrors' into master

d59d4392 COMP: Member template function use on Mac
parents 18a804f8 d59d4392
......@@ -158,13 +158,13 @@ SampleAcrossImage(vtkSampleFunction *self, vtkImageData *output,
algo.CapValue = self->GetCapValue();
// Okay now generate samples using SMP tools
vtkSampleFunctionAlgorithm<T>::FunctionValueOp<T> values(&algo);
FunctionValueOp<T> values(&algo);
vtkSMPTools::For(0,algo.Dims[2], values);
// If requested, generate normals
if ( algo.Normals )
vtkSampleFunctionAlgorithm<T>::FunctionGradientOp<T> gradient(&algo);
FunctionGradientOp<T> gradient(&algo);
vtkSMPTools::For(0,algo.Dims[2], gradient);
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