Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MESH_DESELECT_CMD Class Reference

A COMMAND class for deselecting faces, edges and vertices on a mesh. More...

#include <mesh_select_cmd.H>

Inheritance diagram for MESH_DESELECT_CMD:

Inheritance graph
[legend]
Collaboration diagram for MESH_DESELECT_CMD:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void Own () const
void Free () const
int Lock ()
void Unlock ()
int Unique () const
Constructors
 MESH_DESELECT_CMD (Bvert *v)
 MESH_DESELECT_CMD (Bedge *e)
 MESH_DESELECT_CMD (Bface *f)
 MESH_DESELECT_CMD (const Bvert_list &vl)
 MESH_DESELECT_CMD (const Bedge_list &el)
 MESH_DESELECT_CMD (const Bface_list &fl)
 MESH_DESELECT_CMD (const Bvert_list &vl, const Bedge_list &el)
 MESH_DESELECT_CMD (const Bvert_list &vl, const Bface_list &fl)
 MESH_DESELECT_CMD (const Bedge_list &el, const Bface_list &fl)
 MESH_DESELECT_CMD (const Bvert_list &vl, const Bedge_list &el, const Bface_list &fl)

Protected Attributes

COMMANDptr _cmd
bool _is_done
 true if doit() was executed most recently.
bool _is_undone
 true if undoit() was executed most recently.

Detailed Description

A COMMAND class for deselecting faces, edges and vertices on a mesh.

Definition at line 78 of file mesh_select_cmd.H.


Constructor & Destructor Documentation

MESH_DESELECT_CMD::MESH_DESELECT_CMD Bvert v  )  [inline]
 

Definition at line 85 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD Bedge e  )  [inline]
 

Definition at line 87 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD Bface f  )  [inline]
 

Definition at line 89 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD const Bvert_list vl  )  [inline]
 

Definition at line 92 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD const Bedge_list el  )  [inline]
 

Definition at line 94 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD const Bface_list fl  )  [inline]
 

Definition at line 96 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD const Bvert_list vl,
const Bedge_list el
[inline]
 

Definition at line 99 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD const Bvert_list vl,
const Bface_list fl
[inline]
 

Definition at line 101 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD const Bedge_list el,
const Bface_list fl
[inline]
 

Definition at line 103 of file mesh_select_cmd.H.

MESH_DESELECT_CMD::MESH_DESELECT_CMD const Bvert_list vl,
const Bedge_list el,
const Bface_list fl
[inline]
 

Definition at line 106 of file mesh_select_cmd.H.


Member Function Documentation

bool UNDO_CMD::clear  )  [virtual, inherited]
 

After doit() and undoit() were called, restore things to the way they were before (may be a no-op for most derived classes).

Reimplemented from COMMAND.

Definition at line 53 of file command.C.

References UNDO_CMD::_cmd, and COMMAND::clear().

UNDO_CMD::DEFINE_RTTI_METHODS3 "UNDO_CMD"  ,
UNDO_CMD ,
COMMAND  ,
CCOMMAND
[inherited]
 

MESH_DESELECT_CMD::DEFINE_RTTI_METHODS3 "MESH_DESELECT_CMD"  ,
MESH_DESELECT_CMD ,
UNDO_CMD  ,
CCOMMAND
 

COMMAND::DEFINE_RTTI_METHODS_BASE "COMMAND"  ,
CCOMMAND
[inherited]
 

bool UNDO_CMD::doit  )  [virtual, inherited]
 

Execute the command.

Returns:
true on success. If the command is already done, this is a no-op and still returns true.

Reimplemented from COMMAND.

Definition at line 37 of file command.C.

References UNDO_CMD::_cmd, and COMMAND::doit().

void REFcounter::Free  )  const [inline, inherited]
 

Definition at line 76 of file ref.H.

References REFcounter::_mutex, REFcounter::_u, and REF_ME.

bool COMMAND::is_clear  )  const [inline, inherited]
 

Neither doit() nor undoit() have been called.

Definition at line 91 of file command.H.

References COMMAND::_is_done, and COMMAND::_is_undone.

bool COMMAND::is_done  )  const [inline, inherited]
 

doit() was called most recently.

Definition at line 94 of file command.H.

References COMMAND::_is_done.

Referenced by COMMAND::clear().

bool COMMAND::is_undone  )  const [inline, inherited]
 

undoit() was called most recently, after doit().

Definition at line 97 of file command.H.

References COMMAND::_is_undone.

int REFcounter::Lock  )  [inline, inherited]
 

Definition at line 105 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

Referenced by REFlock::REFlock().

void REFcounter::Own  )  const [inline, inherited]
 

Definition at line 59 of file ref.H.

References REFcounter::_mutex, REFcounter::_u, and REF_ME.

virtual void UNDO_CMD::print  )  const [inline, virtual, inherited]
 

Reimplemented from COMMAND.

Definition at line 170 of file command.H.

References UNDO_CMD::_cmd.

bool UNDO_CMD::undoit  )  [virtual, inherited]
 

Undo the command.

Returns:
true on success. If the command is already undone, this is a no-op and still returns true.

Reimplemented from COMMAND.

Definition at line 45 of file command.C.

References UNDO_CMD::_cmd, and COMMAND::undoit().

int REFcounter::Unique  )  const [inline, inherited]
 

Definition at line 115 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

void REFcounter::Unlock  )  [inline, inherited]
 

Definition at line 111 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

Referenced by REFlock::~REFlock().


Member Data Documentation

COMMANDptr UNDO_CMD::_cmd [protected, inherited]
 

Definition at line 180 of file command.H.

Referenced by UNDO_CMD::clear(), UNDO_CMD::doit(), UNDO_CMD::print(), and UNDO_CMD::undoit().

bool COMMAND::_is_done [protected, inherited]
 

true if doit() was executed most recently.

Definition at line 129 of file command.H.

Referenced by COMMAND::clear(), COMMAND::doit(), COMMAND::is_clear(), COMMAND::is_done(), and COMMAND::undoit().

bool COMMAND::_is_undone [protected, inherited]
 

true if undoit() was executed most recently.

Definition at line 130 of file command.H.

Referenced by COMMAND::clear(), COMMAND::doit(), COMMAND::is_clear(), COMMAND::is_undone(), and COMMAND::undoit().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:46:37 2006 for jot by  doxygen 1.4.4