[vtkusers] vtkSurfaceReconstruction coordinate error

Nens nicolas.narbonne at gmail.com
Tue Feb 18 10:16:30 EST 2014


Hi,

It still doesn't work.

What i do :

I erase the old vtkSurfaceReconstructionFilter.cpp and replace by the new
one.
During the compilation of vtk, i've got an error :

c:/MinGW/msys/1.0/local/src/VTK5.10.1/Imaging/vtkSurfaceReconstructionFilter.cxx:
In member function 'virtual int
vtkSurfaceReconstructionFilter::RequestData(vtkInformation*,
vtkInformationVector**, vtkInformationVector*)':
c:/MinGW/msys/1.0/local/src/VTK5.10.1/Imaging/vtkSurfaceReconstructionFilter.cxx:435:34:
erreur: no matching function for call to
'vtkImageData::AllocateScalars(vtkInformation*&)'
c:/MinGW/msys/1.0/local/src/VTK5.10.1/Imaging/vtkSurfaceReconstructionFilter.cxx:435:34:
note: candidate is:
In file included from
c:/MinGW/msys/1.0/local/src/VTK5.10.1/Imaging/vtkSurfaceReconstructionFilter.cxx:19:0:
C:/MinGW/msys/1.0/local/src/VTK5.10.1/Filtering/vtkImageData.h:237:16: note:
virtual void vtkImageData::AllocateScalars()
C:/MinGW/msys/1.0/local/src/VTK5.10.1/Filtering/vtkImageData.h:237:16: note:  
candidate expects 0 arguments, 1 provided
make[2]: ***
[Imaging/CMakeFiles/vtkImaging.dir/vtkSurfaceReconstructionFilter.cxx.obj]
Error 1
make[1]: *** [Imaging/CMakeFiles/vtkImaging.dir/all] Error 2
make: *** [all] Error 2



So, to fix the error, i change "output->AllocateScalars(outInfo);" to
"output->AllocateScalars();"

I try to compil and test my program, and i still have the wrong values for
my surface.



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkSurfaceReconstruction-coordinate-error-tp5725988p5725997.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list