VTK-m  2.2
Public Member Functions | Private Attributes | List of all members
vtkm::io::VTKVisItFileReader Class Reference

Reader for ".visit" files, a simple file format for partioned data sets. More...

#include <VTKVisItFileReader.h>

Public Member Functions

 VTKVisItFileReader (const char *fileName)
 
 VTKVisItFileReader (const std::string &fileName)
 
vtkm::cont::PartitionedDataSet ReadPartitionedDataSet ()
 

Private Attributes

std::string FileName
 

Detailed Description

Reader for ".visit" files, a simple file format for partioned data sets.

The file format consists of the keyword "!NBLOCKS <N>", where N is the number of partitions, followed by a list of the N files. For example:

# This is a comment
!NBLOCKS 2
file1.vtk
file2.vtk

Note: .visit files support time varying partitioned data, but it is not supported in this reader.

Constructor & Destructor Documentation

◆ VTKVisItFileReader() [1/2]

vtkm::io::VTKVisItFileReader::VTKVisItFileReader ( const char *  fileName)

◆ VTKVisItFileReader() [2/2]

vtkm::io::VTKVisItFileReader::VTKVisItFileReader ( const std::string &  fileName)

Member Function Documentation

◆ ReadPartitionedDataSet()

vtkm::cont::PartitionedDataSet vtkm::io::VTKVisItFileReader::ReadPartitionedDataSet ( )

Member Data Documentation

◆ FileName

std::string vtkm::io::VTKVisItFileReader::FileName
private

The documentation for this class was generated from the following file: