MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
Gel Related class

クラス

class  MGAbstractGels
 Is a container of MGAbstractGel, to specify what kind of gels are required. [詳解]
 
class  MGAttrib
 MGAttrib is an abstract class that defines attribute elements of MGGel. [詳解]
 
class  MGAttribedGel
 Is an abstract class which provides interfaces of MGGel that has MGAppearance. [詳解]
 
class  MGGel
 MGGel is an abstract class which represents a group element. [詳解]
 
class  MGGelPosition
 MGGelPosition is a class to locate where a gel is in a group hierarchy. [詳解]
 
class  MGGelPositions
 MGGelPosition Container Class. [詳解]
 
class  MGGroup
 MGGroup is a class which constains MGGel elements. [詳解]
 

型定義

typedef MGPvector< MGGLAttribMGGLAttribs
 attributes. [詳解]
 
typedef std::pair< MGGEL_KIND,
MGGEL_TID
MGAbstractGel
 MGAbstractGel is a class to specify what kind of abstract gel group. [詳解]
 

列挙型

enum  MGGEL_TID {
  MGALL_TID = 0x00000000L, MGOBJECT_TID = 0x00000000L, MGGROUP_TID = 0x01000000L, MGATTRIB_TID = 0x02000000L,
  MG0MANIFOLD = 0x00000000L, MG1MANIFOLD = 0x00000100L, MG2MANIFOLD = 0x00000200L, MG3MANIFOLD = 0x00000300L,
  MGGEOMETRY_TID = 0x00100000L, MGPOINT_TID0 = 0x00100000L, MGPOINT_TID = 0x00100001L, MGCURVE_TID = 0x00100100L,
  MGSTRAIGHT_TID = 0x00100101L, MGELLIPSE_TID = 0x00100102L, MGLBREP_TID = 0x00100103L, MGRLBREP_TID = 0x00100104L,
  MGSRFCRV_TID = 0x00100105L, MGTRMCRV_TID = 0x00100106L, MGCOMPCRV_TID = 0x00100107L, MGBSUMCRV_TID = 0x00100108L,
  MGSURFACE_TID = 0x00100200L, MGPLANE_TID = 0x00100201L, MGSPHERE_TID = 0x00100203L, MGSBREP_TID = 0x00100205L,
  MGRSBREP_TID = 0x00100206L, MGCYLINDER_TID = 0x00100207L, MGBSUMSURF_TID = 0x00100208L, MGPLANEIMAGE_TID = 0x00100209L,
  MGTOPOLOGY_TID = 0x00200000L, MGCELL_TID = 0x00200000L, MGCOMPLEX_TID = 0x00210000L, MGPVERTEX_TID = 0x00200001L,
  MGBVERTEX_TID = 0x00200002L, MGEDGE_TID = 0x00200101L, MGFACE_TID = 0x00200201L, MGSOLID_TID = 0x00200301L,
  MGLOOP_TID = 0x00210101L, MGSHELL_TID = 0x00210201L, MGFSURFACE_TID = 0x00000200L, MGSTL_TID = 0x00300200L,
  MGGLATTRIBUTE_TID = 0x02010000L, MGAPPEARANCE_TID = 0x02010001L, MGCONTEXT_TID = 0x02010010L, MGLIGHTS_TID = 0x02010020L,
  MGLIGHT_TID = 0x02010030L, MGDIRECTIONAL_LIGHT_TID, MGPOINT_LIGHT_TID = 0x02010032L, MGSPOT_LIGHT_TID = 0x02010033L,
  MGFOG_TID = 0x02010040L, MGMATERIAL_TID = 0x02010050L, MGALPHA_FUNC_TID = 0x02010060L, MGBLEND_FUNC_TID = 0x02010070L,
  MGCOLOR_TID = 0x02010080L, MGCOLOR_MASK_TID = 0x02010090L, MGDEPTH_FUNC_TID = 0x020100A0L, MGDEPTH_MASK_TID = 0x020100B0L,
  MGLIGHT_ENABLE_TID = 0x020100C0L, MGLINE_STIPPLE_TID = 0x020100D0L, MGLINE_WIDTH_TID = 0x020100E0L, MGPOLYGON_MODE_TID = 0x020100F0L,
  MGRENDER_ATTR_TID = 0x02010100L, MGSHADE_MODEL_TID = 0x02010110L, MGTRANSP_MODE_TID = 0x02010120L, MGTEXTURE_TID = 0x02010200L,
  MGNAME_TID = 0x02010300L
}
 Type id of subclasses of MGGel. [詳解]
 
enum  MGGEL_KIND {
  MGALL_GELL = 0x00000000L, MGTOP_KIND = 0xff000000L, MGMANIFOLD = 0xff00ff00L, MGFSURFACE_KIND =0xff0fff00L,
  MGGEO_TOPO = 0xfff00000L, MGGEO_KIND = 0xffffff00L, MGLEAF_KIND = 0xffffffffL
}
 MGGEL_KIND_TID is used to specify what kind of group is used to identify gels. [詳解]
 

関数

MG_DLL_DECLR MGAttribMGNullAttrib (long TID)
 Construct a null newed MGAttrib from the type id TID. [詳解]
 
MG_DLL_DECLR MGGelMGNullGel (long TID)
 
MG_DLL_DECLR MGGroupMGNullGroup (long TID)
 Construct a null newed MGGroup from the type id TID. [詳解]
 

詳解

MGGel is top abstract class for MGObject, MGGroup, and MGGLAttrib.

型定義詳解

typedef std::pair<MGGEL_KIND,MGGEL_TID> MGAbstractGel

MGAbstractGel is a class to specify what kind of abstract gel group.

Let MGAbstractGel agel(gel_kind, gel_tid), then gel_kind is either MGALL_GELL, MGTOP_KIND, MGMANIFOLD, MGGEO_TOPO, MGGEO_KIND, or MGLEAF_KIND. And gel_tid is the specific type of the gel_kind. For the value of gel_tid, see MGGEL_KIND above. Possible combinations are defined in MGDefault.h(as mgAll_xxxx). See the definition.

attributes.

列挙型詳解

enum MGGEL_KIND

MGGEL_KIND_TID is used to specify what kind of group is used to identify gels.

列挙値
MGALL_GELL 

all of the gels

MGTOP_KIND 

subkind is MGOBJECT_TID, MGGROUP_TID, MGATTRIB_TID

MGMANIFOLD 

subkind is MG0MANIFOLD, MG1MANIFOLD, MG2MANIFOLD, MG3MANIFOLD

MGFSURFACE_KIND 

MGShell)

subkind is MGFSURFACE_TID(MGFace or MGSurface, MG2MANIFOLD that is not

MGGEO_TOPO 

subkind is MGGEOMETRY_TID, MGTOPOLOGY_TID

MGGeometry, or MGTopology.

MGGEO_KIND 

subkind is MGPOINT_TID0, MGCURVE_TID, MGSURFACE_TID

MGLEAF_KIND 

subkind is all of the leaf class MGGEL_TID, that is: MGPOINT_TID,MGSTRAIGHT_TID,MGELLIPSE_TID,MGLBREP_TID,MGRLBREP_TID, MGSRFCRV_TID,MGTRMCRV_TID,MGCOMPCRV_TID,MGPLANE_TID,MGSPHERE_TID, MGSBREP_TID,MGRSBREP_TID,MGCYLINDER_TID,MGPVERTEX_TID, MGBVERTEX_TID,MGEDGE_TID,MGFACE_TID,MGLOOP_TID,MGSHELL_TID

enum MGGEL_TID

Type id of subclasses of MGGel.

The mm in 0xmm000000L of the following TID's are subclass id of MGGel. Let 0x0010nnxxL is a type number, then nn of is the manifold dimension, xx is the name id.

When a new subclass is necessary to add, this mm will have a new number.

列挙値
MGALL_TID 

all of specified kind of MGGEL_KIND.

MGOBJECT_TID 

all of MGObject.

MGGROUP_TID 

all of MGGroup.

MGATTRIB_TID 

all of MGAttrib.

MG0MANIFOLD 

all of 0 manifold, a point.

MG1MANIFOLD 

all of 1 manifold, a curve.

MG2MANIFOLD 

all of 2 manifold, a surface.

MG3MANIFOLD 

all of 3 manifold, a solid.

MGGEOMETRY_TID 

all of MGGeometry.

MGPOINT_TID0 
MGPOINT_TID 

MGPoint type id.

MGCURVE_TID 

all of MGCurve.

MGSTRAIGHT_TID 

MGStraight type id.

MGELLIPSE_TID 

MGEllipse type id.

MGLBREP_TID 

MGLBRep type id.

MGRLBREP_TID 

MGRLBRep type id.

MGSRFCRV_TID 

MGSurfCurve type id.

MGTRMCRV_TID 

MGTrimmedCurve type id.

MGCOMPCRV_TID 

MGCompositeCurve type id.

MGBSUMCRV_TID 

MGBSumCurve type id.

MGSURFACE_TID 

all of MGSurface.

MGPLANE_TID 

MGPlane type id.

MGSPHERE_TID 

MGSphere type id.

MGSBREP_TID 

MGSBRep type id.

MGRSBREP_TID 

MGRSBRep type id.

MGCYLINDER_TID 

MGCylinder type id.

MGBSUMSURF_TID 

MGBSumSurf type id.

MGPLANEIMAGE_TID 

MGPlaneImage type id.

MGTOPOLOGY_TID 

is a topology

MGCELL_TID 

is a cell.

MGCOMPLEX_TID 

is a complex.

MGPVERTEX_TID 

MGPVertex type id.

MGBVERTEX_TID 

MGBVertex type id.

MGEDGE_TID 

MGEdge type id.

MGFACE_TID 

MGFace type id.

MGSOLID_TID 

MGSolid type id(not yet implemented).

MGLOOP_TID 

MGLoop type id.

MGSHELL_TID 

MGShell type id.

MGFSURFACE_TID 

MGFSurface type id.

MGSTL_TID 

MGStl type id.

MGGLATTRIBUTE_TID 
MGAPPEARANCE_TID 

MGAppearance(attributes).

MGCONTEXT_TID 

MGContext type id.

MGLIGHTS_TID 

MGLights type id.

MGLIGHT_TID 

MGLight type id.

MGDIRECTIONAL_LIGHT_TID 

MGDirectionalLight type id.

MGPOINT_LIGHT_TID 

MGPointLight type id.

MGSPOT_LIGHT_TID 

MGSpotLight type id.

MGFOG_TID 

MGFog type id.

MGMATERIAL_TID 

MGMaterial type id.

MGALPHA_FUNC_TID 

MGAlphaFunc type id.

MGBLEND_FUNC_TID 

MGBlenFunc type id.

MGCOLOR_TID 

MGColor type id.

MGCOLOR_MASK_TID 

MGColorMask type id.

MGDEPTH_FUNC_TID 

MGDepthFunc type id.

MGDEPTH_MASK_TID 

MGDepthMask type id.

MGLIGHT_ENABLE_TID 

MGLightEnable type id.

MGLINE_STIPPLE_TID 

MGLineStipple type id.

MGLINE_WIDTH_TID 

MGLineWidth type id.

MGPOLYGON_MODE_TID 

MGPolygonMode type id.

MGRENDER_ATTR_TID 

MGRenderAttr type id.

MGSHADE_MODEL_TID 

MGShade type id.

MGTRANSP_MODE_TID 

MGTransp type id.

MGTEXTURE_TID 

MGTexture type id.

MGNAME_TID 

MGName type id.

関数詳解

MG_DLL_DECLR MGAttrib* MGNullAttrib ( long  TID)

Construct a null newed MGAttrib from the type id TID.

MG_DLL_DECLR MGGel* MGNullGel ( long  TID)

Construct a null newed MGGel from the type id TID. Objects handled by MGIfstream or MGOfstream is only the following objects.

MG_DLL_DECLR MGGroup* MGNullGroup ( long  TID)

Construct a null newed MGGroup from the type id TID.