Hexagon Cell  v.1.1.1
Marker.h
1 // Marker Class
2 // Written by Sergey Kosov in 2013 for Project X
3 #pragma once
4 
5 #include "types.h"
6 
7 namespace HexagonCells
8 {
9 
10  // ================================ Marker Class ================================
16  class CMarker
17  {
18  public:
19  DllExport CMarker(void) {}
20  DllExport ~CMarker(void) {}
21 
28  DllExport void markGrid(Mat &img, double R, CvScalar color);
29 
37  DllExport void markHexagon(Mat &img, double R, int idx, CvScalar color);
38  };
39 }
Marker class.
Definition: Marker.h:16
void markGrid(Mat &img, double R, CvScalar color)
Draws the hexagonical grid on the image.
Definition: Marker.cpp:6
void markHexagon(Mat &img, double R, int idx, CvScalar color)
Draws a single filled hexagon.
Definition: Marker.cpp:39