#include <HSelectionItem.h>
Public Member Functions | |
virtual bool | Equals (const HSelectionItem *i2) const |
virtual const char * | GetName () const |
virtual int const | GetRegion () const |
virtual bool | Highlight () |
HRegionSelItem (HShellObject const &oShellObj, HSelectionSet *selection_set, int incl_count, HC_KEY *incl_keys, int region) | |
virtual bool | UnHighlight () |
This implementation of HSmartSelItem class handles instanced regions. It also uses the 'conditional styling' mechanism to highlight the selection
HRegionSelItem::HRegionSelItem | ( | HShellObject const & | oShellObj, | |
HSelectionSet * | selection_set, | |||
int | incl_count, | |||
HC_KEY * | incl_keys, | |||
int | region | |||
) |
Constructs a HRegionSelItem object.
key | HOOPS key to selection item. | |
selection_set | A pointer to the HOOPS selection set which owns this selection item. | |
incl_count | Number of include keys in the selection item segment path. | |
incl_keys | An array of HOOPS keys of all the include keys in the selection item path. |
virtual bool HRegionSelItem::Equals | ( | const HSelectionItem * | i2 | ) | const [virtual] |
i2 | An HRegionSelItem object to be compared with this object. |
Reimplemented from HSmartSelItem.
virtual const char* HRegionSelItem::GetName | ( | ) | const [inline, virtual] |
Reimplemented from HSmartSelItem.
virtual int const HRegionSelItem::GetRegion | ( | ) | const [inline, virtual] |
virtual bool HRegionSelItem::Highlight | ( | ) | [virtual] |
Call this function to highlight the selection region.
Reimplemented from HSmartSelItem.
virtual bool HRegionSelItem::UnHighlight | ( | ) | [virtual] |
Call this function to unhighlight the selection item.
Reimplemented from HSmartSelItem.