MGCL V10
V10
MGCL V10
|
MGGel is an abstract class which represents a group element. [詳解]
公開メンバ関数 | |
virtual | ~MGGel () |
Virtual Destructor. [詳解] | |
virtual MGGel & | operator= (const MGGel &gel2) |
virtual bool | operator== (const MGGel &gel2) const |
Comparison. [詳解] | |
virtual bool | operator!= (const MGGel &gel2) const |
virtual bool | operator< (const MGGel &gel2) const |
virtual bool | operator> (const MGGel &gel2) const |
virtual std::ostream & | out (std::ostream &) const =0 |
Output virtual function. [詳解] | |
virtual int | out_to_IGES (MGIgesOfstream &igesfile, int SubordinateEntitySwitch=0) const |
virtual MGGel * | clone () const =0 |
virtual mgVBO * | dlist_name () const |
Obtain display list name. 0(null) means this gel need not to be displayed. [詳解] | |
virtual void | drawAttrib (mgVBO &vbo, bool no_color=false) const |
draw attribute data. [詳解] | |
virtual void | make_display_list (MGCL::VIEWMODE vmode=MGCL::DONTCARE) const |
Make a display list of this gel. [詳解] | |
virtual int | manifold_dimension () const |
virtual MGAttrib * | attrib () |
Return MGAttrib pointer if this MGGel is an MGAttrib, else return null. [詳解] | |
virtual const MGAttrib * | attrib () const |
virtual MGGroup * | group () |
Return MGGroup pointer if this MGGel is an MGGroup, else return null. [詳解] | |
virtual const MGGroup * | group () const |
virtual MGObject * | object () |
Return MGObject pointer if this MGGel is an MGObject, else return null. [詳解] | |
virtual const MGObject * | object () const |
virtual MGGeometry * | geometry () |
Return MGGeometry pointer if this MGGel is an MGGeometry, else return null. [詳解] | |
virtual const MGGeometry * | geometry () const |
virtual MGPoint * | point () |
Return point pointer if this MGGel is an MGPoint, else return null. [詳解] | |
virtual const MGPoint * | point () const |
virtual MGCurve * | curve () |
Return curve pointer if this MGGel is an MGCurve, else return null. [詳解] | |
virtual const MGCurve * | curve () const |
virtual MGSurface * | surf () |
Return MGSurface pointer if this MGGel is an MGSurface, else return null. [詳解] | |
virtual const MGSurface * | surf () const |
virtual MGTopology * | topology () |
Return MGTopology pointer if this MGGel is an MGTopology, else return null. [詳解] | |
virtual const MGTopology * | topology () const |
virtual MGFace * | face () |
Return MGFace pointer if this MGGel is an MGFace, else return null. [詳解] | |
virtual const MGFace * | face () const |
virtual MGShell * | shell () |
Return MGShell pointer if this MGGel is an MGShell, else return null. [詳解] | |
virtual const MGShell * | shell () const |
virtual long | identify_type () const =0 |
Return This object's typeID. [詳解] | |
virtual const MGObject * | includes_object () const =0 |
Test if this gel includes an object. [詳解] | |
virtual MGObject * | includes_object ()=0 |
virtual bool | no_display () const |
std::string | string_content () const |
virtual void | transform (const MGVector &v) |
Transform the gel by the argument. [詳解] | |
virtual void | transform (double scale) |
scaling. [詳解] | |
virtual void | transform (const MGMatrix &mat) |
matrix transformation. [詳解] | |
virtual void | transform (const MGTransf &tr) |
general transformation. [詳解] | |
bool | type_is (const MGAbstractGels &types) const |
virtual void | display_arrows (mgSysGL &sgl) const |
virtual void | display_break_points (mgSysGL &sgl) const |
virtual void | display_control_polygon (mgSysGL &sgl) const |
virtual void | display_curvatures (mgSysGL &sgl, double scale, int density, bool use_radius) const |
virtual std::string | whoami () const =0 |
限定公開メンバ関数 | |
virtual void | ReadMembers (MGIfstream &buf) |
Read all member data. [詳解] | |
virtual void | WriteMembers (MGOfstream &buf) const |
Write all member data. [詳解] | |
フレンド | |
MG_DLL_DECLR friend std::ostream & | operator<< (std::ostream &ostrm, const MGGel &gel) |
string stream function [詳解] | |
MGGel is an abstract class which represents a group element.
Gel is the abbreviation of group element, is designed to store in MGGroup as an element. Subclasses of MGGel are: (1) MGAttribedGel(whose sub are MGObject, MGGroup), or (2) MGAttrib. MGGel provides functions of serialization of objects. All the objects of MGGel subclasses can be serialized using MGGroup::make_file(), and MGGroup constructor.
|
virtual |
Virtual Destructor.
|
inlinevirtual |
|
pure virtual |
Generate copied gel of this gel. Returned is a newed object. User must delete the object.
MGLBRep, MGSBRep, MGEllipse, MGRSBRep, MGRLBRep, MGStraight, MGCompositeCurve, MGColor, MGPlane, MGFace, MGSurface, MGSphere, MGCurve, MGLoop, MGCylinder, MGEdge, MGStl, MGSurfCurve, MGComplex, MGTrimmedCurve, MGCell, MGCellNB, MGShell, MGBSumCurve, MGPoint, MGBSumSurf, MGGroup, MGContext, MGGeometry, MGObject, MGPVertex, MGBoundary, MGAppearance, mgTL2Polyline, MGCellBase, MGGLAttrib, MGBVertex, MGRenderAttr, MGLights, MGPlaneImage, MGLight, MGSpotLight, MGLineStipple, MGPointLight, MGDirectionalLight, MGLineWidth, MGName (計47項目)で実装されています。
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
MGCurve, MGCompositeCurve, MGGroupで再実装されています。
|
inlinevirtual |
|
inlinevirtual |
sgl | Sgl to make the pictures in. |
scale | scaling of the graph. |
density | densitiy of the graph. |
use_radius | true:radius display, false:curvature display. |
MGCurve, MGCompositeCurve, MGGroupで再実装されています。
|
inlinevirtual |
Obtain display list name. 0(null) means this gel need not to be displayed.
MGAppearance, MGAttribedGelで再実装されています。
|
inlinevirtual |
draw attribute data.
vbo | The target graphic object. |
no_color | if true, color attribute will be neglected. |
MGColor, MGGroup, MGRenderAttr, MGGLAttrib, MGAppearance, MGLights, MGAttribedGel, MGLight, MGLineStipple, MGLineWidth, MGNameで再実装されています。
|
inlinevirtual |
|
inlinevirtual |
Return MGGeometry pointer if this MGGel is an MGGeometry, else return null.
MGGeometryで再実装されています。
|
inlinevirtual |
MGGeometryで再実装されています。
|
inlinevirtual |
|
pure virtual |
Return This object's typeID.
MGLBRep, MGSBRep, MGSurface, MGRLBRep, MGEllipse, MGCurve, MGRSBRep, MGFace, MGStraight, MGCompositeCurve, MGLoop, MGEdge, MGPlane, MGColor, MGTrimmedCurve, MGSphere, MGCylinder, MGContext, MGGroup, MGComplex, MGSurfCurve, MGCell, MGStl, MGRenderAttr, MGCellNB, MGPoint, MGBSumCurve, MGShell, MGBSumSurf, MGGLAttrib, MGBoundary, MGPVertex, MGAppearance, MGLights, MGPointLight, MGBVertex, MGSpotLight, MGLineStipple, MGPlaneImage, MGLineWidth, MGDirectionalLight, MGName, MGAttrib (計43項目)で実装されています。
|
pure virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Test if this gel should be displayed or not. True: not to display, false:to display.
MGAppearance, MGAttribedGelで再実装されています。
|
inlinevirtual |
|
inlinevirtual |
MGSBRep, MGRSBRep, MGPlane, MGSphere, MGEdge, MGCylinder, MGPoint, MGBSumSurfで再実装されています。
|
virtual |
MGSBRep, MGLBRep, MGEllipse, MGRSBRep, MGColor, MGRLBRep, MGStraight, MGPlane, MGSphere, MGFace, MGLoop, MGEdge, MGCylinder, MGComplex, MGCurve, MGCompositeCurve, MGTrimmedCurve, MGShell, MGSurface, MGContext, MGSurfCurve, MGPoint, MGBSumCurve, MGBSumSurf, MGGroup, MGPVertex, MGRenderAttr, MGBVertex, MGLight, MGSpotLight, MGLights, MGPointLight, MGLineStipple, MGAppearance, MGDirectionalLight, MGLineWidth (計36項目)で再実装されています。
Assignment. When the leaf objects of this and gel2 are not equal, this assignment does nothing.
MGSBRep, MGLBRep, MGEllipse, MGRSBRep, MGColor, MGRLBRep, MGStraight, MGPlane, MGLoop, MGSphere, MGFace, MGEdge, MGCylinder, MGContext, MGSurfCurve, MGTrimmedCurve, MGShell, MGCompositeCurve, MGGroup, MGComplex, MGBSumSurf, MGRenderAttr, MGPVertex, MGBSumCurve, MGPoint, MGBVertex, MGLight, MGSpotLight, MGLights, MGPointLight, MGLineStipple, MGAppearance, MGDirectionalLight, MGLineWidth (計34項目)で再実装されています。
|
inlinevirtual |
Comparison.
MGSBRep, MGLBRep, MGEllipse, MGRSBRep, MGRLBRep, MGStraight, MGPlane, MGSphere, MGEdge, MGCylinder, MGCurve, MGCompositeCurve, MGSurface, MGTrimmedCurve, MGSurfCurve, MGPoint, MGBSumCurve, MGBSumSurf (計18項目)で再実装されています。
|
inlinevirtual |
|
pure virtual |
Output virtual function.
MGCurve, MGLBRep, MGSBRep, MGSurface, MGRLBRep, MGStraight, MGEllipse, MGRSBRep, MGCompositeCurve, MGLoop, MGSurfCurve, MGTrimmedCurve, MGColor, MGGroup, MGContext, MGBSumCurve, MGPoint, MGBSumSurf, MGComplex, MGCellNB, MGCell, MGRenderAttr, MGPlane, MGCellBase, MGPlaneImage, MGSphere, MGFace, MGLight, MGStl, MGEdge, MGCylinder, MGBoundary, MGPVertex, MGGLAttrib, MGBVertex, mgTL2Polyline, MGLights, MGPointLight, MGSpotLight, MGLineStipple, MGLineWidth, MGShell, MGDirectionalLight, MGName, MGObject, MGGeometry, MGAppearance, MGAttrib (計48項目)で実装されています。
|
inlinevirtual |
IGES output function (Default function is no operation to output) Function's return value is the directory entry id created.
MGLBRep, MGSBRep, MGStraight, MGRLBRep, MGEllipse, MGRSBRep, MGCompositeCurve, MGSurfCurve, MGTrimmedCurve, MGColor, MGGroup, MGBSumCurve, MGPoint, MGPlane, MGSphere, MGFace, MGCylinder, MGShell (計18項目)で再実装されています。
|
inlinevirtual |
|
protectedvirtual |
Read all member data.
MGSurface, MGCurve, MGLBRep, MGSBRep, MGFace, MGStraight, MGRLBRep, MGEllipse, MGPlane, MGRSBRep, MGCompositeCurve, MGLoop, MGEdge, MGTrimmedCurve, MGCylinder, MGSphere, MGGroup, MGSurfCurve, MGComplex, MGColor, MGShell, MGBSumSurf, MGContext, MGBSumCurve, MGCell, MGPoint, MGCellNB, MGStl, MGBoundary, MGAppearance, MGBVertex, MGObject, MGCellBase, MGRenderAttr, MGPVertex, MGPlaneImage, MGGeometry, MGLight, MGGLAttrib, MGLights, MGPointLight, MGSpotLight, MGLineStipple, MGLineWidth, MGDirectionalLight, MGTopology, MGName, MGAttrib (計48項目)で再実装されています。
|
inlinevirtual |
std::string MGGel::string_content | ( | ) | const |
Output the content as std::string. The output string is the same as std::cout<<MGGel.
|
inlinevirtual |
|
inlinevirtual |
Return MGTopology pointer if this MGGel is an MGTopology, else return null.
MGTopologyで再実装されています。
|
inlinevirtual |
MGTopologyで再実装されています。
|
inlinevirtual |
Transform the gel by the argument.
translation
MGGroup, MGObject, MGPointLight, MGSpotLight, MGDirectionalLightで再実装されています。
|
inlinevirtual |
scaling.
MGGroup, MGObject, MGPointLight, MGSpotLight, MGDirectionalLightで再実装されています。
|
inlinevirtual |
matrix transformation.
MGGroup, MGObject, MGPointLight, MGSpotLight, MGDirectionalLightで再実装されています。
|
inlinevirtual |
general transformation.
MGGroup, MGObject, MGPointLight, MGSpotLight, MGDirectionalLightで再実装されています。
bool MGGel::type_is | ( | const MGAbstractGels & | types | ) | const |
Determine if this is one of the input types or not. Function's return value is true if this is one of the input types.
|
pure virtual |
MGSurface, MGCurve, MGLBRep, MGSBRep, MGFace, MGRLBRep, MGEllipse, MGStraight, MGRSBRep, MGCompositeCurve, MGPlane, MGLoop, MGEdge, MGCylinder, MGTrimmedCurve, MGSphere, MGGroup, MGSurfCurve, MGComplex, MGColor, MGStl, MGShell, MGBSumSurf, MGContext, MGBSumCurve, MGCell, MGPoint, MGCellNB, MGAppearance, MGBVertex, MGCellBase, MGRenderAttr, MGPVertex, MGPlaneImage, MGBoundary, MGGeometry, MGLight, MGLights, MGPointLight, MGSpotLight, MGLineStipple, MGLineWidth, MGDirectionalLight, MGName, MGTopology (計45項目)で実装されています。
|
protectedvirtual |
Write all member data.
MGSurface, MGCurve, MGLBRep, MGSBRep, MGFace, MGStraight, MGRLBRep, MGEllipse, MGPlane, MGRSBRep, MGCompositeCurve, MGLoop, MGEdge, MGTrimmedCurve, MGCylinder, MGSphere, MGGroup, MGSurfCurve, MGComplex, MGColor, MGShell, MGBSumSurf, MGContext, MGBSumCurve, MGCell, MGPoint, MGCellNB, MGBoundary, MGStl, MGAppearance, MGBVertex, MGObject, MGCellBase, MGRenderAttr, MGPVertex, MGGeometry, MGPlaneImage, MGLight, MGGLAttrib, MGLights, MGPointLight, MGSpotLight, MGLineStipple, MGLineWidth, MGDirectionalLight, MGName, MGTopology, MGAttrib (計48項目)で再実装されています。
|
friend |
string stream function