[vtkusers] vtkCompositeDataGeometryFilter and vtkPolyhedron

Gerrick Bivins Gerrick.Bivins at halliburton.com
Thu Apr 4 14:50:54 EDT 2013


Oh. I see. I'm using the vtk wrappings (java) so it'd take a little more time than I have right now.

Actually, setting up my pipelines like this:
Source (composite)
    |
    V
Algorithm
...
    |
    V

DataSetSurfaceFilter (set compositedatapipeline executive)
    |
    V
Compositedatageometryfilter
...

Seems to work so far. I haven't exhausted all my use cases yet but it looks like it's working.
I just wanted to verify that the output of  DataSetSurfaceFilter wasn't different from the geometry filter.
Gerrick

From: Berk Geveci [mailto:berk.geveci at kitware.com]
Sent: Thursday, April 04, 2013 12:52 PM
To: Gerrick Bivins
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkCompositeDataGeometryFilter and vtkPolyhedron

The easiest fix to this is to copy vtkPVGeometryFilter from ParaView into your project and then use that. Eventually, we should migrate that to VTK and deprecate some of the other ones to clean things up but it hasn't been a priority so far.

On Thu, Apr 4, 2013 at 11:49 AM, Gerrick Bivins <Gerrick.Bivins at halliburton.com<mailto:Gerrick.Bivins at halliburton.com>> wrote:
Update here.
After some trial and error I was able to use vtkDataSetSurfaceFilter to render the data correctly.
I was unable to get vtkGeometryFilter to work for unstructured grids with vtkPolyhedron cells.
(Is this a bug?)
>From the docs, it's not clear what the difference is other than "faster" and it doesn't appear to
be a direct replacement. Also, I'm not sure I can use it on composite data.
Can someone explain the difference? Will the vtkDataSetSurfaceFilter pass through the 0d,1d,2d cells as well?

Gerrick



From: vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org> [mailto:vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>] On Behalf Of Gerrick Bivins
Sent: Wednesday, April 03, 2013 4:47 PM
To: 'vtkusers at vtk.org<mailto:vtkusers at vtk.org>'
Subject: [vtkusers] vtkCompositeDataGeometryFilter and vtkPolyhedron

Hello,
I have a strange issue and I'm not sure if it is my data or a limitation I wasn't aware of.
I have an application that worked previously with composite data, specifically multiblocks of unstructured grids.
I've been attempting to use an unstructured grid in my composite data source and it is read in correctly but
as soon as I pass it to a vtkCompositeDataGeometryFilter, the output doesn't contain any cells, as if the filter doesn' t recognize
polyhedron cells. The strange thing is, the file reads in as expected in paraview....
Is there some limitation where vtkCompositeDataGeometryFilter (ie vtkGeometryFilter) doesn't work with polyhedron cells?
Gerrick
________________________________
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

_______________________________________________
Powered by www.kitware.com<http://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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130404/02bc2ef9/attachment.htm>


More information about the vtkusers mailing list