[vtkusers] what's wrong?

Renaud Isabelle renauisa at yahoo.fr
Mon Sep 19 15:46:20 EDT 2005


Hi,
 
Now that I have updated my vtk version from vtk4.4 to vtk5.0, a lot of stuff in my project don't work anymore!!!! So strange! 
 
By example: by clicking on my log button to compute a log filter on my rendered image, nothing is resulting!!!
 
void OnLog() 
{
 
  WorkImageType::Pointer input;
 
  if(LogBtn.GetCheck()) //log button uncheck
  {
 LogBtn.SetCheck(0); // toggle radio button
 input = const_cast<WorkImageType*>(logFilter->GetInput());
 rescaleFilter->SetInput(input);
  }
 
  else 
  {
 LogBtn.SetCheck(1); //log filter activated 
 input = const_cast<WorkImageType*>(rescaleFilter->GetInput());
 logFilter->SetInput(input);
 rescaleFilter->SetInput(logFilter->GetOutput());
  }
 
  renderWindow->Render();
}
 
- However, changing scale is still working. 
 
void OnChangeScale()
{
  CString s;
  c_edit_scale.GetWindowText(s);
  float val = atof(s);
  shiftscale->SetScale( val );
  
shiftscale->UpdateWholeExtent();
 
renderWindow->Render();
}
 
- Does anyone have an idea why? 
 
- Is there a documentation about big changes in VTK 5.0 and what functions are not available anymore?
 
Isabelle
 


		
---------------------------------
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050919/424072a5/attachment.htm>


More information about the vtkusers mailing list