Logo Search packages:      
Sourcecode: pixelmed version File versions  Download package

com::pixelmed::display::DicomImageViewer Class Reference

Inheritance diagram for com::pixelmed::display::DicomImageViewer:

com::pixelmed::display::ApplicationFrame

List of all members.


Detailed Description

This class is an entire application for displaying and viewing images and spectroscopy objects.

It supports a local database of DICOM objects, as well as the ability to read a load from a DICOMDIR, and to query and retrieve objects across the network.

It is configured by use of a properties file that resides in the user's home directory in .com.pixelmed.display.DicomImageViewer.properties.

Author:
dclunie

Definition at line 53 of file DicomImageViewer.java.


Public Member Functions

String getPropertyInsistently (String key) throws Exception
void keyPressed (KeyEvent e)
void keyReleased (KeyEvent e)
void keyTyped (KeyEvent e)
void mouseClicked (MouseEvent e)
void mouseEntered (MouseEvent e)
void mouseExited (MouseEvent e)
void mousePressed (MouseEvent e)
void mouseReleased (MouseEvent e)

Static Public Member Functions

static String getPropertyInsistently (Properties properties, String key) throws Exception
static void main (String arg[])

Protected Member Functions

void createGUI ()
String getApplicationPropertyFileName ()
String getBuildDate ()
Properties getProperties ()
String getReleaseString ()
JLabel getStatusBar ()
void loadProperties ()
void setApplicationPropertyFileName (String applicationPropertyFileName)
void setInternationalizedFontsForGUI ()
void storeProperties (String comment) throws IOException
File takeSnapShot (Rectangle extent)

Static Protected Member Functions

static String makePathToFileInUsersHomeDirectory (String fileName)

Protected Attributes

StatusBarManager statusBarManager
StoredFilePathStrategy storedFilePathStrategy = StoredFilePathStrategy.BYSOPINSTANCEUIDHASHSUBFOLDERS

Static Protected Attributes

static String releaseString = "General Release"

Static Package Attributes

static final String propertiesFileName = ".com.pixelmed.display.DicomImageViewer.properties"
static final String propertyName_FullScreen = "Display.FullScreen"
static final char screenSnapShotKeyChar = 'K'

Private Member Functions

void copyFileAndImportToDatabase (DatabaseInformationModel databaseInformationModel, AttributeList list, String fileName, File savedImagesFolder) throws DicomException, IOException
void createTableOfCurrentAttributesForAllFramesBrowser ()
void createTableOfCurrentAttributesForCurrentFrameBrowser ()
 DicomImageViewer (String title, String applicationPropertyFileName, String dicomFileName)
 DicomImageViewer (String title, String dicomFileName)
 DicomImageViewer (String title)
 DicomImageViewer (String title, int w, int h)
void doCommonConstructorStuff (String title, String dicomFileName)
AttributeList getAttributeListForDatabaseImport ()
String getCurrentFilePathSelection ()
Vector getCurrentFilePathSelections ()
String getCurrentlyDisplayedInstanceFilePath ()
AttributeList getCurrentRemoteQueryFilter ()
QueryInformationModel getCurrentRemoteQueryInformationModel ()
String getCurrentRemoteQuerySelectionLevel ()
QueryTreeRecord getCurrentRemoteQuerySelectionQueryTreeRecord ()
String getCurrentRemoteQuerySelectionRetrieveAE ()
Attribute getCurrentRemoteQuerySelectionUniqueKey ()
AttributeList getCurrentRemoteQuerySelectionUniqueKeys ()
final TreeMap getImageListMappedToFilenamesForReferenceOrBackground (AttributeList referencedFromList, boolean requireSameImageOrientationPatient)
AttributeListFunctionalGroupsTableModelAllFrames getModelOfCurrentAttributesForAllFramesBrowser ()
AttributeListFunctionalGroupsTableModelOneFrame getModelOfCurrentAttributesForCurrentFrameBrowser ()
GeometryOfVolume getNewGeometryOfVolume (AttributeList attributeList)
SpectroscopyVolumeLocalization getNewSpectroscopyVolumeLocalization (AttributeList attributeList)
AttributeListTableBrowser getTableOfCurrentAttributesForAllFramesBrowser ()
AttributeListTableBrowser getTableOfCurrentAttributesForCurrentFrameBrowser ()
void initializeCurrentRemoteQueryFilter ()
void loadBackgroundImageForSpectra (String dicomFileName)
String loadDicomFileOrDirectory (String dicomFileName, DicomImageViewer application, JPanel imagePanel, JPanel referenceImagePanelForImages, JList displayListOfPossibleReferenceImagesForImages, JPanel referenceImagePanelForSpectra, JList displayListOfPossibleReferenceImagesForSpectra, JList displayListOfPossibleBackgroundImagesForSpectra, JScrollPane treeScrollPane, JScrollPane attributeScrollPane, JScrollPane attributeTreeScrollPane, JScrollPane attributeFrameTableScrollPane, String lastDirectoryPath)
String loadDicomFileOrDirectoryCallingChooserIfRequired (String dicomFileName, DicomImageViewer application, JPanel imagePanel, JPanel referenceImagePanelForImages, JList displayListOfPossibleReferenceImagesForImages, JPanel referenceImagePanelForSpectra, JList displayListOfPossibleReferenceImagesForSpectra, JList displayListOfPossibleBackgroundImagesForSpectra, JScrollPane treeScrollPane, JScrollPane attributeScrollPane, JScrollPane attributeTreeScrollPane, JScrollPane attributeFrameTableScrollPane, String lastDirectoryPath)
void loadMultiPanelWithImage (JPanel multiPanel, SourceImage sImg, AttributeList list)
Dimension loadMultiPanelWithSpectra (JPanel multiPanel, SourceSpectra sSpectra, AttributeList list)
void loadReferenceImagePanel (String dicomFileName, JPanel referenceImagePanel, boolean spectroscopy)
void performRetrieve (AttributeList uniqueKeys, String selectionLevel, String retrieveAE)
void sendDicomFileOverDicomNetwork (String dicomFileName, String ae, String hostname, int port, String calledAETitle, String callingAETitle, String affectedSOPClass, String affectedSOPInstance, DicomImageViewer application)
void setAttributeListForDatabaseImport (AttributeList list)
void setCurrentFilePathSelection (Vector filePathSelections)
void setCurrentlyDisplayedInstanceFilePath (String path)
void setCurrentRemoteQueryFilter (AttributeList filter)
void setCurrentRemoteQueryInformationModel (String remoteAEForQuery, JTabbedPane browserPane, int tabNumberOfRemoteInBrowserPane)
void setCurrentRemoteQuerySelection (AttributeList uniqueKeys, Attribute uniqueKey, AttributeList identifier)
void setCurrentRemoteQuerySelectionQueryTreeRecord (QueryTreeRecord r)
String showInputDialogToSelectNetworkTargetByLocalApplicationEntityName (String question, String buttonText, String defaultSelection)

