|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ohf.wado.client.impl.WADORequestImpl
public class WADORequestImpl
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.ohf.wado.client.WADORequest |
|---|
DICOM_MIME_TYPE, JPEG_MIME_TYPE |
| Constructor Summary | |
|---|---|
WADORequestImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
generateWadoUrl(java.lang.String wadoServerPath)
The method takes a WADORequest object and generates a valid WADO URL that contain all the parameters defined in the request. |
int |
getFrameNumber()
|
int |
getImageQuality()
|
int |
getNumberOfPixelColumns()
|
int |
getNumberOfPixelRows()
|
java.lang.String |
getObjectUID()
|
java.lang.String |
getPresentationObjectUID()
|
java.lang.String |
getPresentationSeriesUID()
|
ImageRegion |
getRegionOfTheImage()
|
java.lang.String |
getResponseCharset()
|
java.lang.String |
getResponseMimeType()
|
java.lang.String |
getSeriesUID()
|
java.lang.String |
getStudyUID()
|
java.lang.String |
getTransferSyntaxUID()
|
double |
getWindowCenterOfTheImage()
|
double |
getWindowWidthOfTheImage()
|
boolean |
isAnnonymizeObject()
|
boolean |
isPatientAnnotation()
|
boolean |
isTechniqueAnnotation()
|
void |
setAnnonymizeObject(boolean annonymizeObject)
Sets the removal of all patient identification information from within the DICOM object, if not already done, as defined in PS 3.15. |
void |
setFrameNumber(int frameNumber)
Specifies that the single frame with that number within a multi-frame image object, as defined in PS 3.3 that shall be returned. |
void |
setImageQuality(int imageQuality)
If the requested MIME type is for a lossy compressed image (e.g. |
void |
setNumberOfPixelColumns(int numberOfPixelColumns)
Sets the image width to be returned. |
void |
setNumberOfPixelRows(int numberOfPixelRows)
Sets the image height to be returned. |
void |
setObjectUID(java.lang.String objectUID)
Set the SOP Instance UID of the requested DICOM object. |
void |
setPatientAnnotation(boolean patientAnnotation)
Sets the requested annotation of an object retrieved and displayed as an image. |
void |
setPresentationObjectUID(java.lang.String presentationObjectUID)
Sets the SOP Instance UID of the presentation state storage object to be applied to the image. |
void |
setPresentationSeriesUID(java.lang.String presentationSeriesUID)
Sets the Series Instance UID of the series containing the presentation state storage object to be applied on the image. |
void |
setRegionOfTheImage(ImageRegion regionOfTheImage)
Allows selection of a rectangular region of an image matrix to be retrieved. |
void |
setResponseCharset(java.lang.String responseCharset)
Sets the character set with which the returned object is to be encoded, as defined in the IETF RFC2616. |
void |
setResponseMimeType(java.lang.String responseMimeType)
MIME type(s) desired for the response from the Server, as defined in the IETF RFC2616. |
void |
setSeriesUID(java.lang.String seriesUID)
Set the series Instance UID of the requested DICOM object. |
void |
setStudyUID(java.lang.String studyUID)
Set the study Instance UID of the requested DICOM object. |
void |
setTechniqueAnnotation(boolean techniqueAnnotation)
Sets the requested annotation of an object retrieved and displayed as an image. |
void |
setTransferSyntaxUID(java.lang.String transferSyntaxUID)
Sets the Transfer Syntax to be used within the DICOM image object, as specified in PS 3.6. |
void |
setWindowCenterOfTheImage(double windowCenterOfTheImage)
Controls the luminosity of the image as defined in PS 3.3. |
void |
setWindowWidthOfTheImage(double windowWidthOfTheImage)
Controls the contrast of the image as defined in PS 3.3. |
java.util.List<java.lang.String> |
validateWADORequest()
The method will go over the parameters in the WADORequest object and make sure that they are valid and no contradictions between them. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WADORequestImpl()
| Method Detail |
|---|
public java.lang.String generateWadoUrl(java.lang.String wadoServerPath)
WADORequest
generateWadoUrl in interface WADORequestwadoServerPath - The URL prefix for the WADO server
public java.util.List<java.lang.String> validateWADORequest()
WADORequest
validateWADORequest in interface WADORequestpublic boolean isAnnonymizeObject()
isAnnonymizeObject in interface WADORequestpublic void setAnnonymizeObject(boolean annonymizeObject)
WADORequest
setAnnonymizeObject in interface WADORequestannonymizeObject - Whether to anonymize or not. Default is false.public int getFrameNumber()
getFrameNumber in interface WADORequestpublic void setFrameNumber(int frameNumber)
WADORequest
setFrameNumber in interface WADORequestframeNumber - The desired single frame numberpublic int getImageQuality()
getImageQuality in interface WADORequestpublic void setImageQuality(int imageQuality)
WADORequest
setImageQuality in interface WADORequestimageQuality - The required quality of the image to be returned within the
range 1 to 100, 100 being the best quality.public int getNumberOfPixelColumns()
getNumberOfPixelColumns in interface WADORequestpublic void setNumberOfPixelColumns(int numberOfPixelColumns)
WADORequest
setNumberOfPixelColumns in interface WADORequestnumberOfPixelColumns - The number of pixel columnspublic int getNumberOfPixelRows()
getNumberOfPixelRows in interface WADORequestpublic void setNumberOfPixelRows(int numberOfPixelRows)
WADORequest
setNumberOfPixelRows in interface WADORequestnumberOfPixelRows - The number of pixel rowspublic java.lang.String getObjectUID()
getObjectUID in interface WADORequestpublic void setObjectUID(java.lang.String objectUID)
WADORequest
setObjectUID in interface WADORequestobjectUID - The SOP Instance UIDpublic boolean isPatientAnnotation()
isPatientAnnotation in interface WADORequestpublic void setPatientAnnotation(boolean patientAnnotation)
WADORequest
setPatientAnnotation in interface WADORequestpatientAnnotation - For displaying patient information on the image (e.g. patient name,
birth date,…)WADORequest.setTechniqueAnnotation(boolean)public java.lang.String getPresentationObjectUID()
getPresentationObjectUID in interface WADORequestpublic void setPresentationObjectUID(java.lang.String presentationObjectUID)
WADORequest
setPresentationObjectUID in interface WADORequestpresentationObjectUID - The SOP Instance UID of the presentation state storage object.public java.lang.String getPresentationSeriesUID()
getPresentationSeriesUID in interface WADORequestpublic void setPresentationSeriesUID(java.lang.String presentationSeriesUID)
WADORequest
setPresentationSeriesUID in interface WADORequestpresentationSeriesUID - The Series Instance UID of the series containing the
presentation state storage object.public ImageRegion getRegionOfTheImage()
getRegionOfTheImage in interface WADORequestpublic void setRegionOfTheImage(ImageRegion regionOfTheImage)
WADORequest
setRegionOfTheImage in interface WADORequestregionOfTheImage - The region to be retrievedpublic java.lang.String getResponseCharset()
getResponseCharset in interface WADORequestpublic void setResponseCharset(java.lang.String responseCharset)
WADORequest
setResponseCharset in interface WADORequestresponseCharset - List of character sets, separated by a "," character, and
potentially associated with relative degree of preference, as
specified in IETF RFC2616. Default is no charset conversion.public java.lang.String getResponseMimeType()
getResponseMimeType in interface WADORequestpublic void setResponseMimeType(java.lang.String responseMimeType)
WADORequest
setResponseMimeType in interface WADORequestresponseMimeType - List of MIME types, separated by a "," character,
and potentially associated with relative degree of preference, as
specified in IETF RFC2616. Default is any content type.public java.lang.String getSeriesUID()
getSeriesUID in interface WADORequestpublic void setSeriesUID(java.lang.String seriesUID)
WADORequest
setSeriesUID in interface WADORequestseriesUID - The series Instance UIDpublic java.lang.String getStudyUID()
getStudyUID in interface WADORequestpublic void setStudyUID(java.lang.String studyUID)
WADORequest
setStudyUID in interface WADORequeststudyUID - The study Instance UIDpublic boolean isTechniqueAnnotation()
isTechniqueAnnotation in interface WADORequestpublic void setTechniqueAnnotation(boolean techniqueAnnotation)
WADORequest
setTechniqueAnnotation in interface WADORequesttechniqueAnnotation - For displaying technique information of the image (e.g. image number,
study date, image position,…)WADORequest.setPatientAnnotation(boolean)public java.lang.String getTransferSyntaxUID()
getTransferSyntaxUID in interface WADORequestpublic void setTransferSyntaxUID(java.lang.String transferSyntaxUID)
WADORequest
setTransferSyntaxUID in interface WADORequesttransferSyntaxUID - The Transfer Syntax to be used within the DICOM image object.public double getWindowWidthOfTheImage()
getWindowWidthOfTheImage in interface WADORequestpublic void setWindowWidthOfTheImage(double windowWidthOfTheImage)
WADORequestWindowCenterOfTheImage has been set.
This parameter shall not be present if the PresentationObjectUID parameter
has been set. It shall not be present if ResponseMimeType is application/dicom.
setWindowWidthOfTheImage in interface WADORequestwindowWidthOfTheImage - The desired contrast of the imagepublic double getWindowCenterOfTheImage()
getWindowCenterOfTheImage in interface WADORequestpublic void setWindowCenterOfTheImage(double windowCenterOfTheImage)
WADORequestWindowWidthOfTheImage has been set.
This parameter shall not be present if the PresentationObjectUID parameter
has been set. It shall not be present if ResponseMimeType is application/dicom.
setWindowCenterOfTheImage in interface WADORequestwindowCenterOfTheImage - The desired luminosity of the image
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||