Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VTKViewer_MarkerDef.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 
20 #ifndef VTKVIEWER_MARKERDEF_H
21 #define VTKVIEWER_MARKERDEF_H
22 
23 #include <list>
24 #include <map>
25 #include <string>
26 
27 namespace VTK
28 {
30  typedef int MarkerType;
31  const MarkerType MT_NONE = 0;
32  const MarkerType MT_POINT = 1;
33  const MarkerType MT_PLUS = 2;
34  const MarkerType MT_STAR = 3;
35  const MarkerType MT_O = 4;
36  const MarkerType MT_X = 5;
38  const MarkerType MT_O_PLUS = 7;
39  const MarkerType MT_O_STAR = 8;
40  const MarkerType MT_O_X = 9;
41  const MarkerType MT_USER = 10;
42 
44  typedef int MarkerScale;
45  const MarkerScale MS_NONE = 0;
46  const MarkerScale MS_10 = 1;
47  const MarkerScale MS_15 = 2;
48  const MarkerScale MS_20 = 3;
49  const MarkerScale MS_25 = 4;
50  const MarkerScale MS_30 = 5;
51  const MarkerScale MS_35 = 6;
52  const MarkerScale MS_40 = 7;
53  const MarkerScale MS_45 = 8;
54  const MarkerScale MS_50 = 9;
55  const MarkerScale MS_55 = 10;
56  const MarkerScale MS_60 = 11;
57  const MarkerScale MS_65 = 12;
58  const MarkerScale MS_70 = 13;
59 
60  typedef std::list<unsigned short> MarkerTexture;
61  typedef std::pair<std::string, MarkerTexture> MarkerData;
62  typedef std::map<int, MarkerData> MarkerMap;
63 }
64 
65 #endif