[MOAB-dev] r5104 - MOAB/trunk/tools/vtkMOABReader

tautges at mcs.anl.gov tautges at mcs.anl.gov
Mon Aug 15 14:14:18 CDT 2011


Author: tautges
Date: 2011-08-15 14:14:18 -0500 (Mon, 15 Aug 2011)
New Revision: 5104

Modified:
   MOAB/trunk/tools/vtkMOABReader/vtkMOABReader.xml
   MOAB/trunk/tools/vtkMOABReader/vtkMOABReaderGUI.xml
Log:
A few changes to enable time-dependent reading.



Modified: MOAB/trunk/tools/vtkMOABReader/vtkMOABReader.xml
===================================================================
--- MOAB/trunk/tools/vtkMOABReader/vtkMOABReader.xml	2011-08-15 17:28:23 UTC (rev 5103)
+++ MOAB/trunk/tools/vtkMOABReader/vtkMOABReader.xml	2011-08-15 19:14:18 UTC (rev 5104)
@@ -23,6 +23,58 @@
      </Hints>
     </SourceProxy>
     <!-- End vtkMOABReader -->
+   <FileSeriesReaderProxy name="vtkMOABTimeSeriesReader"
+                          class="vtkFileSeriesReader"
+                          label="MOAB Time Series Reader"
+                          file_name_method="SetFileName">
+     <Documentation
+         long_help="Read a time-series from MOAB files."
+         short_help="Read a time-series from MOAB files.  Files should
+         have the same mesh and tags defined, except for time value.">
+     </Documentation>
+      <SubProxy>
+        <Proxy name="Reader"
+          proxygroup="sources" proxyname="vtkMOABReader">
+        </Proxy>
+      </SubProxy>
+
+     <StringVectorProperty name="FileNameInfo"
+        command="GetCurrentFileName"
+        information_only="1" >
+        <SimpleStringInformationHelper />
+     </StringVectorProperty>
+
+     <StringVectorProperty
+        name="FileNames"
+        clean_command="RemoveAllFileNames"
+        command="AddFileName"
+        animateable="0"
+        number_of_elements="0" 
+        repeat_command="1"
+        information_property="FileNameInfo" >
+        <FileListDomain name="files"/>
+       <Documentation>
+         The list of files to be read by the reader. If more than 1 file is specified, the reader will switch to file series mode in which it will pretend that it can support time and provide 1 file per time step.
+       </Documentation>
+     </StringVectorProperty>
+
+     <DoubleVectorProperty 
+        name="TimestepValues"
+        repeatable="1"
+        information_only="1">
+        <TimeStepsInformationHelper/>
+        <Documentation>
+          Available timestep values.
+        </Documentation>


More information about the moab-dev mailing list