|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dcm4che2.hp.HPComparatorFactory
public class HPComparatorFactory
Field Summary | |
---|---|
static int |
FRAME_INDEX
Selector Value Number constant for indicating that the frame number shall be used for indexing the value of the Selector Attribute for sorting. |
Constructor Summary | |
---|---|
HPComparatorFactory()
|
Method Summary | |
---|---|
static HPComparator |
addFunctionalGroupPointer(java.lang.String privCreator,
int tag,
HPComparator comparator)
Decorate Sort By Attribute Comparator with Functional Group Pointer, defining the Selector Attribute as nested in a Functional Group Sequence. |
static HPComparator |
addSequencePointer(java.lang.String privCreator,
int tag,
HPComparator comparator)
Decorate Sort By Attribute Comparator with Selector Sequence Pointer, defining the Selector Attribute as nested in a Sequence. |
static HPComparator |
createHPComparator(DicomObject sortingOp)
Create HPComparator from Sorting Operations Sequence (0072,0600) item. |
static HPComparator |
createSortAlongAxis(java.lang.String sortingDirection)
Create Sort Category Comparator with Sort-by Category ALONG_AXIS. |
static HPComparator |
createSortByAcqTime(java.lang.String sortingDirection)
Create Sort Category Comparator with Sort-by Category BY_ACQ_TIME. |
static HPComparator |
createSortByAttribute(java.lang.String privateCreator,
int tag,
int valueNumber,
java.lang.String sortingDirection)
Create Sort By Attribute Comparator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FRAME_INDEX
Constructor Detail |
---|
public HPComparatorFactory()
Method Detail |
---|
public static HPComparator createHPComparator(DicomObject sortingOp)
DicomObject
.
item
- DicomObject of Sorting Operations Sequence (0072,0600)
public static HPComparator createSortByAttribute(java.lang.String privateCreator, int tag, int valueNumber, java.lang.String sortingDirection)
DicomObject
, representing the according Sorting
Operations Sequence (0072,0600) item is allocated and initialized.
privateCreator
- Selector Attribute Private Creator, if Selector Attribute is
contained by a Private Group, otherwise null
.tag
- Selector AttributesortingDirection
- CodeString.INCREASING
or CodeString.DECREASING
public static HPComparator createSortAlongAxis(java.lang.String sortingDirection)
DicomObject
, representing the according Sorting
Operations Sequence (0072,0600) item is allocated and initialized.
sortingDirection
- CodeString.INCREASING
or CodeString.DECREASING
public static HPComparator createSortByAcqTime(java.lang.String sortingDirection)
DicomObject
, representing the according Sorting
Operations Sequence (0072,0600) item is allocated and initialized.
sortingDirection
- CodeString.INCREASING
or CodeString.DECREASING
public static HPComparator addSequencePointer(java.lang.String privCreator, int tag, HPComparator comparator)
addFunctionalGroupPointer(java.lang.String, int, org.dcm4che2.hp.HPComparator)
.
The associated DicomObject
is updated
correspondingly. If
tag = 0, the given comparator is returned unmodified.
- Parameters:
privateCreator
- Selector Sequence Pointer Private Creator, if
Selector Sequence Pointer is contained by a Private Group,
otherwise null
.tag
- Functional Group Pointercomparator
- to decorate
- Returns:
- the decorated Comparator
public static HPComparator addFunctionalGroupPointer(java.lang.String privCreator, int tag, HPComparator comparator)
DicomObject
is updated
correspondingly. If
tag = 0, the given comparator is returned unmodified.
- Parameters:
privateCreator
- Functional Group Private Creator, if Functional
Group Pointer is contained by a Private Group,
otherwise null
.tag
- Functional Group Pointercomparator
- to decorate
- Returns:
- decorated Comparator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |