⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 om3dconstants.java

📁 openmap java写的开源数字地图程序. 用applet实现,可以像google map 那样放大缩小地图.
💻 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 + -