All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.worldwind.symbology.milstd2525.MilStd2525Constants Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2012 United States Government as represented by the Administrator of the
 * National Aeronautics and Space Administration.
 * All Rights Reserved.
 */

package gov.nasa.worldwind.symbology.milstd2525;

import gov.nasa.worldwind.render.Material;

import java.awt.*;

/**
 * Defines constants used by the MIL-STD-2525 symbology classes.
 *
 * @author dcollins
 * @version $Id: MilStd2525Constants.java 1171 2013-02-11 21:45:02Z dcollins $
 */
public interface MilStd2525Constants
{
    /**
     * The default location that MIL-STD-2525 tactical symbols and tactical point graphics retrieve their icons from:
     * https://worldwind.arc.nasa.gov/milstd2525c/rev1/
     */
    String DEFAULT_ICON_RETRIEVER_PATH = "https://worldwind.arc.nasa.gov/milstd2525c/rev1/";

    // Color RGB values from MIL-STD-2525C Table XIII, pg. 44.
    /** Default material used to color tactical graphics that represent friendly entities. */
    Material MATERIAL_FRIEND = Material.BLACK;
    /** Default material used to color tactical graphics that represent hostile entities. */
    Material MATERIAL_HOSTILE = new Material(new Color(255, 48, 49));
    /** Default material used to color tactical graphics that represent neutral entities. */
    Material MATERIAL_NEUTRAL = new Material(new Color(0, 226, 0));
    /** Default material used to color tactical graphics that represent unknown entities. */
    Material MATERIAL_UNKNOWN = new Material(new Color(255, 255, 0));
    /** Default material used to color tactical graphics that represent obstacles. */
    Material MATERIAL_OBSTACLE = new Material(new Color(0, 226, 0));
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy