VTKFIG  0.20.20181114
Easy VTK based in situ visualization
void vtkfig::DataSet::WriteVTK ( const std::string  fname,
const std::string  filetype 
)

Write dataset to disk in VTK format.

Parameters
fnameFile name
filetypeFile type: "A" for ASCII, "B" for binary

Definition at line 40 of file vtkfigDataSet.cxx.

41  {
43  WriteVTK<vtkUnstructuredGrid,vtkUnstructuredGridWriter>(vtkUnstructuredGrid::SafeDownCast(data),fname, filetype);
45  WriteVTK<vtkRectilinearGrid,vtkRectilinearGridWriter>(vtkRectilinearGrid::SafeDownCast(data),fname,filetype);
46  }
DataType GetDataType()
Request the data type of the dataset.
vtkSmartPointer< vtkDataSet > data

+ Here is the call graph for this function: