public class SpatialTransformationModule extends Module
| Modifier and Type | Field and Description |
|---|---|
static ISingleCollection<ITag> |
objSingleCollection
The obj single collection.
|
| Constructor and Description |
|---|
SpatialTransformationModule(IDataSet objIDataSet)
Instantiates a new spatial transformation module.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getImageHorizontalFlip()
Retrieves the condition Whether or not to flip the image horizontally after any Image Rotation has
been applied such that the left side of the image becomes the right side.
|
short |
getImageRotation()
Retrieves the angle that how far to rotate the image clockwise in degrees, before any Image Horizontal Flip is applied.
|
ISingleCollection<ITag> |
getVectorOfKeys()
This method returns the vector of keys representing the DataElements
that belong to this module.
|
void |
setImageHorizontalFlip(EnumImageHorizontalFlip enumImageHorizontalFlip)
Sets the condition Whether or not to flip the image horizontally after any Image Rotation has
been applied such that the left side of the image becomes the right side.
|
void |
setImageRotation(EnumImageRotation enumImageRotation)
Sets the angle that how far to rotate the image clockwise in degrees, before any Image Horizontal Flip is applied.
|
boolean |
validateModule()
This method validates each Attribute in the Module according to the Type
of the Attribute.Attributes are of 5 types.
|
add, dumpDICOMInfo, getDictionaryReader, getTransferSyntax, isPresent, isPresent, iterator, removepublic static ISingleCollection<ITag> objSingleCollection
public SpatialTransformationModule(IDataSet objIDataSet)
objIDataSet - the obj i data setpublic boolean validateModule()
throws InvalidModuleException
validateModule in interface IModulevalidateModule in class ModuleInvalidModuleException - If validation of Module failspublic void setImageRotation(EnumImageRotation enumImageRotation)
enumImageRotation - Enum value of rotation angle.public short getImageRotation()
public void setImageHorizontalFlip(EnumImageHorizontalFlip enumImageHorizontalFlip)
enumImageHorizontalFlip - Enum value of flip conditionpublic java.lang.String getImageHorizontalFlip()
public ISingleCollection<ITag> getVectorOfKeys()
getVectorOfKeys in class Module