Integration of OCCT 6.5.0 from SVN
[occt.git] / src / Graphic3d / Graphic3d_Structure.pxx
CommitLineData
7fd59977 1
2#ifndef STRUCTURE_PXX_INCLUDED
3#define STRUCTURE_PXX_INCLUDED
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#ifdef HAVE_LIMITS
10# include <limits>
11#elif defined (HAVE_LIMITS_H)
12# include <limits.h>
13#endif
14
15#ifdef WNT
16# include <limits>
17#endif
18
19// structure priority : range (do not change this range !)
20// call_togl_displaystructure, CALL_DEF_VIEW, MajView ...
21#define Structure_MAX_PRIORITY 10
22#define Structure_MIN_PRIORITY 0
23
24#include <Graphic3d_StructureManager.pxx>
25
26// structures identifiers : possible range
27 // check the value of View_IDMAX (must be < Structure_IDMIN)
28#define Structure_IDMIN 10001
29// /2 pour eviter les problemes d'overflow
30#define Structure_IDMAX INT_MAX/2
31
32#include <Graphic3d_Group.pxx>
33
34 // check the value of Group_IDMIN (must be > last label value)
35 // (today Structure_LABCONNECT)
36#define Structure_GROUPBEGIN Group_IDMIN-2
37#define Structure_GROUPEND Group_IDMIN-1
38#define Structure_END Group_IDMIN-1
39
40#define MyStructureManager ((Graphic3d_StructureManager*) MyPtrStructureManager)
41#define MyFirstStructureManager ((Graphic3d_StructureManager*) MyFirstPtrStructureManager)
42
43#endif