src.gov.nasa.worldwind.render.airspaces.AirspaceAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of worldwindx Show documentation
Show all versions of worldwindx Show documentation
World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.
/*
* 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);
}