[Paraview] Re: vtkHierarchicalDataSet and attribute data

Milan Frank milan.frank at gmail.com
Wed Sep 20 06:36:51 EDT 2006


Dear Friends,

I would like to apologise for my previous post. The error was
somewhere else in my code not in VTK or ParaView. (there were no data
attributes in the datasets)

Now everything works fine and the PointDataInformation method actually
"collects" attribute data information from the "leafs" of the
hierarchical structure.

Thanks,
Milan.


On 19/09/06, Milan Frank <milan.frank at gmail.com> wrote:
> Hi all,
>
> I have got an interesting problem related with vtkHierarchicalDataSet.
> I have composed this hierarchical structure from numerous
> vtkUnstructuredGrids. Each unstructured grid element have some data
> attributes assigned. In VTK all works fine and I can see my attribute
> data nicely mapped as colors.
>
> However, when I use ParaViews server manager, the vtkSMDisplayProxy
> shows nothing (my object is white). When I call:
>
>   pdInf = smDisplay.GetGeometryInformation().GetPointDataInformation()
>
> The point data information indicates no attribute data. I suppose,
> only attributes associated directly with the vtkHierarchicalDataSet
> object are displayed.
>
> To me it seems logical, to have attribute data associated with
> "leaves" of the hierarchy instead of with the top-level object. It
> seems to be more practical approach especially when one wants to split
> these objects and process them separately at some point (or
> potentially group them back).
>
> If anyone is willing to share some ideas how to display attribute data
> associated with datasets of the hierarchy it would be greatly
> appreciated.
>
> Thank you,
> Milan.
>
> PS: I'm working with cca one month old CVS version.
>


More information about the ParaView mailing list