AW: [vtkusers] Qt QPixmap to Texture
Sascha Däuber
daeuber at ira.uka.de
Mon Sep 24 11:11:14 EDT 2001
> -----Ursprüngliche Nachricht-----
> Von: vtkusers-admin at public.kitware.com
> [mailto:vtkusers-admin at public.kitware.com]Im Auftrag von Sebastian
> Fiorentini
> Gesendet am: Montag, 24. September 2001 16:39
> An: vtkusers at public.kitware.com
> Betreff: [vtkusers] Qt QPixmap to Texture
>
> Hi...
>
> Any Idea about transforming from and to a QPixmap
> (trolltech Qt image)...????
Use QImage::setPixel, vtkImageData::GetScalarPointer,
QPixmap::convertFromImage. At least it should work like this, other members
could do the trick a bit more convenient.
regards
Sascha
More information about the vtkusers
mailing list