jhu.htm3D
Class htm3DViewer
java.lang.Object
|
+--jhu.htm3D.htm3DViewer
- public class htm3DViewer
- extends java.lang.Object
The htm3DViewer is an executable that can be run by
java jhu.htm3D.htm3DViewer [-v]
It visualizes a few example queries with the htmIndex
using Java3D.
If the -v option is specified, htm3DViewer produces verbose output.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domain_
static SpatialDomain domain_
index_
static SpatialIndex index_
full_
static java.util.BitSet full_
partial_
static java.util.BitSet partial_
build_
static transient int build_
max_
static transient int max_
showTriangles_
static boolean showTriangles_
sphereColor
static final javax.vecmath.Color3f sphereColor
black
static final javax.vecmath.Color3f black
partialColor
static final javax.vecmath.Color3f partialColor
fullColor
static final javax.vecmath.Color3f fullColor
vec
static SpatialVector vec
distance
static double distance
verbose_
static boolean verbose_
canvas3D_
static htm3DCapturingCanvas3D canvas3D_
triangles_
static javax.media.j3d.Shape3D triangles_
triangleGroup_
static javax.media.j3d.BranchGroup triangleGroup_
scene_
static javax.media.j3d.BranchGroup scene_
visBranch_
static javax.media.j3d.Group visBranch_
axisGroup_
static javax.media.j3d.BranchGroup axisGroup_
sphereGroup_
static javax.media.j3d.BranchGroup sphereGroup_
gridGroup_
static javax.media.j3d.BranchGroup gridGroup_
domainGroup_
static javax.media.j3d.BranchGroup domainGroup_
equatorGroup_
static javax.media.j3d.BranchGroup equatorGroup_
htm3DViewer
public htm3DViewer()
setWireFrame
public static void setWireFrame(boolean on)
showAxes
public static void showAxes(boolean on)
showDomain
public static void showDomain(boolean on)
showSphere
public static void showSphere(boolean on)
showGrid
public static void showGrid(boolean on)
showEquator
public static void showEquator(boolean on)
showTriangle
public static void showTriangle(boolean on)
captureImage
public static void captureImage()
updateIndexDepth
public static void updateIndexDepth(int depth)
loadTestDomain
public static void loadTestDomain(java.lang.String idString)
- Define the test cases
loadDomain
public static void loadDomain(java.lang.String filename)
updateTriangles
public static void updateTriangles()
createSceneGraph
public static javax.media.j3d.BranchGroup createSceneGraph()
- Create root branch group. This is the only branch
that is attached to the SimpleUniverse
main
public static void main(java.lang.String[] args)