[Dcmlib] vtkGdcmReader and vtkProcessObject

luca.picello at libero.it luca.picello at libero.it
Sun Jun 4 16:01:25 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/f412977e/attachment.html>


More information about the Dcmlib mailing list