?? om3dconstants.java
字號:
// **********************************************************************//// <copyright>//// BBN Technologies// 10 Moulton Street// Cambridge, MA 02138// (617) 873-8000//// Copyright (C) BBNT Solutions LLC. All rights reserved.//// </copyright>// **********************************************************************//// $Source: /cvs/distapps/openmap/src/j3d/com/bbn/openmap/tools/j3d/OM3DConstants.java,v $// $RCSfile: OM3DConstants.java,v $// $Revision: 1.2.2.2 $// $Date: 2005/08/11 21:03:14 $// $Author: dietrick $//// **********************************************************************package com.bbn.openmap.tools.j3d;import javax.vecmath.*;import javax.media.j3d.*;/** * An interface that any class can implement to get access to common * constant values. * * @author dietrick */public interface OM3DConstants { public final static Point3d ORIGIN = new Point3d(0, 0, 0); public final static double BACK_CLIP_DISTANCE = 10000.0; public final static BoundingSphere LIGHT_BOUNDS = new BoundingSphere(ORIGIN, BACK_CLIP_DISTANCE); /** * Standard light color. */ public final static Color3f White = new Color3f(1, 1, 1); /** * Default bounds dimension. */ public final static double DEFAULT_BOUNDS_DIMENSION = 1000.0; /** * Default size of the window edge. */ public final static int DEFAULT_DIMENSION = 400; /** * Mask for Content. To tell them to look for any layers that are * OMGraphicHandlers, and add those layers' objects to the scene. */ public final static int CONTENT_MASK_OMGRAPHICHANDLERLAYERS = 1 << 0; /** * Mask for Content. Tells the Content to look for * OM3DGraphicHandlers in the MapHandler. Any OM3dGraphicHandler * is given a reference to the Content, and the OM3DGraphicHandler * can call methods on the content to add graphics and shapes to * the scene. */ public final static int CONTENT_MASK_OM3DGRAPHICHANDLERS = 1 << 1; /** * Mask for Content. To tell them to take all the standard OpenMap * layers and incorporate them into an image. */ public final static int CONTENT_MASK_IMAGEMAP = 1 << 2; public final static int CONTENT_MASK_ELEVATIONMAP = 1 << 3;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -