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

a container class for MGPickObject. [詳解]

公開型

typedef MGPvector< MGPickObject > container_type
 
typedef container_type::reference reference
 types: [詳解]
 
typedef
container_type::const_reference 
const_reference
 
typedef container_type::iterator iterator
 
typedef
container_type::const_iterator 
const_iterator
 
typedef container_type::size_type size_type
 
typedef
container_type::reverse_iterator 
reverse_iterator
 
typedef
container_type::const_reverse_iterator 
const_reverse_iterator
 

公開メンバ関数

 MGPickObjects ()
 Constructors. [詳解]
 
 MGPickObjects (const MGPickObjects &pobjs)
 Copy constructor. [詳解]
 
 MGPickObjects (const MGPickObject &pobj)
 Construct MGPickObjects of one pobj. [詳解]
 
const MGPickObject & operator[] (size_t i) const
 virtual ~MGPickObjects(); [詳解]
 
MGPickObject & operator[] (size_t i)
 
MGPickObjects & operator= (const MGPickObjects &pobjs)
 
MGPickObjects & operator+= (const MGPickObjects &gelps)
 Set operation. [詳解]
 
MGPickObjects & operator+= (const MGPickObject &gelp)
 
MGPickObjects & operator-= (const MGPickObjects &gelps)
 
MGPickObjects & operator-= (const MGPickObject &gelp)
 
MGPickObjects & operator-= (const MGAbstractGels &types)
 
MGPickObjects & operator&= (const MGPickObjects &gelps)
 
void append_object (const MGGelPositions &gelps)
 append the current objects(MGGelPositions). [詳解]
 
void assign (const_iterator first, const_iterator last)
 Replace this sequence with [first,last). [詳解]
 
const MGPickObject & front () const
 
MGPickObject & front ()
 
const MGPickObject & back () const
 
MGPickObject & back ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void clear ()
 
bool empty () const
 
void pop_back ()
 
iterator find (const MGPickObject &pobj)
 find the same pobj in this objects. [詳解]
 
const_iterator find (const MGPickObject &pobj) const
 
const MGFSurface * get_object_to_tessellate () const
 
iterator includes (const MGObject *objin)
 
iterator includes (const MGPickObject &pobj)
 
void erase (iterator first, iterator last)
 erase sequence [first, last). [詳解]
 
iterator erase (iterator i)
 erase sequence i. [詳解]
 
void erase (int i)
 erase i-th element. [詳解]
 
void erase_except_front ()
 
int push_back (const MGPickObject &pobj)
 
int push_back (const MGPickObjects &pobjs)
 
void remove (const MGPickObject &pobj)
 Remove pobj if found in this. [詳解]
 
void remove (const MGPickObjects &pobjs)
 
void remove (const MGAbstractGels &types)
 Remove objects of types from this pickobjects. [詳解]
 
void remove (const MGGelPositions &gelps)
 Remove gelps from this pickobjects. [詳解]
 
void reset_with_common (const MGPickObjects &pobjs2)
 replace this with the common objects of this and pobjs2. [詳解]
 
void reset_with_symmetric_difference (const MGPickObjects &pobjs2)
 
void reserve (size_t n)
 reserve the size n, which are all null. [詳解]
 
void reset_objects (const MGAbstractGels &types)
 
void resize (size_t n)
 resize the length of the sequence. [詳解]
 
void reset (size_t i, const MGPickObject &pobj)
 resize the length of the sequence. [詳解]
 
MGPickObjects select (const MGAbstractGels &types) const
 
MGPickObject select_1st_curve () const
 
void select_curves (MGPickObjects &curves) const
 
MGPickObject select_1st_fsurface () const
 
void select_fsurfaces (MGPickObjects &surfaces) const
 
int size () const
 Obtain the pobj number defined. [詳解]
 
container_type & object_vector ()
 
const container_type & object_vector () const
 
void setNoDisplay () const
 Set no display for this vector of MGPickObject. [詳解]
 
void setDisplay () const
 Set no display for this vector of MGPickObject. [詳解]
 

限定公開変数類

container_type m_PickObjects
 

詳解

a container class for MGPickObject.

型定義メンバ詳解

構築子と解体子

MGPickObjects::MGPickObjects ( )
inline

Constructors.

MGPickObjects::MGPickObjects ( const MGPickObjects &  pobjs)

Copy constructor.

MGPickObjects::MGPickObjects ( const MGPickObject &  pobj)

Construct MGPickObjects of one pobj.

関数詳解

void MGPickObjects::append_object ( const MGGelPositions &  gelps)

append the current objects(MGGelPositions).

void MGPickObjects::assign ( const_iterator  first,
const_iterator  last 
)

Replace this sequence with [first,last).

const MGPickObject& MGPickObjects::back ( ) const
inline
MGPickObject& MGPickObjects::back ( )
inline
iterator MGPickObjects::begin ( )
inline
const_iterator MGPickObjects::begin ( ) const
inline
void MGPickObjects::clear ( )
inline
bool MGPickObjects::empty ( ) const
inline
iterator MGPickObjects::end ( )
inline
const_iterator MGPickObjects::end ( ) const
inline
void MGPickObjects::erase ( iterator  first,
iterator  last 
)

