|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A marker interface to indicate that an item of geometry contains height map information that will be useful for terrain following and collision detection.
This implementation is used to mark any geometry items that exists in the scene The interface is used by the navigation code to help simplify the calculations needed to follow terrain. Picking is performed on the scene graph and checks are made for user data being available. If it is, it will ignore any other detail intersection calcs an immediately ask this for resolution of the height for the given X,Z location (it will have previously transformed into the correct coordinate systems so you don't need to worry about that). You return it the height (which may have to be interpolated from your underlying data) at that position.
| Methods inherited from interface org.j3d.ui.navigation.HeightDataSource |
getHeight |
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||