9#include "MantidAPI/DllConfig.h"
26 enum class PreviewType { IVIEW = 0, PLOT1D = 1, PLOT2D = 2, SVIEW = 3 };
31 virtual std::string
name()
const = 0;
IPreview : This is the abstract base class of the raw data previews.
virtual std::string name() const =0
virtual Workspace_sptr preview(Workspace_sptr ws) const
Workspace_sptr view(Workspace_sptr ws) const
virtual std::string facility() const =0
virtual std::string technique() const =0
virtual ~IPreview()=default
virtual PreviewType type() const =0
std::unique_ptr< IPreview > IPreview_uptr
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Helper class which provides the Collimation Length for SANS instruments.