Class for items legend editors. More...
#include <MeshViz/graph/editors/PoXtItemLegendEditor.h>
Public Types | |
enum | ItemLegendMask { NO_ITEM_MASK = 0x00000000, START = 0x00000001, END = 0x00000002, BOX_VISIBILITY = 0x00000004, LINE_VISIBILITY = 0x00000008, MARK_VISIBILITY = 0x00000010, ALL_ITEM_MASK } |
Public Member Functions | |
PoXtItemLegendEditor (SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE) | |
virtual | ~PoXtItemLegendEditor () |
void | setItemLegendFilter (unsigned long inclusionMask, unsigned long exclusionMask) |
void | getItemLegendFilter (unsigned long &inclusionMask, unsigned long &exclusionMask) const |
PoXtItemLegendEditor::PoXtItemLegendEditor | ( | SoWidget | parent = NULL , |
|
const char * | name = NULL , |
|||
SbBool | buildInsideParent = TRUE | |||
) |
Constructor.
virtual PoXtItemLegendEditor::~PoXtItemLegendEditor | ( | ) | [virtual] |
Destructor.
void PoXtItemLegendEditor::getItemLegendFilter | ( | unsigned long & | inclusionMask, | |
unsigned long & | exclusionMask | |||
) | const |
Gets editing filters defining which item legend attributes will be displayed in the editor.
void PoXtItemLegendEditor::setItemLegendFilter | ( | unsigned long | inclusionMask, | |
unsigned long | exclusionMask | |||
) |
Sets editing filters defining which item legend attributes will be displayed in the editor.
(By default inclusionMask = ALL_ITEM_MASK and exclusionMask = NO_ITEM_MASK).