The options bar for the Edit Vertices tool. More...
#include "ToolOptionsBars.hpp"
Public Types | |
enum | EditModeT { EditVertices, EditEdges, EditBoth } |
Public Member Functions | |
OptionsBar_EditVerticesToolT (wxWindow *Parent, ToolMorphT &ToolEditVertices) | |
The constructor. More... | |
EditModeT | GetEditMode () const |
Returns the current edit mode. More... | |
bool | IsEditingVertices () const |
Returns true if the current edit mode is EditVertices or EditBoth. More... | |
bool | IsEditingEdges () const |
Returns true if the current edit mode is EditEdges or EditBoth. More... | |
void | CycleEditMode () |
Switches to the next edit mode, and wraps if necessary. More... | |
The options bar for the Edit Vertices tool.
OptionsBar_EditVerticesToolT::OptionsBar_EditVerticesToolT | ( | wxWindow * | Parent, |
ToolMorphT & | ToolEditVertices | ||
) |
The constructor.
void OptionsBar_EditVerticesToolT::CycleEditMode | ( | ) |
Switches to the next edit mode, and wraps if necessary.
This also calls the NoteEditModeChanged() method of the m_ToolEditVertices (as if the user had changed the edit mode manually).
OptionsBar_EditVerticesToolT::EditModeT OptionsBar_EditVerticesToolT::GetEditMode | ( | ) | const |
Returns the current edit mode.
bool OptionsBar_EditVerticesToolT::IsEditingEdges | ( | ) | const |
Returns true if the current edit mode is EditEdges or EditBoth.
bool OptionsBar_EditVerticesToolT::IsEditingVertices | ( | ) | const |
Returns true if the current edit mode is EditVertices or EditBoth.