Gui::SoFCSelectionCounter Class Reference
#include <SoFCSelectionContext.h>
Public Member Functions | |
| void | checkAction (SoHighlightElementAction *hlaction) |
| void | checkAction (SoSelectionElementAction *selaction, SoFCSelectionContextPtr ctx) |
| bool | checkRenderCache (SoState *state) |
| SoFCSelectionCounter () | |
| virtual | ~SoFCSelectionCounter () |
Protected Attributes | |
| std::shared_ptr< int > | counter |
| bool | hasPreselection |
| bool | hasSelection |
Static Protected Attributes | |
| static int | cachingMode |
Constructor & Destructor Documentation
◆ SoFCSelectionCounter()
| SoFCSelectionCounter::SoFCSelectionCounter | ( | ) |
◆ ~SoFCSelectionCounter()
|
virtual |
Member Function Documentation
◆ checkAction() [1/2]
| void SoFCSelectionCounter::checkAction | ( | SoHighlightElementAction * | hlaction | ) |
References hasPreselection, and Gui::SoHighlightElementAction::isHighlighted().
Referenced by PartGui::SoBrepEdgeSet::doAction(), PartGui::SoBrepPointSet::doAction(), and PartGui::SoBrepFaceSet::doAction().
◆ checkAction() [2/2]
| void SoFCSelectionCounter::checkAction | ( | SoSelectionElementAction * | selaction, |
| SoFCSelectionContextPtr | ctx | ||
| ) |
◆ checkRenderCache()
| bool SoFCSelectionCounter::checkRenderCache | ( | SoState * | state | ) |
References Gui::SoFCSeparator::getCacheMode(), hasPreselection, hasSelection, and Gui::Selection().
Referenced by PartGui::SoBrepEdgeSet::GLRender(), PartGui::SoBrepPointSet::GLRender(), and PartGui::SoBrepFaceSet::GLRender().
Member Data Documentation
◆ cachingMode
|
staticprotected |
◆ counter
|
protected |
Referenced by checkAction().
◆ hasPreselection
|
protected |
Referenced by checkAction(), and checkRenderCache().
◆ hasSelection
|
protected |
Referenced by checkAction(), and checkRenderCache().
The documentation for this class was generated from the following files:
- src/Gui/SoFCSelectionContext.h
- src/Gui/SoFCSelectionContext.cpp
1.8.17