ImageGearJava Project > com.accusoft.imagegear.display Package : ImGearPageDisplay Class |
The following tables list the members exposed by ImGearPageDisplay.
Name | Description | |
---|---|---|
ImGearPageDisplay Constructor | Overloaded. |
Name | Description | |
---|---|---|
lutUpdated | Occurs when the lookup table is updated. | |
pageScrolled | Occurs when a pages is scrolled. | |
pageZoomed | Occurs when a page is zoomed. |
Name | Description | |
---|---|---|
clone | Copies ImGearPageDisplay class object. | |
convertCoordinates | Overloaded. 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. | |
draw | Draws image on Java Graphics. | |
drawEx | Draws image on Java Graphics. | |
getAntiAliasing | Gets bitonal anti-aliasing settings.
Value returned is a reference to ImGearPageDisplay internal object. Accordingly, its modification affects parent ImGearPageDisplay. | |
getARTPage | Gets 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. | |
getBackground | Gets background drawing attributes.
Value returned is a reference to ImGearPageDisplay internal object. Accordingly, its modification affects parent ImGearPageDisplay. | |
getBrightness | Gets the brightness level of the displayed image.
Changing this property does not permanently affect the loaded image in memory. The default value is 0. | |
getChannels | Gets the list of extra channels and their display options.
| |
getColorAntiAliasing | Gets color anti-aliasing attributes.
| |
getContrast | Returns the contrast level of the displayed image.
Changing this property does not permanently affect the loaded image in memory. The default value is 1. | |
getDICOMDisplaySettings | Returns 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 | |
getGamma | Gets the gamma level of the displayed image.
Changing this property does not permanently affect the loaded image in memory. The default value is 1. | |
getLayout | Gets image display layout settings.
Value returned is a reference to ImGearPageDisplay internal object. Accordingly, its modification affects parent ImGearPageDisplay. | |
getLUT | Returns a display lookup table.
This property only supports com.accusoft.imagegear.core.ImGearRGBLUT class objects. | |
getOrientation | Gets image orientation attributes.
Value returned is a reference to ImGearPageDisplay internal object. Accordingly, its modification affects parent ImGearPageDisplay. | |
getPage | Gets ImGearPage object associated with this display page.
| |
getResampling | Gets re-sampling attributes.
| |
getScrollInfo | Returns new instance of image scrolling attributes object. | |
getZoomInfo | Returns a new instance of an object containing current zoom settings. | |
handleScroll | Handles scrolling events.
Use this method only to handle scrolling events. To scroll image to particular position, use scrollTo method instead. | |
internalUseOnly | Gets the ImGearPageDisplay. | |
Draws the image on Java Graphics for printing. Call to Print(hdc) is equal to call drawEx(null, hdc, true) . | ||
scrollTo | Scrolls 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. | |
setARTPage | Sets 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. | |
setBrightness | Sets the brightness level of the displayed image.
Changing this property does not permanently affect the loaded image in memory. The default value is 0. | |
setContrast | Sets the contrast level of the displayed image.
Changing this property does not permanently affect the loaded image in memory. The default value is 1. | |
setDICOMDisplaySettings | Sets 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 | |
setGamma | Sets the gamma level of the displayed image.
Changing this property does not permanently affect the loaded image in memory. The default value is 1. | |
setLUT | Sets a display lookup table.
This property only supports com.accusoft.imagegear.core.ImGearRGBLUT class objects. | |
setPage | Sets ImGearPage object associated with this display page.
| |
updateLUT | Updates the ImGearPageDisplay lookup table. | |
updateScrollFrom | Updates image scroll attributes with new values. | |
updateZoomFrom | Updates image zoom attributes. | |
zoomToRectangle | Performs 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 |
Name | Description | |
---|---|---|
onLutUpdated | Occurs when the lookup table is updated. | |
onPageScrolled | Occurs when a page is scrolled. | |
onPageZoomed | Occurs when a page is zoomed. | |
onPropertyChanged | Can be called by subclasses when their properties change. Subscribers, com.accusoft.imagegear.callbackinterfaces.IImGearPropertyChangedListener are subsequently notified. |