AW: [vtkusers] UpdateExtent is not updated

Erbacher, Markus Markus.Erbacher at med.uni-heidelberg.de
Fri Oct 28 05:31:48 EDT 2005


I have found a solution to the problem:
I have overridden the SetInput function in the following manner:

	{
	vtkImageToImageFilter::SetInput ( input );
	this->GetOutput()->SetUpdateExtentToWholeExtent();
	}

As far as I understand, the UpdateExtent is only updated if it was wrong (i.e. after the warning has occured and something went wrong) or if it was not set yet. Is it supposed to behave like that or should it be updated if the input changes by default?


Regards
Markus

-----Ursprüngliche Nachricht-----
Von: Erbacher, Markus 
Gesendet: Freitag, 28. Oktober 2005 09:33
An: vtkusers at vtk.org
Betreff: [vtkusers] UpdateExtent is not updated


Hello to all,

I am using vtk 4.2.
I had to implement an filter on my own. It seems to work fine, as long as the input does not change its dimensions. If that happens I get a warning that the UpdateExtent does not lie within the wholeExtent. I figured out that the UpdateExtent has not been updated. 

I just reimplemented "ExecuteData". 

Is there any function I missed to implement to achieve this update? Do you have other advise how to get the UpdateExtent updated?

Thank in advance for your help

---------------------------------------------------------------------
Markus Erbacher
University of Heidelberg                           
Institute for Medical Biometry and Informatics
Department of Medical Informatics
Im Neuenheimer Feld 400            
D-69120 Heidelberg, Germany             Tel. : 06221/56-7484  
http://www.med.uni-heidelberg.de/mi     Fax  :         -4997    
Markus.Erbacher at med.uni-heidelberg.de   Sekr.:         -7483 
---------------------------------------------------------------------
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list