Gui::SoFCSelectionContextEx Struct Reference
#include <SoFCSelectionContext.h>
Public Member Functions | |
| bool | applyColor (int idx, std::vector< uint32_t > &packedColors, bool &hasTransparency) |
| virtual SoFCSelectionContextBasePtr | copy () |
| bool | isSingleColor (uint32_t &color, bool &hasTransparency) |
| uint32_t | packColor (const App::Color &c, bool &hasTransparency) |
| bool | setColors (const std::map< std::string, App::Color > &colors, const std::string &element) |
Public Member Functions inherited from Gui::SoFCSelectionContext | |
| bool | checkGlobal (SoFCSelectionContextPtr ctx) |
| void | highlightAll () |
| bool | isHighlightAll () const |
| bool | isHighlighted () const |
| bool | isSelectAll () const |
| bool | isSelected () const |
| void | removeHighlight () |
| bool | removeIndex (int index) |
| void | selectAll () |
| virtual | ~SoFCSelectionContext () |
Public Member Functions inherited from Gui::SoFCSelectionContextBase | |
| virtual | ~SoFCSelectionContextBase () |
Public Attributes | |
| std::map< int, App::Color > | colors |
| float | trans0 = 0.0 |
Public Attributes inherited from Gui::SoFCSelectionContext | |
| std::shared_ptr< int > | counter |
| SbColor | highlightColor |
| int | highlightIndex = -1 |
| SbColor | selectionColor |
| std::set< int > | selectionIndex |
Static Public Attributes | |
| static MergeFunc | merge |
Static Public Attributes inherited from Gui::SoFCSelectionContext | |
| static MergeFunc | merge |
Additional Inherited Members | |
Public Types inherited from Gui::SoFCSelectionContextBase | |
| typedef int | MergeFunc(int status, SoFCSelectionContextBasePtr &output, SoFCSelectionContextBasePtr input, SoFCSelectionRoot *node) |
Member Function Documentation
◆ applyColor()
| bool SoFCSelectionContextEx::applyColor | ( | int | idx, |
| std::vector< uint32_t > & | packedColors, | ||
| bool & | hasTransparency | ||
| ) |
References colors, and packColor().
◆ copy()
|
virtual |
Reimplemented from Gui::SoFCSelectionContext.
◆ isSingleColor()
References colors, and packColor().
◆ packColor()
| uint32_t SoFCSelectionContextEx::packColor | ( | const App::Color & | c, |
| bool & | hasTransparency | ||
| ) |
References trans0.
Referenced by applyColor(), and isSingleColor().
◆ setColors()
| bool SoFCSelectionContextEx::setColors | ( | const std::map< std::string, App::Color > & | colors, |
| const std::string & | element | ||
| ) |
References colors.
Member Data Documentation
◆ colors
| std::map<int,App::Color> Gui::SoFCSelectionContextEx::colors |
◆ merge
|
static |
◆ trans0
| float Gui::SoFCSelectionContextEx::trans0 = 0.0 |
Referenced by packColor().
The documentation for this struct was generated from the following files:
- src/Gui/SoFCSelectionContext.h
- src/Gui/SoFCSelectionContext.cpp
Public Member Functions inherited from
1.8.17