Private Attributes

int applicationHeight
int applicationWidth
ButtonGroup attributeTreeSortOrderButtons = new ButtonGroup()
TreeMap backgroundImageListMappedToFilenames = null
JTabbedPane browserPane
AttributeList currentAttributeListForDatabaseImport
DicomDirectory currentDicomDirectory
Vector currentFilePathSelections
String currentlyDisplayedInstanceFilePath
AttributeList currentRemoteQueryFilter
QueryInformationModel currentRemoteQueryInformationModel
String currentRemoteQuerySelectionLevel
QueryTreeRecord currentRemoteQuerySelectionQueryTreeRecord
String currentRemoteQuerySelectionRetrieveAE
Attribute currentRemoteQuerySelectionUniqueKey
AttributeList currentRemoteQuerySelectionUniqueKeys
int currentSourceIndex
int[] currentSourceSortOrder
DatabaseApplicationProperties databaseApplicationProperties = null
JPanel databaseControlsPanel
DatabaseInformationModel databaseInformationModel
JPanel dicomdirControlsPanel
JPanel displayControlsPanel
ImageLocalizerManager imageLocalizerManager
int imagesPerCol
int imagesPerRow
OurFrameSelectionChangeListener mainPanelFrameSelectionChangeListener
OurFrameSortOrderChangeListener mainPanelFrameSortOrderChangeListener
AttributeListFunctionalGroupsTableModelAllFrames modelOfCurrentAttributesForAllFramesBrowser
AttributeListFunctionalGroupsTableModelOneFrame modelOfCurrentAttributesForCurrentFrameBrowser
NetworkApplicationInformation networkApplicationInformation = null
NetworkApplicationProperties networkApplicationProperties = null
OurBrowserPaneChangeListener ourBrowserPaneChangeListener
JPanel queryControlsPanel
TreeMap referenceImageListMappedToFilenames = null
JPanel referenceImagePanelForImages = null
JPanel referenceImagePanelForSpectra = null
SourceImageGraphicDisplaySelectorPanel sourceImageGraphicDisplaySelectorPanel
SourceImageVOILUTSelectorPanel sourceImageVOILUTSelectorPanel
JPanel spectroscopyControlsPanel
SpectroscopyLocalizerManager spectroscopyLocalizerManager
AttributeListTableBrowser tableOfCurrentAttributesForAllFramesBrowser
AttributeListTableBrowser tableOfCurrentAttributesForCurrentFrameBrowser

Static Private Attributes

static final double browserAndMultiPaneAndCurrentAttributesResizeWeight = 0.9
static final Dimension defaultMultiPanelDimension = new Dimension(512,512)
static final int heightWantedForAttributeTable = 76
static final String identString = "@(#) $Header: /userland/cvs/pixelmed/imgbook/com/pixelmed/display/DicomImageViewer.java,v 1.212 2009/06/07 18:26:53 dclunie Exp $"
static final String propertyName_DicomCurrentlySelectedQueryTargetAE = "Dicom.CurrentlySelectedQueryTargetAE"
static final String propertyName_DicomCurrentlySelectedStorageTargetAE = "Dicom.CurrentlySelectedStorageTargetAE"
static final int widthWantedForBrowser = 400

Classes

class  DatabaseImportFromFilesActionListener
class  DatabaseRefreshActionListener
class  DicomFileLoadFromSelectionActionListener
class  DicomFileOrDirectoryLoadActionListener
class  ImportCurrentlyDisplayedInstanceToDatabaseActionListener
class  ImportFromSelectionToDatabaseActionListener
class  NetworkSendCurrentSelectionActionListener
class  OurBackgroundListSelectionListener
class  OurBrowserPaneChangeListener
class  OurDatabaseTreeBrowser
class  OurDicomDirectoryBrowser
class  OurFrameSelectionChangeListener
class  OurFrameSortOrderChangeListener
class  OurMessageLogger
class  OurQueryTreeBrowser
class  OurReceivedObjectHandler
class  OurReferenceListSelectionListener
class  QueryFilterActionListener
class  QueryRefreshActionListener
class  QueryRetrieveActionListener
class  QuerySelectActionListener
class  SaveCurrentlyDisplayedImageToXMLActionListener
class  SortAttributesActionListener
class  ValidateCurrentlyDisplayedImageActionListener

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index