From 7a07231716f04ee98091a946e122056e1fa69686 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Fri, 12 Feb 2016 12:39:43 -0200 Subject: 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 --- projectionobserver.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'projectionobserver.h') 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, -- cgit v1.2.3