MGCL V10
V10
MGCL V10
|
Is an abstract class which represents a whole geometry and a topology. [詳解]
公開メンバ関数 | |
MGObject () | |
Void constructor(初期化なしでオブジェクトを作成する。) [詳解] | |
MGObject (const MGObject &obj2) | |
Copy constructor. [詳解] | |
virtual | ~MGObject () |
Virtual Destructor. [詳解] | |
virtual MGObject & | operator= (const MGObject &obj2) |
virtual MGObject & | operator+= (const MGVector &v)=0 |
Object transformation. [詳解] | |
virtual MGObject & | operator-= (const MGVector &v)=0 |
virtual MGObject & | operator*= (double scale)=0 |
virtual MGObject & | operator*= (const MGMatrix &mat)=0 |
virtual MGObject & | operator*= (const MGTransf &tr)=0 |
virtual std::ostream & | out (std::ostream &) const |
Output virtual function. [詳解] | |
MGAppearance * | appearance () |
const MGAppearance * | appearance () const |
virtual const MGBox & | box () const =0 |
Get the box of the object. [詳解] | |
virtual MGObject * | clone () const =0 |
virtual void | drawWire (mgVBO &vbo, double span_length, int line_density=1) const =0 |
virtual void | draw3DVertex (mgVBO &vbo) const =0 |
virtual void | shade (mgVBO &vbo, const MGDrawParam ¶, mgVBO::ELEMENT_TARGET target=mgVBO::SHADING) const |
Shade the object in world coordinates. [詳解] | |
MGAppearance * | ensure_appearance () |
virtual void | make_display_list (MGCL::VIEWMODE vmode=MGCL::DONTCARE) const |
Make a display list of this gel. [詳解] | |
bool | has_common (const MGObject &obj2) const |
const MGObject * | includes_object () const |
Test if this gel includes an object. [詳解] | |
MGObject * | includes_object () |
Test if this gel includes an object. [詳解] | |
virtual MGisects | intersection (const MGObject &obj2) const =0 |
virtual MGisects | intersection (const MGPoint &obj2) const |
virtual MGisects | intersection (const MGCurve &obj2) const =0 |
virtual MGisects | intersection (const MGFSurface &obj2) const =0 |
virtual MGisects | intersection (const MGSurface &obj2) const =0 |
virtual MGisects | intersection (const MGFace &obj2) const =0 |
virtual MGisects | intersection (const MGShell &obj2) const =0 |
virtual MGPosition | pick_closest (const MGStraight &sl) const |
void | remove_appearance () |
Remove the MGAppearance of this MGAttribedGel. [詳解] | |
virtual MGObject * | object () |
Return MGObject pointer if this MGGel is an MGObject, else return null. [詳解] | |
virtual const MGObject * | object () const |
virtual const MGFSurface * | fsurface () const |
Get the MGFSurface pointer if this is MGSurface or MGFace. [詳解] | |
virtual MGFSurface * | fsurface () |
void | set_appearance (const MGAppearance &appr2) |
virtual void | transform (const MGVector &v) |
Transform the gel by the argument. [詳解] | |
virtual void | transform (double scale) |
translation [詳解] | |
virtual void | transform (const MGMatrix &mat) |
scaling. [詳解] | |
virtual void | transform (const MGTransf &tr) |
matrix transformation. [詳解] | |
基底クラス MGAttribedGel に属する継承公開メンバ関数 | |
MGAttribedGel () | |
void constructor. [詳解] | |
MGAttribedGel (const MGAttribedGel &gel2) | |
copy constructor. [詳解] | |
virtual MGAttribedGel & | operator= (const MGAttribedGel &gel2) |
virtual | ~MGAttribedGel () |
void | copy_appearance (const MGAttribedGel &gel2) |
mgVBO * | dlist_name () const |
virtual bool | displayList_is_made (MGCL::VIEWMODE vmode) const |
Judge if the display list for vmode is made or not. [詳解] | |
void | deleteDlistName () const |
virtual void | drawAttrib (mgVBO &vbo, bool no_color=false) const |
Process of draw or render attributes. [詳解] | |
virtual void | render_attribute () const |
virtual int | get_draw_attrib_mask () const |
Obtain attribute mask for glPushAttrib(). [詳解] | |
virtual int | get_render_attrib_mask () const |
int | getVBOElementsNumber () const |
Get the number of elements of m_dlistName. [詳解] | |
int | getVBOShaderElementsNumber () const |
Get the number of shading elements of m_dlistName. [詳解] | |
virtual bool | no_display () const |
void | remove_GLattrib (long tid) |
Removed the attribute of specified type. [詳解] | |
virtual void | set_GLattrib (MGGLAttrib *attr) |
virtual void | set_display () |
Set this group as display or no display group. [詳解] | |
virtual void | set_no_display () |
bool | visible () const |
void | set_name (const MGName &newName) |
const MGName * | get_name () const |
void | set_color (const MGColor &newColor) |
const MGColor * | get_color () const |
void | setDlistName (mgVBO *vbo=0) const |
void | setDirty (bool is_dirty) const |
Set dirty flag(s) of this VBO(m_dlistName). [詳解] | |
基底クラス MGGel に属する継承公開メンバ関数 | |
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 int | out_to_IGES (MGIgesOfstream &igesfile, int SubordinateEntitySwitch=0) const |
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 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. [詳解] | |
std::string | string_content () const |
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) |
general transformation. [詳解] | |
virtual void | WriteMembers (MGOfstream &buf) const |
Write all member data. [詳解] | |
MGObject & | set_object (const MGObject &gel2) |
その他の継承メンバ | |
基底クラス MGAttribedGel に属する継承限定公開変数類 | |
std::auto_ptr< mgVBO > | m_dlistName |
display name if m_dlistName!=0; [詳解] | |
Is an abstract class which represents a whole geometry and a topology.
MGObject::MGObject | ( | ) |
Void constructor(初期化なしでオブジェクトを作成する。)
MGObject::MGObject | ( | const MGObject & | obj2 | ) |
Copy constructor.
|
virtual |
Virtual Destructor.
|
inlinevirtual |
Get the MGAppearance pointer of this object. If not defined, null will be returned. See ensure_appearance().
MGAttribedGelを実装しています。
|
inlinevirtual |
MGAttribedGelを実装しています。
|
pure virtual |
Get the box of the object.
MGEdge, MGStl, MGComplex, MGCell, MGCellNB, MGPVertex, MGCellBase, MGGeometry, MGBVertexで実装されています。
|
pure virtual |
Construct new object by copying to newed area. User must delete this copied object by "delete".
MGGelを実装しています。
MGLBRep, MGSBRep, MGEllipse, MGRSBRep, MGRLBRep, MGStraight, MGCompositeCurve, MGPlane, MGFace, MGSurface, MGSphere, MGCurve, MGLoop, MGCylinder, MGEdge, MGStl, MGSurfCurve, MGComplex, MGTrimmedCurve, MGCell, MGCellNB, MGShell, MGBSumCurve, MGPoint, MGBSumSurf, MGGeometry, MGPVertex, MGBoundary, mgTL2Polyline, MGCellBase, MGBVertex, MGPlaneImage (計32項目)で実装されています。
|
pure virtual |
|
pure virtual |
Draw the object in wire mode, in the world coordinates. The object is converted to curve(s) and is drawn.
vbo | The target graphic object. |
span_length | Line segment span length. |
line_density | line density to draw a surface in wire mode. |
MGCurve, MGStraight, MGSurface, MGEdge, MGFace, MGPlane, MGStl, MGComplex, MGPoint, MGPVertex, MGBVertex, MGPlaneImageで実装されています。
|
virtual |
make this group has appearance and get the MGAppearance pointer. See appearance().
MGAttribedGelを実装しています。
|
inlinevirtual |
Get the MGFSurface pointer if this is MGSurface or MGFace.
|
inlinevirtual |
bool MGObject::has_common | ( | const MGObject & | obj2 | ) | const |
Test if this and 2nd object has common area about their box(), taking error into account.
|
inlinevirtual |
Test if this gel includes an object.
MGGelを実装しています。
|
inlinevirtual |
Test if this gel includes an object.
MGGelを実装しています。
Compute the intersections of two objects. Intersections are obtained from two objects, which are known using the MGisects::object1() and object2(). ****NOTE**** When two objects' manifold dimension are the same, object1 is this object at the invocation of MGObject::intersection(), and object2 is the argument object. However, their manifold dimension are not the same, object1 is always the lower dimension's object and object2 is the higer dimension's object.
MGSurface, MGCurve, MGFace, MGStl, MGPoint, MGShell, MGTopologyで実装されています。
|
pure virtual |
|
virtual |
|
inlinevirtual |
|
pure virtual |
MGSBRep, MGLBRep, MGEllipse, MGRSBRep, MGRLBRep, MGStraight, MGPlane, MGSphere, MGEdge, MGStl, MGLoop, MGCylinder, MGComplex, MGCellNB, MGCurve, MGCompositeCurve, MGShell, MGSurface, MGPoint, MGBSumSurf, MGBoundary, MGPVertex, MGCellBase, MGBSumCurve (計24項目)で実装されています。
MGSBRep, MGLBRep, MGEllipse, MGRSBRep, MGRLBRep, MGStraight, MGPlane, MGStl, MGSphere, MGEdge, MGLoop, MGCylinder, MGComplex, MGCellNB, MGCurve, MGCompositeCurve, MGShell, MGSurface, MGPoint, MGBSumSurf, MGBoundary, MGPVertex, MGCellBase, MGBSumCurve (計24項目)で実装されています。
MGSBRep, MGLBRep, MGEllipse, MGRSBRep, MGRLBRep, MGStraight, MGPlane, MGStl, MGSphere, MGEdge, MGLoop, MGCylinder, MGComplex, MGCellNB, MGCurve, MGCompositeCurve, MGShell, MGSurface, MGPoint, MGBSumSurf, MGBoundary, MGPVertex, MGCellBase, MGBSumCurve (計24項目)で実装されています。
Object transformation.
MGSBRep, MGLBRep, MGEllipse, MGRSBRep, MGRLBRep, MGStraight, MGPlane, MGSphere, MGEdge, MGStl, MGLoop, MGCylinder, MGComplex, MGCellNB, MGCurve, MGCompositeCurve, MGShell, MGSurface, MGPoint, MGBSumSurf, MGBoundary, MGPVertex, MGCellBase, MGBSumCurve (計24項目)で実装されています。
MGSBRep, MGLBRep, MGEllipse, MGRSBRep, MGRLBRep, MGStraight, MGPlane, MGSphere, MGEdge, MGStl, MGLoop, MGCylinder, MGComplex, MGCellNB, MGCurve, MGCompositeCurve, MGShell, MGSurface, MGPoint, MGBSumSurf, MGBoundary, MGPVertex, MGCellBase, MGBSumCurve (計24項目)で実装されています。
Assignment. When the leaf object of this and gel2 are not equal, this assignment does nothing.
|
virtual |
Output virtual function.
MGGelを実装しています。
MGCurve, MGLBRep, MGSBRep, MGSurface, MGRLBRep, MGStraight, MGEllipse, MGRSBRep, MGCompositeCurve, MGLoop, MGSurfCurve, MGTrimmedCurve, MGBSumCurve, MGPoint, MGBSumSurf, MGComplex, MGCellNB, MGCell, MGPlane, MGCellBase, MGPlaneImage, MGSphere, MGFace, MGStl, MGEdge, MGCylinder, MGBoundary, MGPVertex, MGBVertex, mgTL2Polyline, MGShell, MGGeometry (計32項目)で再実装されています。
|
inlinevirtual |
Compute the parameter value of the closest point from the straight to this object. sl is the eye projection line whose direction is from yon to hither, and if sl had multiple intersection points, The closest point to the eye will be selected.
MGSurface, MGCurve, MGFace, MGEdge, MGComplex, MGPVertex, MGBVertexで再実装されています。
|
protectedvirtual |
general transformation.
Read all member data.
MGGelを再実装しています。
MGSurface, MGCurve, MGLBRep, MGSBRep, MGFace, MGStraight, MGRLBRep, MGEllipse, MGPlane, MGRSBRep, MGCompositeCurve, MGLoop, MGEdge, MGTrimmedCurve, MGCylinder, MGSphere, MGSurfCurve, MGComplex, MGShell, MGBSumSurf, MGBSumCurve, MGCell, MGPoint, MGCellNB, MGStl, MGBoundary, MGBVertex, MGCellBase, MGPVertex, MGPlaneImage, MGGeometry, MGTopology (計32項目)で再実装されています。
|
virtual |
Remove the MGAppearance of this MGAttribedGel.
MGAttribedGelを実装しています。
|
virtual |
MGAttribedGelを実装しています。
Assignment. When the leaf object of this and gel2 are not equal, this assignment does nothing.
|
inlinevirtual |
|
inlinevirtual |
Transform the gel by the argument.
MGGelを再実装しています。
|
inlinevirtual |
translation
MGGelを再実装しています。
|
inlinevirtual |
matrix transformation.
MGGelを再実装しています。
|
protectedvirtual |
Write all member data.
MGGelを再実装しています。
MGSurface, MGCurve, MGLBRep, MGSBRep, MGFace, MGStraight, MGRLBRep, MGEllipse, MGPlane, MGRSBRep, MGCompositeCurve, MGLoop, MGEdge, MGTrimmedCurve, MGCylinder, MGSphere, MGSurfCurve, MGComplex, MGShell, MGBSumSurf, MGBSumCurve, MGCell, MGPoint, MGCellNB, MGBoundary, MGStl, MGBVertex, MGCellBase, MGPVertex, MGGeometry, MGPlaneImage, MGTopology (計32項目)で再実装されています。