MGCL V10
V10
MGCL V10
|
MGPickObject is a class to locate where an object is in a group hierarchy. [詳解]
公開メンバ関数 | |
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 () |
virtual MGPickObject & | operator= (const MGPickObject &pobj) |
Assignment operator. [詳解] | |
bool | operator< (const MGPickObject &po2) const |
bool | operator> (const MGPickObject &po2) const |
bool | operator<= (const MGPickObject &po2) const |
bool | operator>= (const MGPickObject &po2) const |
virtual MGPickObject * | clone () const |
Generate a newed clone object. [詳解] | |
virtual void | hilight_using_display_list (double span_length, int line_density) const |
Highlightthe object using the display list of this object. [詳解] | |
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. [詳解] | |
MGPickObject 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. m_group is the top MGGroup that includes the object m_object if m_Ghierarcy.size()==0. If m_Ghierarcy.size()>0, m_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 m_object; m_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, m_object is the MGFace.
|
inline |
Constructor of no hierarched group(m_Ghierarcy.size()==0).
|
inline |
constructor.
|
inline |
constructor.
|
inlinevirtual |
|
virtual |
Generate a newed clone object.
MGGelPositionを再実装しています。
MGPickObjectFB, MGPickObjectCB, MGPickObjectSBで再実装されています。
|
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. |
MGPickObjectFB, MGPickObjectCB, MGPickObjectSBで再実装されています。
bool MGPickObject::operator< | ( | const MGPickObject & | po2 | ) | const |
|
inline |
|
virtual |
Assignment operator.
MGPickObjectFB, MGPickObjectCB, MGPickObjectSBで再実装されています。
|
inline |
|
inline |
|
inline |
Get the parameter value of the object at the picked position.
|
inline |
|
inline |
Set the object parameter value.