13#include "MantidDataHandling/DllConfig.h"
18namespace DataHandling {
52 const std::string
name()
const override {
return "SaveVTK"; };
54 const std::string
summary()
const override {
55 return "Save a workspace out to a VTK file format for use with 3D "
56 "visualisation tools such as Paraview.";
60 int version()
const override {
return 1; };
62 const std::string
category()
const override {
return "DataHandling\\XML"; }
72 void checkOptionalProperties();
75 void writeVTKPiece(std::ostream &outVTP, std::span<double const> xValue, std::span<double const> yValue,
76 std::span<double const> errors,
int index)
const;
std::map< DeltaEMode::Type, std::string > index
Base class from which all concrete algorithm classes should be derived.
Saves a 1D or 2D workspace using the vtk file format described in the "file formats" document at http...
const std::string name() const override
Algorithm's name.
int version() const override
Algorithm's version.
double m_Xmin
The x-axis minimum.
const std::string category() const override
Algorithm's category.
double m_Xmax
The x-axis minimum.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.