[Dcmlib] vtkGdcmReader and vtkProcessObject

luca.picello at gmail.com luca.picello at gmail.com
Sun Jun 4 15:55:13 CEST 2006


adding the progress observer with:
  dicom_reader->AddObserver(vtkCommand::ProgressEvent,progressBar);
 
the following callback is called while updating:
  void  Execute (vtkObject* aCaller, unsigned long aEID, void* aCallData)
  {
    vtkProcessObject* source = vtkProcessObject::SafeDownCast(aCaller);
  }
 
BUT
the SafeDownCast call returns 0. Why?
Any idea?
 
Luca
 
ps: this code was working with vtk4.4
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20060604/e8422086/attachment.html>


More information about the Dcmlib mailing list