[vtkusers] vtkImageCanvasSource2D err
Mathieu Malaterre
mathieu.malaterre at kitware.com
Wed May 5 17:39:05 EDT 2004
Nothing on nvidia 5200 FX + KDE
Nothing with Mesa,
But be carefull there is no repaint, if you move your window outside of
screen it won't be repaint...
Mathieu
Dean Inglis wrote:
> thanks Mathieu.
>
> I get this on
>
> a) Intel P4 HT, Win2k, Nvidia GeForce Ti 4800, Borland BCB6
> and on
> b) Intel P4 mobile, Win2k, Nvidia Quadro4 500 GoGL, Borland BCB5
>
> different display drivers, (somewhat) different compilers.
> Can anyone verify on another Borland build?
>
> Dean
>
>
> Could not reproduce problem on Linux Fedora Debug
>
> Can you add at the end os script:
> wm withdraw .
>
> Mathieu
>
>
> package require vtk
> package require vtkinteraction
>
> vtkImageCanvasSource2D acanvas
> #[acanvas GetOutput] SetExtent 0 255 0 255 0 0
> [acanvas GetOutput] SetExtent 0 599 0 599 0 0
> [acanvas GetOutput] SetNumberOfScalarComponents 3
> [acanvas GetOutput] SetScalarTypeToUnsignedChar
> [acanvas GetOutput] SetSpacing 1 1 1
> acanvas SetDrawColor 255 0 0
> acanvas FillPixel 1 1
> acanvas Update
>
> vtkImageViewer viewer
> viewer SetInput [acanvas GetOutput]
> viewer SetColorWindow 255
> viewer SetColorLevel 127
> viewer SetSize 600 600
> viewer Render
>
> wm withdraw .
>
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list