[vtk-developers] vtkUnstructuredGrid - Not rendering Overlapping Cells

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Feb 22 10:28:15 EST 2013


VTK has other type of data structure such a composite-dataset / multi-block
which let you create a dataset that is composed of multiple dataset (i.e.
Unstructured grid in your case).
And what you do is basically share the same vtkPoints across all your
unstructured grids which will then be gathered by the composite dataset.
and rendered as a single dataset.

Hope that explain a bit more,

Seb


On Fri, Feb 22, 2013 at 10:24 AM, Bhanu Hariharan <bhanu at petrotel.com>wrote:

> Sebastian, I do not understand what you mean by multi-block. Could you
> please elaborate. Thanks.
>
>
> On Fri, Feb 22, 2013 at 9:20 AM, Sebastien Jourdain <
> sebastien.jourdain at kitware.com> wrote:
>
>> Unless it's a multi-block and then it is not the same dataset anymore...
>>
>>
>> On Fri, Feb 22, 2013 at 10:17 AM, Sebastien Jourdain <
>> sebastien.jourdain at kitware.com> wrote:
>>
>>> Then I'm not sure that VTK can handle 2 cells that are based on exactly
>>> the same points ID.
>>>
>>>
>>> On Fri, Feb 22, 2013 at 10:12 AM, Bhanu Hariharan <bhanu at petrotel.com>wrote:
>>>
>>>> Thanks Sebastian. For the 2 cell case, I start with 16 points and
>>>> identify duplicates and bring it down to 8 and the two cells now map to the
>>>> same 8 nodes. In this scenario, can VTK render both cells with some flags
>>>> turned on.
>>>> Or can you please suggest another way.
>>>>
>>>> But removing duplicate nodes is a must for my application due to memory
>>>> constraints.
>>>>
>>>> -Bhanu
>>>>
>>>>
>>>> On Fri, Feb 22, 2013 at 9:03 AM, Sebastien Jourdain <
>>>> sebastien.jourdain at kitware.com> wrote:
>>>>
>>>>> duplicate the points.
>>>>>
>>>>>
>>>>> On Fri, Feb 22, 2013 at 9:59 AM, bhanu <bhanu at petrotel.com> wrote:
>>>>>
>>>>>> Please can anyone answer this query - is this forum active?
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://vtk.1045678.n5.nabble.com/vtkUnstructuredGrid-Not-rendering-Overlapping-Cells-tp5718739p5718763.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
>>>>>>
>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130222/56a9a646/attachment.html>


More information about the vtk-developers mailing list