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)
 
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::Colorcolors
 
float trans0 = 0.0
 
- Public Attributes inherited from Gui::SoFCSelectionContext
std::shared_ptr< intcounter
 
SbColor highlightColor
 
int highlightIndex = -1
 
SbColor selectionColor
 
std::set< intselectionIndex
 

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 SoFCSelectionContextBasePtr Gui::SoFCSelectionContextEx::copy ( void  )
virtual

Reimplemented from Gui::SoFCSelectionContext.

◆ isSingleColor()

bool SoFCSelectionContextEx::isSingleColor ( uint32_t &  color,
bool hasTransparency 
)

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

◆ merge

int SoFCSelectionContextEx::merge
static

◆ trans0

float Gui::SoFCSelectionContextEx::trans0 = 0.0

Referenced by packColor().


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