int FeatureAddToWidget ( tvBase *threeD, int id )
Add an ID to the tvBase's list of IDs
Documentation
Add an ID to the tvBase's list of IDs. This list is used to
specify which subset of all loaded features a particular tvBase
should display. If the specified ID already exists in the widget's
ID list, then no operation is performed.
The function will return a value of TRUE if the ID was added to
the widget's list, or if it was already present. A FALSE result
means that the list does not contain the ID upon completion of
this function.
If an invalid ID is passed (<0) then no operation is performed
and a value of FALSE is returned.
- Returns:
- TRUE if all went well, FALSE if ID not added to list
- Parameters:
- threed - handle to rendering state.
id - ID to be added.
- Author:
- Martin Reddy
- Version:
- 9 April, 1999
TerraVision API Home Page