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

src.gov.nasa.worldwind.render.airspaces.AirspaceAttributes Maven / Gradle / Ivy

Go to download

World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.

There is a newer version: 2.0.0-986
Show 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.render.airspaces;

import gov.nasa.worldwind.render.*;
import gov.nasa.worldwind.util.RestorableSupport;

/**
 * @author dcollins
 * @version $Id: AirspaceAttributes.java 1171 2013-02-11 21:45:02Z dcollins $
 */
public interface AirspaceAttributes
{
    boolean isDrawInterior();

    void setDrawInterior(boolean state);

    boolean isDrawOutline();

    void setDrawOutline(boolean state);

    Material getMaterial();

    void setMaterial(Material material);

    Material getOutlineMaterial();

    void setOutlineMaterial(Material material);

    double getOpacity();

    void setOpacity(double opacity);

    double getOutlineOpacity();

    void setOutlineOpacity(double opacity);

    double getOutlineWidth();

    void setOutlineWidth(double width);

    void applyInterior(DrawContext dc, boolean enableMaterial);
    
    void applyOutline(DrawContext dc, boolean enableMaterial);

    void getRestorableState(RestorableSupport rs, RestorableSupport.StateObject so);

    void restoreState(RestorableSupport rs, RestorableSupport.StateObject so);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy