Class DialogAnnotation.BusyImage

    • Field Detail

      • angle

        protected Angle angle
      • increment

        protected Angle increment
      • lastFrameTime

        protected long lastFrameTime
    • Constructor Detail

      • BusyImage

        public BusyImage​(java.lang.Object imageSource)
    • Method Detail

      • getAngle

        public Angle getAngle()
      • setAngle

        public void setAngle​(Angle angle)
      • getIncrement

        public Angle getIncrement()
      • setIncrement

        public void setIncrement​(Angle angle)
      • transformBackgroundImageCoordsToAnnotationCoords

        protected void transformBackgroundImageCoordsToAnnotationCoords​(DrawContext dc,
                                                                        int width,
                                                                        int height,
                                                                        WWTexture texture)
        Description copied from class: AbstractAnnotation
        Transforms texture coordinates from Annotation background image coordinates to Annotation geometry coordinates (in screen pixels), and applies the Annotation's image scale and image offset attributes. In Annotation background image coordinates (0, 0) maps to the image's upper left corner, and (imageWidth, imageHeight) maps to the image's lower right corner. In Annotation geometry coordinates (0, 0) maps to the Annotation geometry's lower left corner (ignoring any leader geometry), and (width, height) maps to the Annotation's upper right corner in window coordinates (screen pixels). This assumes the current OGL matrix mode is GL_TEXTURE.
        Overrides:
        transformBackgroundImageCoordsToAnnotationCoords in class ImageAnnotation
        Parameters:
        dc - the DrawContext to receive the texture coordinate transform.
        width - the Annotation's width, in window coordinates (screen pixels).
        height - the Annotation's height, in window coordinates (screen pixels).
        texture - the texture to transform from Annotation background image coordinates to Annotation geometry coordinates.
      • updateState

        protected void updateState​(DrawContext dc)