]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/blobdiff - incl/bcar.hh
Make gen plot opts non-constant, plot points
[hubacji1/bcar.git] / incl / bcar.hh
index d6b764cb64e9814d43e8183e13874f44f0f0e6cb..018415d96e78df321634ab544e7bb874fda17717 100644 (file)
@@ -480,22 +480,29 @@ public:
        /*! Options for generating output for gnuplot. */
        class GenPlotOpts {
        public:
-               static bool LEFT;
-               static bool RIGHT;
-               static bool REAR;
-               static bool FRONT;
-               static bool FRAME;
-               static bool ARROW;
-               static bool CROSS;
-               static bool CAR;
-               static bool LEFT_MIRROR;
-               static bool RIGHT_MIRROR;
-               static bool MIRRORS;
-               static bool ALL;
+               bool LF_POINT = false;
+               bool LR_POINT = false;
+               bool RR_POINT = false;
+               bool RF_POINT = false;
+               bool LFM_POINT = false;
+               bool RFM_POINT = false;
+
+               bool LEFT = false;
+               bool RIGHT = false;
+               bool REAR = false;
+               bool FRONT = false;
+               bool FRAME = false; // LEFT, RIGHT, REAR, FRONT
+               bool ARROW = false;
+               bool CROSS = false;
+               bool CAR = false; // CROSS, ARROW, FRAME
+               bool LEFT_MIRROR = false;
+               bool RIGHT_MIRROR = false;
+               bool MIRRORS = false; // RIGHT_MIRROR, LEFT_MIRROR
+               bool ALL = true; // MIRRORS, CAR
        };
 
        /*! Generate output for plotting with gnuplot. */
-       void gen_gnuplot_to(std::ostream& out, GenPlotOpts const& opts);
+       void gen_gnuplot_to(std::ostream& out, GenPlotOpts opts);
 };
 
 } // namespace bcar