[vtk-developers] Bug in vtk 6.0 - vtkGenericEnSightReader
Joachim Pouderoux
joachim.pouderoux at kitware.com
Tue Jun 23 04:44:48 EDT 2015
Forgot to mention the vtkCompositeDataToUnstructuredGridFilter: it appends
all the blocks of a multiblock data to a single unstructured grid object.
*Joachim Pouderoux*
*PhD, Technical Expert*
*Kitware SAS <http://www.kitware.fr>*
2015-06-23 10:35 GMT+02:00 Joachim Pouderoux <joachim.pouderoux at kitware.com>
:
> The ensight reader create multiblock (composite) data object, if you want
> to extract one block from it, just use the vtkMultiBlockDataSet::GetBlock()
> function. I can't name a filter (don't think it exists) that would extract
> a dataset from a multiblock dataobject - the vtkExtractBlock actually
> generates a multiblock even if a single block is selected.
>
> Regarding the geometry, I don't understand what you intend to do: you have
> an unstructured (or a set of inside a multiblock) data object and you would
> like to transform it to a polydata mesh? What for? The geometry filter
> extracts the external boundary surfaces (polygons) of a mesh and generate a
> mesh that can be rendered with OpenGL (ie a Polydata) as it is useless (and
> too costly) to render all internal faces of the model. Again, the
> unstructured grid describes cell types (3d cells, 2d quadratic cells etc.)
> that cannot be described in a vtkPolyData dataset.
>
>
> *Joachim Pouderoux*
>
> *PhD, Technical Expert*
> *Kitware SAS <http://www.kitware.fr>*
>
>
> 2015-06-23 10:05 GMT+02:00 madz <madaramh at gmail.com>:
>
>> Thank you for the reply. That seems to be the case. Then how do I get the
>> output (all points, not just surface) to a single polydata?
>> I cannot call,
>>
>> vtkSmartPointer<vtkPolyData> polydata = reader->GetOutput();
>>
>> because that will give a multiblock. I tried the vtkGeometryFilter but it
>> doesn't seem to work.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/Bug-in-vtk-6-0-vtkGenericEnSightReader-tp5732470p5732491.html
>> Sent from the VTK - Dev 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150623/b75e03e0/attachment.html>
More information about the vtk-developers
mailing list