MGCL V10
V10
MGCL V10
総合概要
モジュール
名前空間
クラス
全て
クラス
名前空間
関数
変数
型定義
列挙型
列挙値
フレンド
グループ
ページ
types.h
1
/********************************************************************/
2
/* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3
/* All rights reserved. */
4
/********************************************************************/
5
#ifndef _MGGEL_TID_HH_
6
#define _MGGEL_TID_HH_
7
8
#include <utility>
9
14
21
enum
MGGEL_TID
{
22
MGALL_TID
= 0x00000000L,
23
MGOBJECT_TID
= 0x00000000L,
24
MGGROUP_TID
= 0x01000000L,
25
MGATTRIB_TID
= 0x02000000L,
26
27
MG0MANIFOLD
= 0x00000000L,
28
MG1MANIFOLD
= 0x00000100L,
29
MG2MANIFOLD
= 0x00000200L,
30
MG3MANIFOLD
= 0x00000300L,
31
32
// //*************Define MGOBJECT_TID***************
33
// Following nn is the manifold dimension, xx is the name id.
34
// 0x0010nnxxL
35
MGGEOMETRY_TID
= 0x00100000L,
36
MGPOINT_TID0
= 0x00100000L,
37
MGPOINT_TID
= 0x00100001L,
38
39
MGCURVE_TID
= 0x00100100L,
40
MGSTRAIGHT_TID
= 0x00100101L,
41
MGELLIPSE_TID
= 0x00100102L,
42
MGLBREP_TID
= 0x00100103L,
43
MGRLBREP_TID
= 0x00100104L,
44
MGSRFCRV_TID
= 0x00100105L,
45
MGTRMCRV_TID
= 0x00100106L,
46
MGCOMPCRV_TID
= 0x00100107L,
47
MGBSUMCRV_TID
= 0x00100108L,
48
49
MGSURFACE_TID
= 0x00100200L,
50
MGPLANE_TID
= 0x00100201L,
51
MGSPHERE_TID
= 0x00100203L,
52
MGSBREP_TID
= 0x00100205L,
53
MGRSBREP_TID
= 0x00100206L,
54
MGCYLINDER_TID
= 0x00100207L,
55
MGBSUMSURF_TID
= 0x00100208L,
56
MGPLANEIMAGE_TID
= 0x00100209L,
57
59
60
// Following nn is the manifold dimension, xx is the name id,
61
// and m is 0 for cells, and m is 1 for complexes.
62
// 0x002mnnxxL
63
MGTOPOLOGY_TID
= 0x00200000L,
64
MGCELL_TID
= 0x00200000L,
65
MGCOMPLEX_TID
= 0x00210000L,
66
67
// MGCELLBASE_TID = 0x0020nnxxL,
68
MGPVERTEX_TID
= 0x00200001L,
69
MGBVERTEX_TID
= 0x00200002L,
70
MGEDGE_TID
= 0x00200101L,
71
MGFACE_TID
= 0x00200201L,
72
MGSOLID_TID
= 0x00200301L,
73
74
// MGBOUNDARYND_TID = 0x0021nnxxL,
75
MGLOOP_TID
= 0x00210101L,
76
MGSHELL_TID
= 0x00210201L,
77
79
//id for MGSurface or MGFace.
80
MGFSURFACE_TID
= 0x00000200L,
81
83
//id for MGStl.
84
MGSTL_TID
= 0x00300200L,
85
87
// MGAttrib id.
88
89
MGGLATTRIBUTE_TID
= 0x02010000L,
90
MGAPPEARANCE_TID
= 0x02010001L,
91
92
MGCONTEXT_TID
= 0x02010010L,
93
MGLIGHTS_TID
= 0x02010020L,
94
MGLIGHT_TID
= 0x02010030L,
95
MGDIRECTIONAL_LIGHT_TID
=
96
0x02010031L,
97
MGPOINT_LIGHT_TID
= 0x02010032L,
98
MGSPOT_LIGHT_TID
= 0x02010033L,
99
100
MGFOG_TID
= 0x02010040L,
101
102
MGMATERIAL_TID
= 0x02010050L,
103
MGALPHA_FUNC_TID
= 0x02010060L,
104
MGBLEND_FUNC_TID
= 0x02010070L,
105
MGCOLOR_TID
= 0x02010080L,
106
MGCOLOR_MASK_TID
= 0x02010090L,
107
MGDEPTH_FUNC_TID
= 0x020100A0L,
108
MGDEPTH_MASK_TID
= 0x020100B0L,
109
MGLIGHT_ENABLE_TID
= 0x020100C0L,
110
MGLINE_STIPPLE_TID
= 0x020100D0L,
111
MGLINE_WIDTH_TID
= 0x020100E0L,
112
MGPOLYGON_MODE_TID
= 0x020100F0L,
113
MGRENDER_ATTR_TID
= 0x02010100L,
114
MGSHADE_MODEL_TID
= 0x02010110L,
115
MGTRANSP_MODE_TID
= 0x02010120L,
116
MGTEXTURE_TID
= 0x02010200L,
117
MGNAME_TID
= 0x02010300L,
118
};
119
121
enum
MGGEL_KIND
{
122
MGALL_GELL
= 0x00000000L,
123
MGTOP_KIND
= 0xff000000L,
124
MGMANIFOLD
= 0xff00ff00L,
125
MGFSURFACE_KIND
=0xff0fff00L,
126
MGGEO_TOPO
= 0xfff00000L,
128
MGGEO_KIND
= 0xffffff00L,
130
MGLEAF_KIND
= 0xffffffffL
131
};
136
138
145
typedef
std::pair<MGGEL_KIND,MGGEL_TID>
MGAbstractGel
;
146
// end of GelRelated group
148
#endif
MGSHELL_TID
MGShell type id.
Definition:
types.h:76
MGAPPEARANCE_TID
MGAppearance(attributes).
Definition:
types.h:90
MGSTL_TID
MGStl type id.
Definition:
types.h:84
MGLINE_WIDTH_TID
MGLineWidth type id.
Definition:
types.h:111
MGRENDER_ATTR_TID
MGRenderAttr type id.
Definition:
types.h:113
MGFOG_TID
MGFog type id.
Definition:
types.h:100
MGSOLID_TID
MGSolid type id(not yet implemented).
Definition:
types.h:72
MGLOOP_TID
MGLoop type id.
Definition:
types.h:75
MGLIGHT_ENABLE_TID
MGLightEnable type id.
Definition:
types.h:109
MGMATERIAL_TID
MGMaterial type id.
Definition:
types.h:102
MGTOP_KIND
subkind is MGOBJECT_TID, MGGROUP_TID, MGATTRIB_TID
Definition:
types.h:123
MGTOPOLOGY_TID
is a topology
Definition:
types.h:63
MGSHADE_MODEL_TID
MGShade type id.
Definition:
types.h:114
MGDIRECTIONAL_LIGHT_TID
MGDirectionalLight type id.
Definition:
types.h:95
MGPVERTEX_TID
MGPVertex type id.
Definition:
types.h:68
MGGLATTRIBUTE_TID
Definition:
types.h:89
MGSPOT_LIGHT_TID
MGSpotLight type id.
Definition:
types.h:98
MGCURVE_TID
all of MGCurve.
Definition:
types.h:39
MG2MANIFOLD
all of 2 manifold, a surface.
Definition:
types.h:29
MGPOLYGON_MODE_TID
MGPolygonMode type id.
Definition:
types.h:112
MGCOLOR_MASK_TID
MGColorMask type id.
Definition:
types.h:106
MGSTRAIGHT_TID
MGStraight type id.
Definition:
types.h:40
MGAbstractGel
std::pair< MGGEL_KIND, MGGEL_TID > MGAbstractGel
MGAbstractGel is a class to specify what kind of abstract gel group.
Definition:
types.h:145
MGATTRIB_TID
all of MGAttrib.
Definition:
types.h:25
MGPOINT_TID0
Definition:
types.h:36
MGBSUMSURF_TID
MGBSumSurf type id.
Definition:
types.h:55
MG0MANIFOLD
all of 0 manifold, a point.
Definition:
types.h:27
MGEDGE_TID
MGEdge type id.
Definition:
types.h:70
MGBLEND_FUNC_TID
MGBlenFunc type id.
Definition:
types.h:104
MGPOINT_LIGHT_TID
MGPointLight type id.
Definition:
types.h:97
MGALPHA_FUNC_TID
MGAlphaFunc type id.
Definition:
types.h:103
MGOBJECT_TID
all of MGObject.
Definition:
types.h:23
MGFSURFACE_KIND
MGShell)
Definition:
types.h:125
MGLBREP_TID
MGLBRep type id.
Definition:
types.h:42
MGGEO_TOPO
subkind is MGGEOMETRY_TID, MGTOPOLOGY_TID
Definition:
types.h:127
MGLINE_STIPPLE_TID
MGLineStipple type id.
Definition:
types.h:110
MGELLIPSE_TID
MGEllipse type id.
Definition:
types.h:41
MGMANIFOLD
subkind is MG0MANIFOLD, MG1MANIFOLD, MG2MANIFOLD, MG3MANIFOLD
Definition:
types.h:124
MGCOMPCRV_TID
MGCompositeCurve type id.
Definition:
types.h:46
MGNAME_TID
MGName type id.
Definition:
types.h:117
MGPOINT_TID
MGPoint type id.
Definition:
types.h:37
MGFACE_TID
MGFace type id.
Definition:
types.h:71
MGTRANSP_MODE_TID
MGTransp type id.
Definition:
types.h:115
MGBSUMCRV_TID
MGBSumCurve type id.
Definition:
types.h:47
MGTEXTURE_TID
MGTexture type id.
Definition:
types.h:116
MGDEPTH_FUNC_TID
MGDepthFunc type id.
Definition:
types.h:107
MGALL_TID
all of specified kind of MGGEL_KIND.
Definition:
types.h:22
MGCOMPLEX_TID
is a complex.
Definition:
types.h:65
MGGEO_KIND
subkind is MGPOINT_TID0, MGCURVE_TID, MGSURFACE_TID
Definition:
types.h:129
MGSRFCRV_TID
MGSurfCurve type id.
Definition:
types.h:44
MGSPHERE_TID
MGSphere type id.
Definition:
types.h:51
MGRLBREP_TID
MGRLBRep type id.
Definition:
types.h:43
MG1MANIFOLD
all of 1 manifold, a curve.
Definition:
types.h:28
MGLIGHT_TID
MGLight type id.
Definition:
types.h:94
MGPLANE_TID
MGPlane type id.
Definition:
types.h:50
MGRSBREP_TID
MGRSBRep type id.
Definition:
types.h:53
MGLEAF_KIND
Definition:
types.h:130
MGTRMCRV_TID
MGTrimmedCurve type id.
Definition:
types.h:45
MGGEL_TID
MGGEL_TID
Type id of subclasses of MGGel.
Definition:
types.h:21
MGBVERTEX_TID
MGBVertex type id.
Definition:
types.h:69
MGGEL_KIND
MGGEL_KIND
MGGEL_KIND_TID is used to specify what kind of group is used to identify gels.
Definition:
types.h:121
MGFSURFACE_TID
MGFSurface type id.
Definition:
types.h:80
MGCYLINDER_TID
MGCylinder type id.
Definition:
types.h:54
MGLIGHTS_TID
MGLights type id.
Definition:
types.h:93
MGSURFACE_TID
all of MGSurface.
Definition:
types.h:49
MGGROUP_TID
all of MGGroup.
Definition:
types.h:24
MGCONTEXT_TID
MGContext type id.
Definition:
types.h:92
MGPLANEIMAGE_TID
MGPlaneImage type id.
Definition:
types.h:56
MGGEOMETRY_TID
all of MGGeometry.
Definition:
types.h:35
MG3MANIFOLD
all of 3 manifold, a solid.
Definition:
types.h:30
MGCOLOR_TID
MGColor type id.
Definition:
types.h:105
MGSBREP_TID
MGSBRep type id.
Definition:
types.h:52
MGDEPTH_MASK_TID
MGDepthMask type id.
Definition:
types.h:108
MGALL_GELL
all of the gels
Definition:
types.h:122
MGCELL_TID
is a cell.
Definition:
types.h:64
mg
types.h
2015年11月18日(水) 16時19分16秒作成 - MGCL V10 / 構成:
1.8.8