#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) |
virtual SoFCSelectionContextBasePtr | copy () |
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) |
bool SoFCSelectionContextEx::applyColor | ( | int | idx, |
std::vector< uint32_t > & | packedColors, | ||
bool & | hasTransparency | ||
) |
References colors, and packColor().
|
virtual |
Reimplemented from Gui::SoFCSelectionContext.
References colors, and packColor().
uint32_t SoFCSelectionContextEx::packColor | ( | const App::Color & | c, |
bool & | hasTransparency | ||
) |
References trans0.
Referenced by applyColor(), and isSingleColor().
bool SoFCSelectionContextEx::setColors | ( | const std::map< std::string, App::Color > & | colors, |
const std::string & | element | ||
) |
References colors.
std::map<int,App::Color> Gui::SoFCSelectionContextEx::colors |
|
static |
float Gui::SoFCSelectionContextEx::trans0 = 0.0 |
Referenced by packColor().