probefilter buggy ?

John Biddiscombe j.biddiscombe at rl.ac.uk
Wed Sep 8 08:37:26 EDT 1999


vtkProbefilter->SetSource(vtkImageData *i) {
	calls 
	MakeImageToStructuredPoints
and then does
	SetSource(I_t_S_P->GetOutput());
but as this is a structuredpoints dataset which is a subclass of imagedata,
it calls itself recursively.

}

Solution : Add

vtkProbefilter->SetSource(vtkStructuredPoints *s) {
	this->SetSource( (vtkDataSet*)s);
}



John B



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list