SmallChange
1.0.0
A collection of extensions to Coin3D
|
The SmTooltip class is used to set tooltips for shapes. More...
#include <SmTooltip.h>
Public Member Functions | |
SmTooltip (void) | |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoMFString | description |
Protected Member Functions | |
virtual | ~SmTooltip () |
The SmTooltip class is used to set tooltips for shapes.
You'd normally insert a SmTooltipKit node in your scene graph and set its autoTrigger field to TRUE when using this node.
Below is an example scene graph that shows how to use this node:
#Inventor V2.1 ascii Separator { SmTooltip { description "Cube" } Cube { } Translation { translation 4 0 0 } SmTooltip { description "Sphere" } Sphere { } Translation { translation 4 0 0 } SmTooltip { description "Cone" } Cone { } Translation { translation 4 0 0 } SmTooltip { description "Cylinder" } Cylinder { } SmTooltipKit { autoTrigger TRUE } }
FIXME: more doc
SmTooltip::SmTooltip | ( | void | ) |
Constructor.
|
protectedvirtual |
Destructor.
SoMFString SmTooltip::description |
The tooltip string.