[vtkusers] vtkImageDataGeometryFilter with vtkStructuredPointsReader

Aldredo Gourbish the.answer3 at libertysurf.fr
Thu Aug 2 06:28:57 EDT 2007


Hi everbody,

I have a problem of data type using vtkImageDataGeometryFilter. In fact, I use this class with an input data of type vtkStructuredPointsReader. Normaly, there is no problem here.
After, I try to render the volume using vtkOpenGLVolumeTextureMapper3D. But here I have these errors :
"
ERROR: In .\vtkVolumeMapper.cxx, line 83
vtkOpenGLVolumeTextureMapper3D (03700020): The SetInput method of this mapper requires vtkImageData as input

ERROR: In .\vtkVolumeMapper.cxx, line 83ERROR: In .\vtkDemandDrivenPipeline.cxx, line 726
vtkStreamingDemandDrivenPipeline (036B83E8): Input port 0 of algorithm vtkOpenGLVolumeTextureMapper3D(ERROR: In .\vtkDemandDrivenPipeline.cxx, line 726
vtkStreamingDemandDrivenPipeline (036B83E8): Input port 0 of algorithm vtkOpenGLVolumeTextureMapper3D(03700020) has 0 connections but is not optional.
"

So I understood that de data type is not good since vtkImageDataGeometryFilter->GetOutput() returns a vtkPolyData*.
Finally the vtkImageDataGeometryFilter does not seem to be the better class to extract data from vtkStructuredPoints, unless there is a filter to convert vtkPolyData to vtkImageData ? But I didn't find it...

So if somebody has any idea... thank's to help me ! :-)


Have a nice day.

Gourbish

------------------------ ALICE C'EST ENCORE MIEUX AVEC CANAL+ LE BOUQUET ! ---------------
Découvrez vite l'offre exclusive ALICEBOX et CANAL+ LE BOUQUET, en cliquant ici http://alicebox.fr
Soumis à conditions.





More information about the vtkusers mailing list