[Paraview-developers] How to name blocks in multi-block data set?

Paul Edwards paul.m.edwards at gmail.com
Wed Jun 26 00:57:43 EDT 2013


Hi Joshua,

You can do it like this:

dataset->GetMetaData(0)->Set(vtkCompositeDataSet::NAME(), "new name for
block 0");

Regards,
Paul

On 25 June 2013 17:47, Joshua Murphy <Joshua.Murphy at lasp.colorado.edu>wrote:

> Hello,
>
> I am working on a custom source that pulls data from Nasa's CDA web.  I am
> downloading data and splitting it into tables (within a multi-block data
> set) based on space craft data set.  The issue I am running into is that
> the data block information looks like the image attached:
>
>
> I have been trying to find a way to name the blocks, but I have, as yet,
> been unable to figure out how to go about doing so.  It is important to
> name the data sets, as the user  needs to know which space craft instrument
> the data is from.
>
> Could someone quickly point me in the correct direction on how to go about
> naming the individual blocks of the data set?  DataSet0, DataSet1, etc. are
> of limited help. :)
>
> Thanks,
> Josh
>
> Joshua J. Murphy
> Computer Scientist
> Laboratory for Atmospheric and Space Physics
> University of Colorado, Boulder
>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130626/69c1c119/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 16467 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130626/69c1c119/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 11762 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130626/69c1c119/attachment-0003.png>


More information about the Paraview-developers mailing list