[vtkusers] vtkImageActor

Mike Gagnon mike at gagnon.com
Tue Sep 17 14:26:38 EDT 2013


Hi,

I'd like to display a bitmap in my renderer - so I do the following:

     m_pImageActor = vtkImageActor::New();
     m_pBMPReader = vtkBMPReader::New();

     m_pBMPReader->SetFileName(strPath.c_str());
     m_pImageActor->SetInput(m_pBMPReader->GetOutput());

     m_pRenderer->AddViewProp(m_pImageActor);

The image is added, but I don't know what call I need to orient the 
image and position it...  Can anyone help with this?

Thanks!
Mike



More information about the vtkusers mailing list