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

Is a class to locate where an object is in a group hierarchy. [詳解]

MGPickObjectFB の継承関係図
MGPickObject MGGelPosition

公開メンバ関数

 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 ()
 
MGPickObjectFBoperator= (const MGPickObject &pobj)
 Assignment operator. [詳解]
 
virtual MGPickObjectFBclone () const
 Generate a newed clone object. [詳解]
 
const MGEdgeedge () const
 Return the edge pointer. [詳解]
 
MGFaceface ()
 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
 
MGPositionparameter ()
 Get the parameter value of the object at the picked position. [詳解]
 
const MGPositionparameter () const
 
void set_parameter (const MGPosition &param)
 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 MGGelPositionoperator= (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 MGGelgel (int i) const
 Return the MGGel i;. [詳解]
 
MGGelgel (int i)
 
void do_add ()
 
void do_remove ()
 
const MGGroupbottom_group () const
 Get the group pointer that includes leaf_gel();. [詳解]
 
MGGroupbottom_group ()
 
const MGGrouptop_group () const
 Get the top group pointer. [詳解]
 
MGGrouptop_group ()
 
MGShellget_shell_of_shell_face () const
 
const MGGroupis_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 MGObjecttop_object () const
 
MGObjecttop_object ()
 
const MGObjectleaf_object () const
 
MGObjectleaf_object ()
 
const MGAttribedGelleafAttribedGel () const
 
MGAttribedGelleafAttribedGel ()
 
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
 
MGAttribedGeltargetGel ()
 

その他の継承メンバ

- 基底クラス MGGelPosition に属する継承限定公開変数類
MGGroupm_group
 
std::vector< MGGel * > m_Ghierarcy
 
MGAttribedGelm_agel
 
MGObjectm_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.

構築子と解体子

MGPickObjectFB::MGPickObjectFB ( )
inline
MGPickObjectFB::MGPickObjectFB ( const MGPickObjectFB pfb)
MGPickObjectFB::MGPickObjectFB ( MGGelPosition gelp,
const MGEdge edge 
)
inline

Conversion constructor from MGGelPosition and MGEdge.

MGPickObjectFB::MGPickObjectFB ( MGPickObject pobj,
const MGEdge edge 
)
inline

Conversion constructor from MGPickObject and start/end.

virtual MGPickObjectFB::~MGPickObjectFB ( )
inlinevirtual

関数詳解

virtual MGPickObjectFB* MGPickObjectFB::clone ( ) const
virtual

Generate a newed clone object.

MGPickObjectを再実装しています。

const MGEdge* MGPickObjectFB::edge ( ) const
inline

Return the edge pointer.

MGFace* MGPickObjectFB::face ( )

Return the face of the edge.

void MGPickObjectFB::hilight_using_display_list ( double  span_length,
int  line_density 
) const
virtual

Highlightthe object using the display list of this object.

引数
span_lengthLine segment span length.
line_densityline density to draw a surface in wire mode.

MGPickObjectを再実装しています。

MGPickObjectFB& MGPickObjectFB::operator= ( const MGPickObject pobj)
virtual

Assignment operator.

MGPickObjectを再実装しています。

void MGPickObjectFB::set_edge ( const MGEdge edge)
inline

Set the object pointer.


このクラス詳解は次のファイルから抽出されました: