[prev in list] [next in list] [prev in thread] [next in thread]
List: paraview
Subject: Re: [Paraview] [vtk-developers] vtkMultiBlockDataSet
From: John Biddiscombe <biddisco () cscs ! ch>
Date: 2009-01-29 8:48:57
Message-ID: 49816D79.1090600 () cscs ! ch
[Download RAW message or body]
[Attachment #2 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jacques <br>
<br>
<a class="moz-txt-link-freetext" \
href="https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/ESPHI/">https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/ESPHI/</a><br>
<br>
I have already done this as part of our pv-meshless development.<br>
load->probe -> probe data -> integrate probes -> display
results<br>
When multiple probes exist (slices etc), then the integrate filter is
called for each block and the results are displayed in a table.<br>
<br>
unsupported and currently undocumented, but we have submitted a paper
to EuroVis which describes some of this which you can request from me
off list if you want.<br>
<br>
JB<br>
<br>
<blockquote
cite="mid:!&!AAAAAAAAAAAYAAAAAAAAAF0V88snc7NDnLzKjZ+tgCrCgAAAEAAAAMTPyoJ94dhMkTkMqsdFu9IBAAAAAA==@ara.co.uk"
type="cite">
<pre wrap="">Thank you,
That will help. What I am intending to do is modify the
vtkIntegrateAttributes class so to be a vtkMultiBlockDataSetAlgorithm so
that the result of the integration are available then for each block. I
think I'm almost there but I'm now trying to understand the whole Controller
thing and how to deal with the processes....
Jacques
-----Original Message-----
From: Utkarsh Ayachit [<a class="moz-txt-link-freetext" \
href="mailto:utkarsh.ayachit@kitware.com">mailto:utkarsh.ayachit@kitware.com</a>] \
Sent: 28 January 2009 14:26
To: Jacques Papper
Cc: ParaView; <a class="moz-txt-link-abbreviated" \
href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>
Subject: Re: [vtk-developers] vtkMultiBlockDataSet
That'd work. But it will copy other information (besides names), if any was
well.
You can explicitly get the value of vtkCompositeDataSet::NAME() key from the
input meta-data and if present copy it to the output.
if (input->GetMetaData(iblock)->Has(vtkCompositeDataSet::NAME()))
{
output->GetMetaData(oblock)->GetMetaData()->Set(vtkCompositeDataSet::NAME(),
input->GetMetaData(iblock)->Get(vtkCompositeDataSet::NAME()));
}
On Wed, Jan 28, 2009 at 5:12 AM, Jacques Papper <a class="moz-txt-link-rfc2396E" \
href="mailto:jpapper@ara.co.uk"><jpapper@ara.co.uk></a> wrote: </pre>
<blockquote type="cite">
<pre wrap="">Hi,
This is my frist go at using the vtkMultiBlockDataSet interface.
I am creating a vtkMultiblockDataSetAlgorithm which has for input a
vtkMultiBlockDataSet with names for each block (EnSight data).
I would like my algorithm to output a vtkMultiBlockDataSet which is
completely different but keeps the names for each block.
Should I do the following ?
output->GetMetaData(iblock)->Copy(input->GetMetaData(iblock))
(loop over iblock)
Jacques PAPPER
Applied CFD Team Leader
Tel: +44 (0) 1234 324677
---------------------------
This email contains information that is private and confidential and is
</pre>
</blockquote>
<pre wrap=""><!---->intended only for the addressee. If you are not the intended \
recipient please delete it and notify us immediately by e-mailing the sender.
</pre>
<blockquote type="cite">
<pre wrap="">Note: All email sent to or from this address may be accessed by \
someone </pre>
</blockquote>
<pre wrap=""><!---->other than the recipient, for system management and security \
reasons. </pre>
<blockquote type="cite">
<pre wrap="">Aircraft Research Association Ltd. Registered in England,
Registration No 503668 Registered Office: Manton Lane, Bedford MK41
7PF England VAT No GB 196351245
_______________________________________________
vtk-developers mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a> <a \
class="moz-txt-link-freetext" \
href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a>
</pre>
</blockquote>
<pre wrap=""><!---->
---------------------------
This email contains information that is private and confidential and is intended only \
for the addressee. If you are not the intended recipient please delete it and notify \
us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than \
the recipient, for system management and security reasons. Aircraft Research \
Association Ltd. Registered in England, Registration No 503668 Registered Office: \
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
_______________________________________________
ParaView mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:ParaView@paraview.org">ParaView@paraview.org</a> <a \
class="moz-txt-link-freetext" \
href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="78">--
John Biddiscombe, email:biddisco @ cscs.ch
<a class="moz-txt-link-freetext" href="http://www.cscs.ch/">http://www.cscs.ch/</a>
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82</pre>
</body>
</html>
_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic