[vtkusers] vtkImagePanelWidget Offscreen Renderer

DL I inglis.dl at gmail.com
Wed Oct 7 14:14:08 EDT 2015


Hi LaChen

can you explain why you want to do this (what is the user interface
supposed to present) ?
Are you trying to map the texture onto some other surface or  are you
trying to show the sliced image as a 2D
image in a renderer ?

regards,
Dean

On Wed, Oct 7, 2015 at 6:04 AM, LaChen <sam24666806 at gmail.com> wrote:

> Hi, I try to use vtkImagePanelWidget::GetTexture() to get texture of
> slicing
> by indicated index (SetSliceIndex).
>
> After I get texture, I downcast the texture to OpenGLTexture to get
> vtkTextureObject.
>
> Then I try to the the handle of the texture object. Finally, I write some
> codes to draw an rectangle and texture by the handle. But it seems not
> work.
>
> Is my way correctly??
>
> If it's not correct, how to show one slice in a plane.
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkImagePanelWidget-Offscreen-Renderer-tp5734298.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151007/c70fb988/attachment.html>


More information about the vtkusers mailing list