MGCL V10
V10
MGCL V10
|
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.
types:
|
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).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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 |
|
inline |
|
inline |
const MGFSurface* MGPickObjects::get_object_to_tessellate | ( | ) | const |
iterator MGPickObjects::includes | ( | const MGPickObject & | pobj | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Set operation.
MGPickObjects& MGPickObjects::operator+= | ( | const MGPickObject & | gelp | ) |
|
inline |
|
inline |
|
inline |
MGPickObjects& MGPickObjects::operator= | ( | const MGPickObjects & | pobjs | ) |
|
inline |
virtual ~MGPickObjects();
Operator overload.
|
inline |
|
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 | ) |
|
inline |
|
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.
|
inline |
|
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.
|
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.
|
inline |
Obtain the pobj number defined.
|
protected |