Inheritance diagram for osgSim::ScalarBar:
In summary, the main configurables on the ScalarBar are:
The other configurables should be self-explanatory.
|
ScalarBar orientation specification. |
|
Default constructor. |
|
Construct a ScalarBar with the supplied parameters.
|
|
Copy constructor |
|
|
|
|
|
Get the aspect ration (y/x) for the displayed bar. |
|
Get the number of distinct colours on the ScalarBar. |
|
Get the number of labels displayed along the ScalarBar. |
|
Get the orientation of the ScalarBar.
|
|
Get the position of scalar bar. |
|
Get the ScalarPrinter object |
|
Get the ScalarsToColors mapping object from the ScalarBar. |
|
Get the TextProperties for the labels & title.
|
|
Get the title for the ScalarBar. |
|
Get the width of the scalar bar. |
|
|
|
Set the aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. |
|
Set the number of distinct colours on the ScalarBar. |
|
Set the number of labels to display along the ScalarBar. There will be one label at each end point, and evenly distributed labels in between. |
|
Set the orientation of the ScalarBar.
|
|
Set the position of scalar bar's lower left corner. |
|
Set a ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish.
|
|
Set the ScalarsToColors mapping object for the ScalarBar. |
|
Set the TextProperties for the labels & title.
|
|
Set the title for the ScalarBar, set "" for no title. |
|
Set the width of the scalar bar. |
|
force update the drawables used to render the scalar bar. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|