Class ElevationPlane

    • Constructor Detail

      • ElevationPlane

        public ElevationPlane()
    • Method Detail

      • getImageSource

        public java.lang.Object getImageSource()
        Get the source for the fill pattern image. Can be a file path to a local image or a BufferedImage reference.
        Returns:
        the source for the fill pattern image - can be null.
      • setImageSource

        public void setImageSource​(java.lang.Object imageSource)
        Set the source for the fill pattern image. Can be a file path to a local image or a BufferedImage reference.
        Parameters:
        imageSource - the source for the fill pattern image - can be null.
      • getImageSize

        public double getImageSize()
        Get the real world image size in meter. The image source is repeated so that one tile covers this distance.
        Returns:
        the real world image size in meter.
      • setImageSize

        public void setImageSize​(double sizeInMeter)
        Set the real world image size in meter. The image source will be repeated so that one tile will covers this distance.
        Parameters:
        sizeInMeter - the real world image size in meter.
      • doRenderGeometry

        protected void doRenderGeometry​(DrawContext dc,
                                        java.lang.String drawStyle,
                                        java.util.List<LatLon> locations,
                                        java.util.List<java.lang.Boolean> edgeFlags)
        Overrides:
        doRenderGeometry in class Polygon
      • applyTextureState

        protected void applyTextureState​(DrawContext dc)
      • unApplyTextureState

        protected void unApplyTextureState​(DrawContext dc)
      • computePlanes

        protected double[][] computePlanes​(DrawContext dc)
      • getTexture

        protected WWTexture getTexture()