j3d.org Code

org.j3d.ui.navigation
Interface HeightMapGeometry

All Superinterfaces:
HeightDataSource
All Known Implementing Classes:
Landscape, ROAMSplitMergeLandscape

public interface HeightMapGeometry
extends HeightDataSource

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.

Version:
$Revision: 1.2 $
Author:
Justin Couch

Method Summary
 
Methods inherited from interface org.j3d.ui.navigation.HeightDataSource
getHeight
 


j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org