[vtkusers] Re: vtkImageDataGeometryFilter with vtkStructuredPointsReader
Alfredo Gourbish
the.answer3 at libertysurf.fr
Wed Aug 8 15:52:28 EDT 2007
Hi,
Nobody has idea for that ? It may be an important thing in my project if I
could extract a part of my volume...
Thank's.
Gourbish
----- Original Message -----
From: "Aldredo Gourbish" <the.answer3 at libertysurf.fr>
To: "vtkusers" <vtkusers at vtk.org>
Sent: Thursday, August 02, 2007 12:28 PM
Subject: vtkImageDataGeometryFilter with vtkStructuredPointsReader
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