org.dcm4che2.hp.plugins
Class AlongAxisComparator

java.lang.Object
  extended by org.dcm4che2.hp.AbstractHPComparator
      extended by org.dcm4che2.hp.plugins.AlongAxisComparator
All Implemented Interfaces:
HPComparator

public class AlongAxisComparator
extends AbstractHPComparator

Since:
Aug 7, 2005
Version:
$Revision: 12635 $ $Date: 2010-01-18 14:15:50 +0100 (Mon, 18 Jan 2010) $
Author:
gunter zeilinger(gunterze@gmail.com)

Constructor Summary
AlongAxisComparator(DicomObject sortOp)
           
AlongAxisComparator(java.lang.String sortingDirection)
           
 
Method Summary
 int compare(DicomObject o1, int frame1, DicomObject o2, int frame2)
           
 DicomObject getDicomObject()
          Returns the DicomObject that backs this HPComparator.
 
Methods inherited from class org.dcm4che2.hp.AbstractHPComparator
getFunctionalGroupPointer, getFunctionalGroupPrivateCreator, getImageSetSelectorUsageFlag, getSelectorAttribute, getSelectorAttributePrivateCreator, getSelectorSequencePointer, getSelectorSequencePointerPrivateCreator, getSelectorValueNumber, getSortByCategory, getSortingDirection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlongAxisComparator

public AlongAxisComparator(DicomObject sortOp)

AlongAxisComparator

public AlongAxisComparator(java.lang.String sortingDirection)
Method Detail

getDicomObject

public final DicomObject getDicomObject()
Description copied from interface: HPComparator
Returns the DicomObject that backs this HPComparator. Direct modifications of the returned DicomObject is strongly discouraged as it may cause inconsistencies in the internal state of this object.

Returns:
the DicomObject that backs this HPComparator

compare

public int compare(DicomObject o1,
                   int frame1,
                   DicomObject o2,
                   int frame2)


Copyright © 2011 dcm4che. All Rights Reserved.