ImageGear for Java
IImGearPageDisplay Interface Members
Methods 

The following tables list the members exposed by IImGearPageDisplay.

Public Methods
 NameDescription
 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.  
 MethodgetAntiAliasingGets color anti-aliasing attributes.

IImGearAntiAlias interface. IImGearAntiAlias

 
 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 will cast ImGearPageDisplay.getARTPage() to the actual ImGearARTPage class, defined in art jar.

 
 MethodgetBackgroundGets image display layout settings.

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

IImGearLayout interface. IImGearLayout

 
 MethodgetChannelsGets bitonal anti-aliasing settings.

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

IImGearAntiAlias interface. IImGearAntiAlias

 
 MethodgetColorAntiAliasingGets re-sampling attributes.

IImGearResample interface object. IImGearResample

 
 MethodgetDICOMDisplaySettingsGets the DICOM specific display contrast settings.

com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface.

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.getDICOMDisplaySettings is not null, ImageGear uses it for display. Otherwise, ImageGear checks com.accusoft.imagegear.core.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 com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface to the actual class com.accusoft.imagegear.formats.dicom.ImGearDICOMDisplaySettings class. The default value is null.

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

 
 MethodgetLayoutGets ImGearPage object associated with this display page.

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

 
 MethodgetLUTGets the list of extra channels and their display options.

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

 
 MethodgetOrientationGets image orientation attributes.

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

 
 MethodgetPageGets ImGearAnnotationPage object associated with this display page.

Type of this value 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 com.accusoft.imagegear.art package.

ImGearAnnotationPage class.

 
 MethodgetResamplingGets background drawing attributes.

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

IImGearBackground interface. IImGearBackground

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

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

 
 MethodinternalUseOnlyThis method is used by ImageGear internally.  
 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.

 
 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 will cast ImGearPageDisplay.getARTPage() to the actual ImGearARTPage class, defined in art jar.

 
 MethodsetDICOMDisplaySettingsSets the DICOM specific display contrast settings.

com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface.

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.getDICOMDisplaySettings is not null, ImageGear uses it for display. Otherwise, ImageGear checks com.accusoft.imagegear.core.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 com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface to the actual class ImGearPageDisplay.getDICOMDisplaySettings class. The default value is null.

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

 
 MethodsetLUTSets the list of extra channels and their display options.

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

 
 MethodsetPageSets ImGearAnnotationPage object associated with this display page.

Type of this value 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.

 
 MethodupdateLUTUpdates the ImGearPageDisplay lookup table.  
 MethodupdateScrollFromUpdates image scroll attributes with new values.  
 MethodupdateZoomFromUpdates image zoom attributes. ImGearZoomInfo  
 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
See Also

Reference

IImGearPageDisplay Interface
com.accusoft.imagegear.display Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback