[vtkusers] RE: VTK40 to VTK4.2 problems - vtkOutlineFilter and vtkExtractVOI

Rupert Shute Rupert.Shute at awe.co.uk
Thu May 29 08:55:12 EDT 2003


Hello,

I have been porting some of my vtk4.0 code to vtk 4.2 and have encounter
what appears to be a couple of bugs.

1. When I try to use vtkOutlineFilter to draw a bounding box around a
vtkExtractVOI I get the following compilation error:
/mnt/winlin/NDEproject/code/volVis.cpp:273: no matching function for call to
`vtkOutlineFilter::SetInput (vtkImageData *)'
/home/grup/galaxyStuff/VTK/src/VTK421/VTK-4.2.1/Filtering/vtkDataSetToPolyDa
taFilter.h:44: candidates
are: void vtkDataSetToPolyDataFilter::SetInput (vtkDataSet *)

2. When I adjust the sample rate for my vtkExtractVOI the scale of the
volume also changes. Where as in 4.0 the volume would remain the same size
and shape, just change in resolution.

Both of the above worked correctly under 4.0. Does anyone have any ideas how
I can fix these two problems?

Many thanks

Rupert
--
_______________________________________________________________________________

The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited.  Please notify us immediately by email at intadmin at awe.co.uk, and then delete this message from your computer.  While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected.




More information about the vtkusers mailing list