ImageGear for Java
ImGearPageDisplay Class Members
Fields  Methods 

The following tables list the members exposed by ImGearPageDisplay.

Public Constructors
 NameDescription
Public ConstructorImGearPageDisplay ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public FieldlutUpdatedOccurs when the lookup table is updated.  
Public FieldpageScrolledOccurs when a pages is scrolled.  
Public FieldpageZoomedOccurs when a page is zoomed.  
Top
Public Methods
 NameDescription
Public MethodcloneCopies ImGearPageDisplay class object.  
Public MethodconvertCoordinatesOverloaded. Translates coordinates between image and device coordinate systems (depending on the value of the "Mode" parameter). The array parameter can point to array of points or double points.  
Public MethoddrawDraws image on Java Graphics.  
Public MethoddrawExDraws image on Java Graphics.  
Public MethodgetAntiAliasingGets bitonal anti-aliasing settings.

Value returned is a reference to ImGearPageDisplay internal object. Accordingly, its modification affects parent ImGearPageDisplay.

IImGearAntiAlias interface. IImGearAntiAlias

 
Public MethodgetARTPageGets ImGearAnnotationPage object associated with this display page.

Type of this property is an abstract class that has no public members. If the application works with annotations, it shall cast ImGearPageDisplay.ARTPage to the actual class com.accusoft.imagegear.art.ImGearARTPage class, defined in adcd06f1-5bac-4262-9be4-ceb6dd3591cc package.

ImGearAnnotationPage class.

 
Public MethodgetBackgroundGets background drawing attributes.

Value returned is a reference to ImGearPageDisplay internal object. Accordingly, its modification affects parent ImGearPageDisplay.

IImGearBackground interface. IImGearBackground

 
Public MethodgetBrightnessGets the brightness level of the displayed image.

Double value.

Changing this property does not permanently affect the loaded image in memory.

The default value is 0.  
Public MethodgetChannelsGets the list of extra channels and their display options.

com.accusoft.imagegear.core.ImGearDisplayChannels class object. com.accusoft.imagegear.core.ImGearDisplayChannels

 
Public MethodgetColorAntiAliasingGets color anti-aliasing attributes.

IImGearAntiAlias interface. IImGearAntiAlias

 
Public MethodgetContrastReturns the contrast level of the displayed image.

Changing this property does not permanently affect the loaded image in memory.

The default value is 1.

 
Public MethodgetDICOMDisplaySettingsReturns the DICOM specific display contrast settings.

DICOM specification defines several contrast transformations, such as Modality LUT, VOI LUT, etc. When ImageGear loads a DICOM image, it initializes DICOMDisplaySettings field of com.accusoft.imagegear.core.ImGearRasterPage class with settings found in the file. During display, ImageGear checks for presence of DICOMDisplaySettings, and if it is present, uses it in display processing pipeline. This allows you to load and display DICOM images with proper contrast, without the need for extra application code. An com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface object can be attached to an com.accusoft.imagegear.core.ImGearRasterPage class object or to an ImGearPageDisplay class object. If ImGearPageDisplay.DICOMDisplaySettings is not null, ImageGear uses it for display. Otherwise, ImageGear checks ImGearRasterPage for presence of .DICOMDisplaySettings, and if it is not null, uses it for display. In other words, DICOMDisplaySettings attached to Display has higher priority than DICOMDisplaySettings attached to ImGearRasterPage. DICOMDisplaySettings can be also used if the image was not loaded from a DICOM file. It can be useful for non-medical images as well. This value affects grayscale images with bit depths from 2 to 16. Type of this value is an interface, which has a small set of members that are necessary for displaying the page with specific DICOM display settings. If the application needs to retrieve or modify DICOM Display Settings, it shall cast IImGearDICOMDisplaySettings interface to the actual class ImGearDICOMDisplaySettings class. The default value is null.

com.accusoft.imagegear.core.IImGearDICOMDisplaySettingscom.accusoft.imagegear.formats.dicom.ImGearDICOMDisplaySettings

 
Public MethodgetGammaGets the gamma level of the displayed image.

Double value.

Changing this property does not permanently affect the loaded image in memory.

The default value is 1.  
Public MethodgetLayoutGets image display layout settings.

Value returned is a reference to ImGearPageDisplay internal object. Accordingly, its modification affects parent ImGearPageDisplay.

IImGearLayout interface. IImGearLayout

 
Public MethodgetLUTReturns a display lookup table.

This property only supports com.accusoft.imagegear.core.ImGearRGBLUT class objects.

com.accusoft.imagegear.core.ImGearMultichannelLUT

 
Public MethodgetOrientationGets image orientation attributes.

Value returned is a reference to ImGearPageDisplay internal object. Accordingly, its modification affects parent ImGearPageDisplay.

com.accusoft.imagegear.core.ImGearOrientation structure. com.accusoft.imagegear.core.ImGearOrientation

 
Public MethodgetPageGets ImGearPage object associated with this display page.