erase sequence [first, last).

iterator MGPickObjects::erase ( iterator  i)

erase sequence i.

void MGPickObjects::erase ( int  i)
inline

erase i-th element.

void MGPickObjects::erase_except_front ( )

erase after the elments after the front(). Resutl has length 1 sequence.

iterator MGPickObjects::find ( const MGPickObject &  pobj)

find the same pobj in this objects.

const_iterator MGPickObjects::find ( const MGPickObject &  pobj) const
const MGPickObject& MGPickObjects::front ( ) const
inline
MGPickObject& MGPickObjects::front ( )
inline
const MGFSurface* MGPickObjects::get_object_to_tessellate ( ) const
iterator MGPickObjects::includes ( const MGObject *  objin)
iterator MGPickObjects::includes ( const MGPickObject &  pobj)
container_type& MGPickObjects::object_vector ( )
inline
const container_type& MGPickObjects::object_vector ( ) const
inline
MGPickObjects& MGPickObjects::operator&= ( const MGPickObjects &  gelps)
inline
MGPickObjects& MGPickObjects::operator+= ( const MGPickObjects &  gelps)
inline

Set operation.

MGPickObjects& MGPickObjects::operator+= ( const MGPickObject &  gelp)
MGPickObjects& MGPickObjects::operator-= ( const MGPickObjects &  gelps)
inline
MGPickObjects& MGPickObjects::operator-= ( const MGPickObject &  gelp)
inline
MGPickObjects& MGPickObjects::operator-= ( const MGAbstractGels &  types)
inline
MGPickObjects& MGPickObjects::operator= ( const MGPickObjects &  pobjs)
const MGPickObject& MGPickObjects::operator[] ( size_t  i) const
inline

virtual ~MGPickObjects();

Operator overload.

MGPickObject& MGPickObjects::operator[] ( size_t  i)
inline
void MGPickObjects::pop_back ( )
inline
int MGPickObjects::push_back ( const MGPickObject &  pobj)

add one pobj. Function's return value is the numbe of PickObjects defined.

int MGPickObjects::push_back ( const MGPickObjects &  pobjs)
reverse_iterator MGPickObjects::rbegin ( )
inline
const_reverse_iterator MGPickObjects::rbegin ( ) const
inline
void MGPickObjects::remove ( const MGPickObject &  pobj)

Remove pobj if found in this.

void MGPickObjects::remove ( const MGPickObjects &  pobjs)
void MGPickObjects::remove ( const MGAbstractGels &  types)

Remove objects of types from this pickobjects.

void MGPickObjects::remove ( const MGGelPositions &  gelps)

Remove gelps from this pickobjects.

reverse_iterator MGPickObjects::rend ( )
inline
const_reverse_iterator MGPickObjects::rend ( ) const
inline
void MGPickObjects::reserve ( size_t  n)

reserve the size n, which are all null.

void MGPickObjects::reset ( size_t  i,
const MGPickObject &  pobj 
)

resize the length of the sequence.

void MGPickObjects::reset_objects ( const MGAbstractGels &  types)
void MGPickObjects::reset_with_common ( const MGPickObjects &  pobjs2)

replace this with the common objects of this and pobjs2.

void MGPickObjects::reset_with_symmetric_difference ( const MGPickObjects &  pobjs2)

replace this with symmetric_differecne of this and pobj, that is; (1) remove the same MGPickObject from this and pobjs2. (2) append the result pobjs2 to this.

void MGPickObjects::resize ( size_t  n)
inline

resize the length of the sequence.

MGPickObjects MGPickObjects::select ( const MGAbstractGels &  types) const

Select objects of input type from this. Function's return value is pickobjects selected. This will be unchanged.

MGPickObject MGPickObjects::select_1st_curve ( ) const

Select the 1st MGCurve from this. Function's return value is MGPickObject of MGCurve 1st encountered in this MGPickObject sequence. If this did not includes any MGCurve, null MGPickOjbect will be returned. This will be unchanged.

MGPickObject MGPickObjects::select_1st_fsurface ( ) const

Select the 1st MGFSurface from this. Function's return value is MGPickObject of MGFSurface 1st encountered in this MGPickObject sequence. If this did not includes any MGFSurface, null MGPickObject will be returned. This will be unchanged.

void MGPickObjects::select_curves ( MGPickObjects &  curves) const

Select all the MGCurve from this. MGPickObject of MGCurve encountered in this MGPickObject sequence will be appended in curves. This will be unchanged.

void MGPickObjects::select_fsurfaces ( MGPickObjects &  surfaces) const

Select all the MGFSurface from this. MGPickObjects of MGFSurface encountered in this MGPickObject sequence will be appended in surfaces. This will be unchanged.

void MGPickObjects::setDisplay ( ) const

Set no display for this vector of MGPickObject.

void MGPickObjects::setNoDisplay ( ) const

Set no display for this vector of MGPickObject.

int MGPickObjects::size ( ) const
inline

Obtain the pobj number defined.

メンバ詳解

container_type MGPickObjects::m_PickObjects
protected

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