<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I am reading an xmf file which has a .h5 data file associated with it. <div>There is temporal data stored in the xmf file. I am attaching some relevant information about the header at the bottom of the message.<br><div><br></div><div>I am using vtkXdmfReader but I am finding difficulties in setting which time-step to display. Actually, I have no idea about how to do that, which means I do not have a full understanding on how to interact with the <span style="font-size: 12pt;">vtkXdmfReader</span><span style="font-size: 12pt;"> filter.</span></div></div><div><br></div><div>There is no public method that allows to choose which timestep data to expose to the other filters down the pipeline. </div><div><br></div><div>I see that in the filter, the timestep is selected with a reference to the key / value information required to handle the VTK pipeline. However, I am unsure whether I am supposed to point to the sought timestep by using the vtkInformation machinery, since I thought that this approach is supposed to be consumed by filters only.</div><div><br></div><div>My question is: How do I point to a specific timestep? How can I direct other filters, or data object extractor, to a specific timestep in the vtkXdmfReader?</div><div><br></div><div>Any help or pointer is appreciate.</div><div><br></div><div><div><Xdmf></div><div> <Domain Name="gradient"></div><div> <Grid Name="gradientGrid" GridType="Collection" CollectionType="Temporal"></div><div><br></div><div><!-- Time 3.4 Iteration 00000 --></div><div> <Grid Name="Mesh 3.4"></div><div> <Time TimeType="Single" Value="3.4" /></div><div> <Topology</div><div> Type="Tetrahedron"</div><div> NumberOfElements="188538"</div><div> BaseOffset="0"></div><div> <DataStructure Format="HDF"</div><div> Dimensions="188538 4"</div><div> DataType="Int"</div><div> Precision="8"></div><div> gradient.h5:/Connections/Values</div><div> </DataStructure></div><div> </Topology></div><div> <Geometry Type="X_Y_Z"></div><div> <DataStructure Format="HDF"</div><div> Dimensions="49237"</div><div> DataType="Float"</div><div> Precision="8"></div><div> gradient.h5:/PointsX.00000/Values</div><div> </DataStructure></div><div> <DataStructure Format="HDF"</div><div> Dimensions="49237"</div><div> DataType="Float"</div><div> Precision="8"></div><div> gradient.h5:/PointsY.00000/Values</div><div> </DataStructure></div><div> <DataStructure Format="HDF"</div><div> Dimensions="49237"</div><div> DataType="Float"</div><div> Precision="8"></div><div> gradient.h5:/PointsZ.00000/Values</div><div> </DataStructure></div><div> </Geometry></div><div><br></div><div><br></div><div> <Attribute</div><div> Type="Vector"</div><div> Center="Node"</div><div> Name="wss_computed"></div><div> <DataStructure ItemType="HyperSlab"</div><div> Dimensions="49237 3"</div><div> Type="HyperSlab"></div><div> <DataStructure Dimensions="3 2"</div><div> Format="XML"></div><div> 0 0</div><div> 1 1</div><div> 49237 3</div><div> </DataStructure></div><div> <DataStructure Format="HDF"</div><div> Dimensions="319184 3"</div><div> DataType="Float"</div><div> Precision="8"></div><div> gradient.h5:/wss_computed.00000/Values</div><div> </DataStructure></div><div> </DataStructure></div></div><div> </Attribute></div><div> </Grid></div> </div></body>
</html>