|
| | DtAttributeGroupIndicator (DtAgentManagerInterface &sceneInterface, DtModelSetId modelSet, const std::string &normalTheme="AttributeGroupIndicatorTheme", const std::string &pinnedTheme="AttributeGroupPinnedTheme", int height=16, int width=16) |
| |
| virtual | ~DtAttributeGroupIndicator () |
| |
| virtual void | setIndicatorActive (bool active) |
| |
| virtual void | setColor (float r, float g, float b, float a=1.) |
| |
virtual
DtProjectedWidgetModelAgent * | model () |
| |
| virtual void | setEventsEnabled (bool enabled) |
| |
| virtual DtWidgetEventSignals & | eventSignals (DtWidgetSignaler &signaler) |
| |
| virtual void | setAttributeGroupVisible (bool visible) |
| |
| virtual void | setAttributeVisible (unsigned int index, bool visible) |
| |
| virtual void | setVisible (bool visible) |
| |
| virtual bool | isVisible () |
| |
| virtual void | setAttributeType (unsigned int index, const DtUnicode &name, AttributeType t) |
| |
| virtual void | setValueImage (unsigned int index, const std::string &imageFilepath) |
| |
| virtual void | setValueGraphPoint (unsigned int index, unsigned int n, float x, float y) |
| |
| virtual void | setValueBarValue (unsigned int index, float val) |
| |
| virtual void | setValueNumeric (unsigned int index, float val) |
| |
| virtual void | setMouseIn (bool mouseIn) |
| |
| virtual void | toggleLockState () |
| |
| Enumerator |
|---|
| AttributeTypeNull |
|
| AttributeTypeImage |
|
| AttributeTypeNumeric |
|
| AttributeTypeText |
|
| AttributeTypeGraph |
|
| AttributeTypeValueBar |
|
| makVrv::DtAttributeGroupIndicator::DtAttributeGroupIndicator |
( |
DtAgentManagerInterface & |
sceneInterface, |
|
|
DtModelSetId |
modelSet, |
|
|
const std::string & |
normalTheme = "AttributeGroupIndicatorTheme", |
|
|
const std::string & |
pinnedTheme = "AttributeGroupPinnedTheme", |
|
|
int |
height = 16, |
|
|
int |
width = 16 |
|
) |
| |
| virtual makVrv::DtAttributeGroupIndicator::~DtAttributeGroupIndicator |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtAttributeGroupIndicator::setIndicatorActive |
( |
bool |
active | ) |
|
|
virtual |
Sets the indicator state to active/inactive (i.e. pinned)
| virtual void makVrv::DtAttributeGroupIndicator::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a = 1. |
|
) |
| |
|
virtual |
Sets the color filter for the indicator.
| virtual DtProjectedWidgetModelAgent* makVrv::DtAttributeGroupIndicator::model |
( |
| ) |
|
|
virtual |
Get the model which can be added to the scene objects.
| virtual void makVrv::DtAttributeGroupIndicator::setEventsEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
Enable/disable event handling for the widget.
Get the widget agent for the indicator. If the signals.
| virtual void makVrv::DtAttributeGroupIndicator::setAttributeGroupVisible |
( |
bool |
visible | ) |
|
|
virtual |
Set the attribute group's visibility.
| virtual void makVrv::DtAttributeGroupIndicator::setAttributeVisible |
( |
unsigned int |
index, |
|
|
bool |
visible |
|
) |
| |
|
virtual |
Set the visibility of an attribute within the attribute group.
| virtual void makVrv::DtAttributeGroupIndicator::setVisible |
( |
bool |
visible | ) |
|
|
virtual |
Set the attribute group's visiblity; This is combined with setAttributeGroupVisible, so for example calling setAttributeGroupVisible(false) and setVisible(true) will leave the attribute group hidden.
| virtual bool makVrv::DtAttributeGroupIndicator::isVisible |
( |
| ) |
|
|
virtual |
Returns true IFF all criteria for the attribute group to be visible are satisfied.
Set the type of the attribute at index.
| virtual void makVrv::DtAttributeGroupIndicator::setValueImage |
( |
unsigned int |
index, |
|
|
const std::string & |
imageFilepath |
|
) |
| |
|
virtual |
Set the value of the index'th attribute to the image filename.
| virtual void makVrv::DtAttributeGroupIndicator::setValueGraphPoint |
( |
unsigned int |
index, |
|
|
unsigned int |
n, |
|
|
float |
x, |
|
|
float |
y |
|
) |
| |
|
virtual |
Set the line graph's nth x,y values for the index'th attribute.
| virtual void makVrv::DtAttributeGroupIndicator::setValueBarValue |
( |
unsigned int |
index, |
|
|
float |
val |
|
) |
| |
|
virtual |
Set the value bar value for the index'th attribute.
| virtual void makVrv::DtAttributeGroupIndicator::setValueNumeric |
( |
unsigned int |
index, |
|
|
float |
val |
|
) |
| |
|
virtual |
Set the numeric value for the index'th attribute.
| virtual void makVrv::DtAttributeGroupIndicator::setMouseIn |
( |
bool |
mouseIn | ) |
|
|
virtual |
Set whether or not the mouse is in the indicator.
| virtual void makVrv::DtAttributeGroupIndicator::toggleLockState |
( |
| ) |
|
|
virtual |
Toggle whether or not the attribute group is locked to visible.
| virtual void makVrv::DtAttributeGroupIndicator::updateVisibility |
( |
| ) |
|
|
protectedvirtual |
Update the visibility of the component widgets according to current visibility state.
| DtProjectedWidgetModelAgent* makVrv::DtAttributeGroupIndicator::myProjectedWidgetModel |
|
protected |
| DtWidgetAgent* makVrv::DtAttributeGroupIndicator::myWidgetAgent |
|
protected |
| DtAttributeGroupWidgetAgent* makVrv::DtAttributeGroupIndicator::myAttributeGroupWidgetAgent |
|
protected |
| std::string makVrv::DtAttributeGroupIndicator::myNormalTheme |
|
protected |
| std::string makVrv::DtAttributeGroupIndicator::myPinnedTheme |
|
protected |
| bool makVrv::DtAttributeGroupIndicator::mySelected |
|
protected |
| bool makVrv::DtAttributeGroupIndicator::myEventsEnabled |
|
protected |
| bool makVrv::DtAttributeGroupIndicator::myMouseIn |
|
protected |
| bool makVrv::DtAttributeGroupIndicator::myAttributeGroupLocked |
|
protected |
| bool makVrv::DtAttributeGroupIndicator::myVisible |
|
protected |
| bool makVrv::DtAttributeGroupIndicator::myGroupVisible |
|
protected |
| std::vector<bool> makVrv::DtAttributeGroupIndicator::myAttributeVisibility |
|
protected |
The documentation for this class was generated from the following file: