00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2020 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 /*======================================================================= 00021 ** Author : VSG (MMM YYYY) 00022 **=======================================================================*/ 00023 /*===============================================================================*/ 00024 00025 00026 #ifndef SO_LDM_H 00027 #define SO_LDM_H 00028 00029 #include <LDM/SoLDMTileID.h> 00030 00031 #include <Inventor/STL/vector> 00032 #include <Inventor/STL/set> 00033 #include <Inventor/STL/pair> 00034 00035 // On Windows the "comment" pragma will automatically add our LDM 00036 //library to the application's link string. 00037 #ifdef _WIN32 00038 # include <SoVersion.h> 00039 # if defined(_DEBUG) 00040 # define __LDMDLL "LDMD.dll" 00041 # define __LDMLIB "LDMD.lib" 00042 # else 00043 # define __LDMDLL "LDM.dll" 00044 # define __LDMLIB "LDM.lib" 00045 # endif 00046 # ifndef LDM_EXPORTS 00047 # ifndef OIV_DISABLE_AUTOLINK 00048 # pragma comment(lib,__LDMLIB) 00049 # endif 00050 # endif 00051 #else 00052 # define __LDMDLL "libLDM" 00053 #endif // _WIN32 00054 00055 #include <Inventor/SoModule.h> 00056 SO_MODULE_HEADER(SoLDM, __LDMDLL) 00057 00058 class SoDataSet; 00059 00060 namespace SoLDM 00061 { 00065 typedef std::vector<SoDataSet*> DsVector; 00066 00070 typedef DsVector::iterator DsVectorIt; 00071 00075 typedef std::set<SoDataSet*> DsSet; 00076 00080 typedef std::pair<SoDataSet*, int> DataSetIdPair; 00081 00085 typedef std::vector<DataSetIdPair> DataSetIdPairList; 00086 00090 typedef std::vector<SoLDMTileID> TileIdVector; 00091 } 00092 00093 #endif // SO_LDM_H 00094 00095 00096