Cafu Engine
OptionsBar_EditVerticesToolT Class Reference

The options bar for the Edit Vertices tool. More...

#include "ToolOptionsBars.hpp"

Inheritance diagram for OptionsBar_EditVerticesToolT:

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...
 

Detailed Description

The options bar for the Edit Vertices tool.

Constructor & Destructor Documentation

OptionsBar_EditVerticesToolT::OptionsBar_EditVerticesToolT ( wxWindow *  Parent,
ToolMorphT ToolEditVertices 
)

The constructor.

Member Function Documentation

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.


The documentation for this class was generated from the following files: