<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>I've never used the file series reader outside of ParaView proxies, but I'm guessing you need to set the FileNameMethod ivar.</div>
<div><br>
</div>
<div>restartedReader->SetFileNameMethod("SetFileName");</div>
<div><br>
</div>
<div>might do the trick.</div>
<div><br>
</div>
<div>-Ken</div>
<div><font size="2"><font face="Consolas,Courier New,Courier"><span style="font-size:10pt"><br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** <br>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><br>
** *** ** phone: (505) 844-8919<br>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><br>
</span></font></font></div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>"Andreyev, Andrey" <<a href="mailto:AAndreyev@hpti.com">AAndreyev@hpti.com</a>><br>
<span style="font-weight:bold">Date: </span>Fri, 3 Jun 2011 16:38:13 +0000<br>
<span style="font-weight:bold">To: </span>Robert Maynard <<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Paraview] Using vtkFileSeriesReader with vtkSpyPlotReader<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div dir="ltr"><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Robert,<br>
<br>
Thank you for the response. I can read in individual files. But I have a sample data set which has a text file named sample.spct-timeseries. When I give that file to SpyPlotReader, it doesn't recognize and when I ran Paraview through the debugger while opening
that file it instantiated a vtkFileSeriesReader. This is now the source of my confustion.<br>
<br>
Thank you,<br>
Andrey Andreyev<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF613155"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Robert Maynard [<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>]<br>
<b>Sent:</b> Friday, June 03, 2011 12:27 PM<br>
<b>To:</b> Andreyev, Andrey<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Using vtkFileSeriesReader with vtkSpyPlotReader<br>
</font><br>
</div>
<div></div>
<div>Hi,
<div><br>
</div>
<div>The SpyPlotReader already handle file series. The file extension just need to be a numeric value ie, spcth-a.0,spcth-a.1,spcth-a.2 while the name of the file start with spct.<br>
<br>
<div class="gmail_quote">On Fri, Jun 3, 2011 at 12:11 PM, Andreyev, Andrey <span dir="ltr">
<<a href="mailto:AAndreyev@hpti.com" target="_blank">AAndreyev@hpti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hi, <br>
<br>
I'm trying to read in a restarted CTH Data set using vtkSpyPlotReader with vtkFileSeriesReader. But I cannot figure out how to transfer the information from the meta file (*.spcth-timeseries) to the spyplot reader.
<br>
<br>
a section of my code:<br>
<br>
vtkFileSeriesReader* restartReader=vtkFileSeriesReader::New();<br>
vtkSpyPlotReader* cthReader=vtkSpyPlotReader::New();<br>
vtkDummyController* controller=vtkDummyController::New();<br>
cthReader->SetGlobalController(controller);<br>
<br>
restartReader->UseMetaFileOn();<br>
restartReader->SetMetaFileName(filename.c_str());<br>
<br>
restartReader->SetReader(cthReader);<br>
<br>
But the spyplot reader doesn't have the information it needs; so it will not let me update the pipeline.<br>
<br>
Any suggestions? Thank you in advance.<br>
<br>
Andrey Andreyev<br>
Software Engineer<br>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Robert Maynard<br>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a> Please keep messages on-topic and check the ParaView Wiki at:
<a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a> Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</blockquote>
</span>
</body>
</html>