#include <mesh_select_cmd.H>
Inheritance diagram for MESH_SELECT_CMD:
Public Member Functions | |
void | Own () const |
void | Free () const |
int | Lock () |
void | Unlock () |
int | Unique () const |
Diagnostic | |
virtual void | print () const |
Command Virtual Methods | |
virtual bool | clear () |
After doit() and undoit() were called, restore things to the way they were before (may be a no-op for most derived classes). | |
Constructors | |
MESH_SELECT_CMD (Bvert *v) | |
MESH_SELECT_CMD (Bedge *e) | |
MESH_SELECT_CMD (Bface *f) | |
MESH_SELECT_CMD (const Bvert_list &vl) | |
MESH_SELECT_CMD (const Bedge_list &el) | |
MESH_SELECT_CMD (const Bface_list &fl) | |
MESH_SELECT_CMD (const Bvert_list &vl, const Bedge_list &el) | |
MESH_SELECT_CMD (const Bvert_list &vl, const Bface_list &fl) | |
MESH_SELECT_CMD (const Bedge_list &el, const Bface_list &fl) | |
MESH_SELECT_CMD (const Bvert_list &vl, const Bedge_list &el, const Bface_list &fl) | |
Run-Time Type Id | |
DEFINE_RTTI_METHODS3 ("MESH_SELECT_CMD", MESH_SELECT_CMD *, COMMAND, CCOMMAND *) | |
Command Virtual Methods | |
virtual bool | doit () |
Execute the command. | |
virtual bool | undoit () |
Undo the command. | |
Command Virtual Methods | |
virtual bool | clear () |
After doit() and undoit() were called, restore things to the way they were before (may be a no-op for most derived classes). | |
Diagnostic | |
virtual void | print () const |
Protected Attributes | |
bool | _is_done |
true if doit() was executed most recently. | |
bool | _is_undone |
true if undoit() was executed most recently. | |
Private Attributes | |
Bvert_list | vlist |
Bedge_list | elist |
Bface_list | flist |
Definition at line 24 of file mesh_select_cmd.H.
|
Definition at line 17 of file mesh_select_cmd.C. References vlist. |
|
Definition at line 24 of file mesh_select_cmd.C. References elist. |
|
Definition at line 31 of file mesh_select_cmd.C. References flist. |
|
Definition at line 38 of file mesh_select_cmd.C. |
|
Definition at line 44 of file mesh_select_cmd.C. |
|
Definition at line 50 of file mesh_select_cmd.C. |
|
Definition at line 56 of file mesh_select_cmd.C. |
|
Definition at line 62 of file mesh_select_cmd.C. |
|
Definition at line 68 of file mesh_select_cmd.C. |
|
Definition at line 74 of file mesh_select_cmd.C. |
|
After doit() and undoit() were called, restore things to the way they were before (may be a no-op for most derived classes).
Reimplemented in UNDO_CMD, and MULTI_CMD. Definition at line 24 of file command.C. References COMMAND::_is_done, COMMAND::_is_undone, and COMMAND::is_done(). Referenced by MULTI_CMD::clear(), and UNDO_CMD::clear(). |
|
|
|
|
|
Execute the command.
Reimplemented from COMMAND. Definition at line 83 of file mesh_select_cmd.C. References COMMAND::doit(), elist, ARRAY< T >::empty(), flist, MeshGlobal::select(), and vlist. |
|
Definition at line 76 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
Neither doit() nor undoit() have been called.
Definition at line 91 of file command.H. References COMMAND::_is_done, and COMMAND::_is_undone. |
|
doit() was called most recently.
Definition at line 94 of file command.H. References COMMAND::_is_done. Referenced by COMMAND::clear(). |
|
undoit() was called most recently, after doit().
Definition at line 97 of file command.H. References COMMAND::_is_undone. |
|
Definition at line 105 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::REFlock(). |
|
Definition at line 59 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
Reimplemented in UNDO_CMD, DISPLAY_CMD, and MULTI_CMD. |
|
Undo the command.
Reimplemented from COMMAND. Definition at line 100 of file mesh_select_cmd.C. References MeshGlobal::deselect(), elist, ARRAY< T >::empty(), flist, COMMAND::undoit(), and vlist. |
|
Definition at line 115 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. |
|
Definition at line 111 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::~REFlock(). |
|
Definition at line 129 of file command.H. Referenced by COMMAND::clear(), COMMAND::doit(), COMMAND::is_clear(), COMMAND::is_done(), and COMMAND::undoit(). |
|
Definition at line 130 of file command.H. Referenced by COMMAND::clear(), COMMAND::doit(), COMMAND::is_clear(), COMMAND::is_undone(), and COMMAND::undoit(). |
|
Definition at line 67 of file mesh_select_cmd.H. Referenced by doit(), MESH_SELECT_CMD(), and undoit(). |
|
Definition at line 68 of file mesh_select_cmd.H. Referenced by doit(), MESH_SELECT_CMD(), and undoit(). |
|
Definition at line 66 of file mesh_select_cmd.H. Referenced by doit(), MESH_SELECT_CMD(), and undoit(). |