[vtkusers] vtkImageActor from output of probefilter

Luis Alberto Pereira l.a.pereira at uol.com.br
Sun Jun 6 21:46:12 EDT 2010


Hi vtkusers,
 
I have a result of a probe filter. 
How can I create a vtkImageActor using output of probefilter ?
 
My code:
 
     .
 
     vtkRuledSurfaceFilter *rsf = vtkRuledSurfaceFilter::New();
        rsf->SetInputConnection(appendPD->GetOutputPort());
        rsf->SetResolution(1, 1);
        rsf->SetRuledModeToResample();
        rsf->Update();
        
    vtkProbeFilter* probe = vtkProbeFilter::New();
        probe->SetInput(rsf->GetOutput());
        probe->SetSource(pFrame->m_wndView.m_pImageData);  
        probe->Update();
        
 
Thanks,
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100606/e322a7da/attachment.htm>


More information about the vtkusers mailing list