Class Viewer.Presentation.JavaTransformationConverter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Viewer.Presentation.JavaTransformationConverter

Object
   |
   +----TransformationConverter
           |
           +----Viewer.Presentation.JavaTransformationConverter

public class JavaTransformationConverter
extends TransformationConverter
This class contains and gets the current image pixels form the C++ interface. The visible part of the image and the shutter can be drawn in a BufferedImage. The visible part of the image will be zoomed with java functions on the specified size.

Author:
Klaus Kleber.
Since:
30.04.1999
See Also:
TransformationConverter

Constructor Index

 o Viewer.Presentation.JavaTransformationConverter(PresentationStateGraphicsHandler)
Constructs an new Object whit an copy of the image data.

Method Index

 o draw(BufferedImage, boolean)
Gets the pixel data form the c++ part if newPixels = ture, draws the image into the specified BufferedImage which will be drawn on the screenand calculates the transformations for the Annotations, Shutters, Overlays usw.
 o getNewPixels()
Gets the image pixel data from the C++ part of the code.

Constructors

 o JavaTransformationConverter
public JavaTransformationConverter(PresentationStateGraphicsHandler presentationStateGraphicsHandler)
Constructs an new Object whit an copy of the image data.

Parameters:
presentationStateGraphicsHandler - Contains the current PresentationStateGraphicsHandler
Since:
30.04.1999

Methods

 o draw
public void draw(BufferedImage bufferedImage,
                 boolean newPixels)
Gets the pixel data form the c++ part if newPixels = ture, draws the image into the specified BufferedImage which will be drawn on the screenand calculates the transformations for the Annotations, Shutters, Overlays usw. The Shutter will be cilpped to the BufferedImage.

Parameters:
bufferedImage - Contains the BufferedImage which will be drawn on the screen.
newPixels - true if the pixel should be request form the c++ part.
Overrides:
draw in class TransformationConverter
Since:
30.04.1999
 o getNewPixels
public void getNewPixels()
Gets the image pixel data from the C++ part of the code.

Since:
30.04.1999

All Packages  Class Hierarchy  This Package  Previous  Next  Index