[vtkusers] How to show a 3D scalar dataset on a polygon?

David E DeMarle dave.demarle at kitware.com
Sun Mar 14 07:50:41 EDT 2010


I think you want to use vtkProbeFilter to sample the field onto the
vertices of the polydata. Then render the output of that filter.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Sun, Mar 14, 2010 at 6:21 AM, AGPX <agpxnet at yahoo.it> wrote:
> Hi,
>
> thanks for reply. What I need is to show the scalar field using colors
> (through a lookup table) on a polygonal surface. If I'm not wrong with
> vtkGlyph3D you cannot achieve this, am I right? Somebody have tried to
> extend vtkOpenGLTexture class to support 3D texture? Any hints on how I can
> do it? Alternatively I can render this polygonal surfaces using OpenGL
> directly.... I can mix vtk rendering with direct OpenGL commands?
>
> Thanks,
>
> - AGPX
>
> ________________________________
> Da: Jérôme <jerome.velut at gmail.com>
> A: AGPX <agpxnet at yahoo.it>
> Cc: vtk vtk <vtkusers at vtk.org>
> Inviato: Dom 14 marzo 2010, 10:55:36
> Oggetto: Re: [vtkusers] How to show a 3D scalar dataset on a polygon?
>
> Hi,
> My understanding is that you have a 3D vector defined at each point of your
> volume. If I am not wrong, you may want to use vtkGlyph3D.
>
> HTH
> Jerome
>
> 2010/3/14 AGPX <agpxnet at yahoo.it>
>>
>> Hi,
>>
>> I have a volume dataset of scalars that represent an electromagnetic
>> field. I need show this field on a set of polygon. This could be solved
>> easily IF vtk support 3D texture, but very sadly 3D textures aren't
>> supported. There's another way to show the field on the polygons?
>>
>> Please help, I'm stucked! Thanks.
>>
>> - AGPX
>>
>>
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list