|
MGCL V10
V10
MGCL V10
|
Is a class to locate where an object is in a group hierarchy. [詳解]
公開メンバ関数 | |
| MGPickObjectFB () | |
| MGPickObjectFB (const MGPickObjectFB &pfb) | |
| MGPickObjectFB (MGGelPosition &gelp, const MGEdge *edge) | |
| Conversion constructor from MGGelPosition and MGEdge. [詳解] | |
| MGPickObjectFB (MGPickObject &pobj, const MGEdge *edge) | |
| Conversion constructor from MGPickObject and start/end. [詳解] | |
| virtual | ~MGPickObjectFB () |
| MGPickObjectFB & | operator= (const MGPickObject &pobj) |
| Assignment operator. [詳解] | |
| virtual MGPickObjectFB * | clone () const |
| Generate a newed clone object. [詳解] | |
| const MGEdge * | edge () const |
| Return the edge pointer. [詳解] | |
| MGFace * | face () |
| Return the face of the edge. [詳解] | |
| void | hilight_using_display_list (double span_length, int line_density) const |
| Highlightthe object using the display list of this object. [詳解] | |
| void | set_edge (const MGEdge *edge) |
| Set the object pointer. [詳解] | |
基底クラス MGPickObject に属する継承公開メンバ関数 | |
| MGPickObject () | |
| MGPickObject (MGGroup *group, MGObject *obj=0) | |
| Constructor of no hierarched group(m_Ghierarcy.size()==0). [詳解] | |
| MGPickObject (const MGGelPosition &gelp2) | |
| constructor. [詳解] | |
| MGPickObject (const MGPickObject &obj2) | |
| constructor. [詳解] | |
| virtual | ~MGPickObject () |
| bool | operator< (const MGPickObject &po2) const |
| bool | operator> (const MGPickObject &po2) const |
| bool | operator<= (const MGPickObject &po2) const |
| bool | operator>= (const MGPickObject &po2) const |
| MGPosition & | parameter () |
| Get the parameter value of the object at the picked position. [詳解] | |
| const MGPosition & | parameter () const |
| void | set_parameter (const MGPosition ¶m) |
| Set the object parameter value. [詳解] | |
基底クラス MGGelPosition に属する継承公開メンバ関数 | |
| MGGelPosition () | |
| Void constructor. [詳解] | |
| MGGelPosition (MGGroup *group, MGObject *obj=0) | |
| Constructor of no hierarched group(m_Ghierarcy.size()==0). [詳解] | |
| MGGelPosition (const MGGelPosition &obj2) | |
| Copy constructor. [詳解] | |
| virtual | ~MGGelPosition () |
| Destructor. [詳解] | |
| virtual MGGelPosition & | operator= (const MGGelPosition &GelPosition2) |
| Assignment. [詳解] | |
| bool | operator== (const MGGelPosition &gelp2) const |
| Equal operator. [詳解] | |
| bool | operator!= (const MGGelPosition &gelp2) const |
| bool | operator< (const MGGelPosition &gp2) const |
| bool | operator> (const MGGelPosition &gp2) const |
| bool | operator<= (const MGGelPosition &gp2) const |
| bool | operator>= (const MGGelPosition &gp2) const |
| void | append_lower_gel (MGGel *gel) |
| Append lower level group or shell data. [詳解] | |
| const MGGel * | gel (int i) const |
| Return the MGGel i;. [詳解] | |
| MGGel * | gel (int i) |
| void | do_add () |
| void | do_remove () |
| const MGGroup * | bottom_group () const |
| Get the group pointer that includes leaf_gel();. [詳解] | |
| MGGroup * | bottom_group () |
| const MGGroup * | top_group () const |
| Get the top group pointer. [詳解] | |
| MGGroup * | top_group () |
| MGShell * | get_shell_of_shell_face () const |
| const MGGroup * | is_a_member_of (const MGGroup *grp) const |
| bool | is_null () const |
| Test if this is null. [詳解] | |
| bool | is_shell_face () const |
| bool | is_type (const MGAbstractGels &types) const |
| bool | leaf_is_group () const |
| const MGObject * | top_object () const |
| MGObject * | top_object () |
| const MGObject * | leaf_object () const |
| MGObject * | leaf_object () |
| const MGAttribedGel * | leafAttribedGel () const |
| MGAttribedGel * | leafAttribedGel () |
| void | set_attribedGel (MGAttribedGel *agel) |
| Set the leaf object data. [詳解] | |
| void | set_leaf_object (MGObject *obj) |
| Set the leaf object data. [詳解] | |
| void | set_top_group (MGGroup *group) |
| Set the group data. [詳解] | |
| void | set_null () |
| Set this as null. [詳解] | |
| bool | symmetric (const MGGelPosition &gp2) const |
| MGAttribedGel * | targetGel () |
その他の継承メンバ | |
基底クラス MGGelPosition に属する継承限定公開変数類 | |
| MGGroup * | m_group |
| std::vector< MGGel * > | m_Ghierarcy |
| MGAttribedGel * | m_agel |
| MGObject * | m_object |
| MGAttribedGel(MGGroup for attribute update) pointer. [詳解] | |
Is a class to locate where an object is in a group hierarchy.
Generally, A group includes other groups, and the included groups include other groups. In this way, the groups make a group hierachy. MGPickObject represents this hierarcy. top_group() is the top MGGroup that includes the object leaf_object() if m_Ghierarcy.size()==0. If m_Ghierarcy.size()>0, top_group() includes m_Ghierarcy[0]. Let n=m_Ghierarcy.size(), then group m_Ghierarcy[i-1] includes m_Ghierarcy[i] for n=0,...,n-2. m_Ghierarcy[n-1] includes leaf_object(); leaf_object() is the leaf MGObject pointer. Although m_Ghierarcy[i] for i=0,...,n-2 are always MGGroup, m_Ghierarcy[n-1] may be MGShell that includes MGFace. In this case, leaf_object() is the MGFace.
|
inline |
| MGPickObjectFB::MGPickObjectFB | ( | const MGPickObjectFB & | pfb | ) |
|
inline |
Conversion constructor from MGGelPosition and MGEdge.
|
inline |
Conversion constructor from MGPickObject and start/end.
|
inlinevirtual |
Copy constructor. MGPickObjectFB(const MGPickObjectFB& pobj2);
|
virtual |
Generate a newed clone object.
MGPickObjectを再実装しています。
|
inline |
Return the edge pointer.
| MGFace* MGPickObjectFB::face | ( | ) |
Return the face of the edge.
|
virtual |
Highlightthe object using the display list of this object.
| span_length | Line segment span length. |
| line_density | line density to draw a surface in wire mode. |
MGPickObjectを再実装しています。
|
virtual |
Assignment operator.
MGPickObjectを再実装しています。
|
inline |
Set the object pointer.