-
Notifications
You must be signed in to change notification settings - Fork 122
/
PeaksPresenterVsi.h
34 lines (30 loc) · 1.26 KB
/
PeaksPresenterVsi.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef MANTID_VATES_PEAKS_PRESENTER_VSI_H
#define MANTID_VATES_PEAKS_PRESENTER_VSI_H
#include "MantidKernel/System.h"
#include "MantidAPI/IPeaksWorkspace.h"
#include "MantidKernel/V3D.h"
#include "MantidKernel/SpecialCoordinateSystem.h"
#include "MantidVatesAPI/ViewFrustum.h"
#include <vector>
#include <string>
namespace Mantid {
namespace VATES {
class DLLExport PeaksPresenterVsi {
public:
virtual ~PeaksPresenterVsi(){};
virtual std::vector<bool> getViewablePeaks() const = 0;
virtual Mantid::API::IPeaksWorkspace_sptr getPeaksWorkspace() const = 0;
virtual void updateViewFrustum(ViewFrustum_const_sptr frustum) = 0;
virtual std::string getFrame() const = 0;
virtual std::string getPeaksWorkspaceName() const = 0;
virtual void getPeaksInfo(Mantid::API::IPeaksWorkspace_sptr peaksWorkspace,
int row, Mantid::Kernel::V3D &position,
double &radius, Mantid::Kernel::SpecialCoordinateSystem specialCoordinateSystem) const = 0;
virtual void sortPeaksWorkspace(const std::string &byColumnName,
const bool ascending) = 0;
};
typedef boost::shared_ptr<PeaksPresenterVsi> PeaksPresenterVsi_sptr;
typedef boost::shared_ptr<const PeaksPresenterVsi> PeaksPresenterVsi_const_sptr;
}
}
#endif