[vtkusers] vtkImageActor
    David Gobbi 
    david.gobbi at gmail.com
       
    Tue Sep 17 15:09:49 EDT 2013
    
    
  
On Tue, Sep 17, 2013 at 12:26 PM, Mike Gagnon <mike at gagnon.com> wrote:
> 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?
I strongly recommend using the actor's SetUserMatrix() method.
 David
    
    
More information about the vtkusers
mailing list