PartGui::ShapeSelection Class Reference

Public Types

enum  Type { VERTEX , EDGE , FACE , ALL }
 

Public Member Functions

bool allow (App::Document *, App::DocumentObject *obj, const char *sSubName)
 
void setMode (Type mode)
 
 ShapeSelection ()
 
- Public Member Functions inherited from Gui::SelectionFilterGate
virtual bool allow (App::Document *, App::DocumentObject *, const char *)
 
 SelectionFilterGate (const char *filter)
 construct with the filter string More...
 
 SelectionFilterGate (SelectionFilter *filter)
 
 ~SelectionFilterGate ()
 
- Public Member Functions inherited from Gui::SelectionGate
virtual bool allow (App::Document *, App::DocumentObject *, const char *)=0
 
virtual ~SelectionGate ()
 

Public Attributes

Type mode
 
- Public Attributes inherited from Gui::SelectionGate
std::string notAllowedReason
 notAllowedReason is a string that sets the message to be displayed in statusbar for cluing the user on why is the selection not allowed. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Gui::SelectionFilterGate
 SelectionFilterGate ()
 
- Static Protected Member Functions inherited from Gui::SelectionFilterGate
static SelectionFilternullPointer ()
 
static const char * nullString ()
 
- Protected Attributes inherited from Gui::SelectionFilterGate
SelectionFilterFilter
 

Member Enumeration Documentation

◆ Type

Enumerator
VERTEX 
EDGE 
FACE 
ALL 

Constructor & Destructor Documentation

◆ ShapeSelection()

PartGui::ShapeSelection::ShapeSelection ( )

Member Function Documentation

◆ allow()

bool PartGui::ShapeSelection::allow ( App::Document ,
App::DocumentObject obj,
const char *  sSubName 
)
virtual

◆ setMode()

void PartGui::ShapeSelection::setMode ( Type  mode)

References mode.

Member Data Documentation

◆ mode


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