Back to index

salome-gui  6.5.0
VTKViewer_MarkerDef.h
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef VTKVIEWER_MARKERDEF_H
00021 #define VTKVIEWER_MARKERDEF_H
00022 
00023 #include <list>
00024 #include <map>
00025 #include <string>
00026 
00027 namespace VTK
00028 {
00030   typedef int MarkerType;
00031   const MarkerType MT_NONE    = 0;
00032   const MarkerType MT_POINT   = 1;
00033   const MarkerType MT_PLUS    = 2;
00034   const MarkerType MT_STAR    = 3;
00035   const MarkerType MT_O       = 4;
00036   const MarkerType MT_X       = 5;
00037   const MarkerType MT_O_POINT = 6;
00038   const MarkerType MT_O_PLUS  = 7;
00039   const MarkerType MT_O_STAR  = 8;
00040   const MarkerType MT_O_X     = 9;
00041   const MarkerType MT_USER    = 10;
00042 
00044   typedef int MarkerScale;
00045   const MarkerScale MS_NONE   = 0;
00046   const MarkerScale MS_10     = 1;
00047   const MarkerScale MS_15     = 2;
00048   const MarkerScale MS_20     = 3;
00049   const MarkerScale MS_25     = 4;
00050   const MarkerScale MS_30     = 5;
00051   const MarkerScale MS_35     = 6;
00052   const MarkerScale MS_40     = 7;
00053   const MarkerScale MS_45     = 8;
00054   const MarkerScale MS_50     = 9;
00055   const MarkerScale MS_55     = 10;
00056   const MarkerScale MS_60     = 11;
00057   const MarkerScale MS_65     = 12;
00058   const MarkerScale MS_70     = 13;
00059 
00060   typedef std::list<unsigned short>             MarkerTexture;
00061   typedef std::pair<std::string, MarkerTexture> MarkerData;
00062   typedef std::map<int, MarkerData>             MarkerMap;
00063 }
00064 
00065 #endif