diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-12 12:39:43 -0200 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-12 12:39:43 -0200 |
commit | 7a07231716f04ee98091a946e122056e1fa69686 (patch) | |
tree | 2998baa4336a4dae4638e29d2a2b3f2ba6958a21 /projectionobserver.h | |
parent | 893380be1bde766736c1e099731bacb87f239a3a (diff) |
Code cleanup: enums & properties renamed/added.
* VoronoiSplat: alpha & beta are now properties
* ContinuousColorScale: enums renamed to the Qt standard way
* Scatterplot: internal state enum renamed
* ProjectionObserver: observer type enum renamed
Diffstat (limited to 'projectionobserver.h')
-rw-r--r-- | projectionobserver.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/projectionobserver.h b/projectionobserver.h index 11338f5..7e9239d 100644 --- a/projectionobserver.h +++ b/projectionobserver.h @@ -11,9 +11,11 @@ class ProjectionObserver { Q_OBJECT public: - static const int OBSERVER_CURRENT = 0; - static const int OBSERVER_DIFF_PREVIOUS = 1; - static const int OBSERVER_DIFF_ORIGINAL = 2; + enum ObserverType { + ObserverCurrent, + ObserverDiffPrevious, + ObserverDiffFirst + }; ProjectionObserver(const arma::mat &X, const arma::uvec &cpIndices, |