Valid com.accusoft.imagegear.core.ImGearPage class object or null.

 
Public MethodgetResamplingGets re-sampling attributes.

IImGearResample interface object. IImGearResample

 
Public MethodgetScrollInfoReturns new instance of image scrolling attributes object.  
Public MethodgetZoomInfoReturns a new instance of an object containing current zoom settings.  
Public MethodhandleScrollHandles scrolling events.

Use this method only to handle scrolling events. To scroll image to particular position, use scrollTo method instead.

 
Public MethodinternalUseOnlyGets the ImGearPageDisplay.  
Public MethodprintDraws the image on Java Graphics for printing. Call to Print(hdc) is equal to call drawEx(null, hdc, true).  
Public MethodscrollToScrolls the image to the specified position and updates the scrollbars accordingly.

This method can be used whether the actual scrollbar controls are visible in the Form object or not. X_Pos and Y_Pos both should be in the valid ranges that can be retrieved with getScrollInfo method.

 
Public MethodsetARTPageSets ImGearAnnotationPage object associated with this display page.

Type of this property is an abstract class that has no public members. If the application works with annotations, it shall cast ImGearPageDisplay.ARTPage to the actual class com.accusoft.imagegear.art.ImGearARTPage class, defined in the com.accusoft.imagegear.art package.

ImGearAnnotationPage class.

 
Public MethodsetBrightnessSets the brightness level of the displayed image.

Double value.

Changing this property does not permanently affect the loaded image in memory.

The default value is 0.  
Public MethodsetContrastSets the contrast level of the displayed image.

Changing this property does not permanently affect the loaded image in memory.

The default value is 1.

 
Public MethodsetDICOMDisplaySettingsSets the DICOM specific display contrast settings.

DICOM specification defines several contrast transformations, such as Modality LUT, VOI LUT, etc. When ImageGear loads a DICOM image, it initializes DICOMDisplaySettings field of com.accusoft.imagegear.core.ImGearRasterPage class with settings found in the file. During display, ImageGear checks for presence of DICOMDisplaySettings, and if it is present, uses it in display processing pipeline. This allows you to load and display DICOM images with proper contrast, without the need for extra application code. An com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface object can be attached to an com.accusoft.imagegear.core.ImGearRasterPage class object or to an ImGearPageDisplay class object. If ImGearPageDisplay.DICOMDisplaySettings is not null, ImageGear uses it for display. Otherwise, ImageGear checks ImGearRasterPage for presence of .DICOMDisplaySettings, and if it is not null, uses it for display. In other words, DICOMDisplaySettings attached to Display has higher priority than DICOMDisplaySettings attached to ImGearRasterPage. DICOMDisplaySettings can be also used if the image was not loaded from a DICOM file. It can be useful for non-medical images as well. This value affects grayscale images with bit depths from 2 to 16. Type of this value is an interface, which has a small set of members that are necessary for displaying the page with specific DICOM display settings. If the application needs to retrieve or modify DICOM Display Settings, it shall cast IImGearDICOMDisplaySettings interface to the actual class ImGearDICOMDisplaySettings class. The default value is null.

com.accusoft.imagegear.core.IImGearDICOMDisplaySettingscom.accusoft.imagegear.formats.dicom.ImGearDICOMDisplaySettings

 
Public MethodsetGammaSets the gamma level of the displayed image.

Double value.

Changing this property does not permanently affect the loaded image in memory.

The default value is 1.  
Public MethodsetLUTSets a display lookup table.

This property only supports com.accusoft.imagegear.core.ImGearRGBLUT class objects.

com.accusoft.imagegear.core.ImGearMultichannelLUT

 
Public MethodsetPageSets ImGearPage object associated with this display page.

Valid com.accusoft.imagegear.core.ImGearPage class object or null.

 
Public MethodupdateLUTUpdates the ImGearPageDisplay lookup table.  
Public MethodupdateScrollFromUpdates image scroll attributes with new values.  
Public MethodupdateZoomFromUpdates image zoom attributes.  
Public MethodzoomToRectanglePerforms zooming to specified device rectangle and returns new zoom information.

This method calculates the zoom and scroll values, so that the specified rectangle is fitted to ClipRect and zoom image is fitted to the rectangle calculated. For both horizontal and vertical zoom attributes, it sets ImGearZoomComponentInfo. Fixed field to true, calculates and modifies ImGearZoomComponentInfo. Value field, the horizontal and vertical scroll positions, and returns new instance of ImGearZoomInfo object with new zoom attributes.

 
Top
Protected Methods
 NameDescription
Protected MethodonLutUpdatedOccurs when the lookup table is updated.  
Protected MethodonPageScrolledOccurs when a page is scrolled.  
Protected MethodonPageZoomedOccurs when a page is zoomed.  
Protected MethodonPropertyChangedCan be called by subclasses when their properties change. Subscribers, com.accusoft.imagegear.callbackinterfaces.IImGearPropertyChangedListener are subsequently notified.  
Top
See Also

Reference

ImGearPageDisplay Class
com.accusoft.imagegear.display Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback