diff --git a/32BitFloatDICOMExport/FloatDICOMExport.m b/32BitFloatDICOMExport/FloatDICOMExport.m
index 57be6d2..1f40b9e 100644
--- a/32BitFloatDICOMExport/FloatDICOMExport.m
+++ b/32BitFloatDICOMExport/FloatDICOMExport.m
@@ -31,14 +31,11 @@ - (long) filterImage:(NSString*) menuName
NSString *f = [xport writeDCMFile: nil];
if( f)
- [BrowserController addFiles: [NSArray arrayWithObject: f]
- toContext: [[BrowserController currentBrowser] managedObjectContext]
- toDatabase: [BrowserController currentBrowser]
- onlyDICOM: YES
- notifyAddedFiles: YES
- parseExistingObject: YES
- dbFolder: [[BrowserController currentBrowser] documentsDirectory]
- generatedByOsiriX: YES];
+ [BrowserController.currentBrowser.database addFilesAtPaths: [NSArray arrayWithObject: f]
+ postNotifications: YES
+ dicomOnly: YES
+ rereadExistingItems: YES
+ generatedByOsiriX: YES];
return 0; // No Errors
}
diff --git a/BullsEye/BullsEye.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/BullsEye/BullsEye.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..dd23f4b
--- /dev/null
+++ b/BullsEye/BullsEye.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/BullsEye/BullsEye.xcodeproj/project.xcworkspace/xcuserdata/antoinerosset.xcuserdatad/UserInterfaceState.xcuserstate b/BullsEye/BullsEye.xcodeproj/project.xcworkspace/xcuserdata/antoinerosset.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..c006294
Binary files /dev/null and b/BullsEye/BullsEye.xcodeproj/project.xcworkspace/xcuserdata/antoinerosset.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/BullsEye/BullsEye.xcodeproj/xcuserdata/antoinerosset.xcuserdatad/xcschemes/BullsEye.xcscheme b/BullsEye/BullsEye.xcodeproj/xcuserdata/antoinerosset.xcuserdatad/xcschemes/BullsEye.xcscheme
new file mode 100644
index 0000000..fc2e7bc
--- /dev/null
+++ b/BullsEye/BullsEye.xcodeproj/xcuserdata/antoinerosset.xcuserdatad/xcschemes/BullsEye.xcscheme
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BullsEye/BullsEye.xcodeproj/xcuserdata/antoinerosset.xcuserdatad/xcschemes/xcschememanagement.plist b/BullsEye/BullsEye.xcodeproj/xcuserdata/antoinerosset.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..d96f8ff
--- /dev/null
+++ b/BullsEye/BullsEye.xcodeproj/xcuserdata/antoinerosset.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,22 @@
+
+
+
+
+ SchemeUserState
+
+ BullsEye.xcscheme
+
+ orderHint
+ 0
+
+
+ SuppressBuildableAutocreation
+
+ 8D5B49AC048680CD000E48DA
+
+ primary
+
+
+
+
+
diff --git a/BullsEye/BullsEyeController.m b/BullsEye/BullsEyeController.m
index 8284127..e82bb5e 100644
--- a/BullsEye/BullsEyeController.m
+++ b/BullsEye/BullsEyeController.m
@@ -14,6 +14,7 @@
#import "OsiriXAPI/ViewerController.h"
#import "OsiriXAPI/DCMView.h"
#import "OsiriXAPI/DCMPix.h"
+#import "OsiriXAPI/DicomDatabase.h"
const NSString* FileTypePDF = @"pdf";
const NSString* FileTypeTIFF = @"tiff";
@@ -240,14 +241,11 @@ -(void)dicomSave:(NSString*)seriesDescription backgroundColor:(NSColor*)backgrou
NSString *f = [dicomExport writeDCMFile: nil];
if( f)
- [BrowserController addFiles: [NSArray arrayWithObject: f]
- toContext: [[BrowserController currentBrowser] managedObjectContext]
- toDatabase: [BrowserController currentBrowser]
- onlyDICOM: YES
- notifyAddedFiles: YES
- parseExistingObject: YES
- dbFolder: [[BrowserController currentBrowser] documentsDirectory]
- generatedByOsiriX: YES];
+ [BrowserController.currentBrowser.database addFilesAtPaths: [NSArray arrayWithObject: f]
+ postNotifications: YES
+ dicomOnly: YES
+ rereadExistingItems: YES
+ generatedByOsiriX: YES];
[dicomExport release];
}
@@ -258,6 +256,7 @@ -(void)saveAsPanelDidEnd:(NSSavePanel*)panel returnCode:(int)code contextInfo:(v
NSError* error = 0;
if (code == NSOKButton)
+ {
if (format == FileTypePDF)
{
[[[BullsEyeView view] dataWithPDFInsideRect:[[BullsEyeView view] squareBounds]] writeToFile:[panel filename] options:NSAtomicWrite error:&error];
@@ -280,7 +279,7 @@ -(void)saveAsPanelDidEnd:(NSSavePanel*)panel returnCode:(int)code contextInfo:(v
{ // dicom
[self dicomSave: [[presetsList selection] valueForKey: @"name"] backgroundColor: [NSColor whiteColor] toFile:[panel filename]];
}
-
+ }
if (error)
[[NSAlert alertWithError:error] beginSheetModalForWindow:[self window] modalDelegate:NULL didEndSelector:NULL contextInfo:NULL];
}
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/ColorTransferView.h b/CMIV_CTA_TOOLS/OsiriX Headers/ColorTransferView.h
deleted file mode 100644
index 8fa7d30..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/ColorTransferView.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface ColorTransferView : NSView {
-
- IBOutlet NSColorWell *pick;
- IBOutlet NSTextField *position;
-
- NSMutableArray *colors;
- NSMutableArray *points;
-
- NSInteger curIndex;
-}
-
--(void) selectPicker:(id) sender;
--(NSMutableArray*) getPoints;
--(NSMutableArray*) getColors;
--(void) ConvertCLUT:(unsigned char*) red: (unsigned char*) green: (unsigned char*) blue;
--(IBAction) renderButton:(id) sender;
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/DCMAttribute.h b/CMIV_CTA_TOOLS/OsiriX Headers/DCMAttribute.h
deleted file mode 100644
index e91158b..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/DCMAttribute.h
+++ /dev/null
@@ -1,118 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-#define AE 0x4145 //Application Entity String 16bytes max
-#define AS 0x4153 //Age String Format mmmM,dddD,nnnY ie 018Y
-#define AT 0x4154 //Attribute Tag 16bit unsigned integer
-#define CS 0x4353 //Code String !6 byte max
-#define DA 0x4441 //Date String yyyymmdd 8bytes old format was yyyy.mm.dd for 10 bytes. May need to implement old format
-#define DS 0x4453 //Decimal String representing floating point number 16 byte max
-#define DT 0x4454 //Date Time YYYYMMDDHHMMSS.FFFFFF&ZZZZ FFFFFF= fractional Sec. ZZZZ=offset from Hr and min offset from universal time
-#define FD 0x4644 //floating point Single 4 bytes fixed
-#define FL 0x464C //double floating point 8 bytes fixed
-#define IS 0x4953 //Integer String 12 bytes max
-#define LO 0x4C4F //Character String 64 char max
-#define LT 0x4C54 //Long Text 10240 char Max
-#define PN 0x504E //Person Name string
-#define SH 0x5348 //short string
-#define SL 0x534C //signed long
-#define SS 0x5353 //signed short
-#define ST 0x5354 //short Text 1024 char max
-#define TM 0x544D //Time String
-#define UI 0x5549 //String for UID
-#define UL 0x554C //unsigned Long
-#define US 0x5553 //unsigned short
-#define UT 0x5554 //unlimited text
-#define OB 0x4F42 //other Byte byte string not little/big endian sensitive
-#define OW 0x4F57 //other word 16bit word
-#define SQ 0x5351 //Sequence of items
-#define UN 0x554E //unknown
-#define QQ 0x3F3F
-
-@class DCMAttributeTag;
-@class DCMDataContainer;
-@class DCMCharacterSet;
-@class DCMTransferSyntax;
-
-@interface DCMAttribute : NSObject {
- DCMAttributeTag *_tag;
- long _valueLength;
- int _valueMultiplicity;
- NSMutableArray *_values;
- NSString *_vr;
- DCMCharacterSet *characterSet;
- NSString *name;
- unsigned char *_dataPtr;
-
-}
-+ (id)attributeWithAttribute:(DCMAttribute *)attr;
-+ (id)attributeWithAttributeTag:(DCMAttributeTag *)tag;
-+ (id)attributeWithAttributeTag:(DCMAttributeTag *)tag vr:(NSString *)vr;
-+ (id)attributeWithAttributeTag:(DCMAttributeTag *)tag vr:(NSString *)vr values:(NSMutableArray *)values;
-+ (id)attributeinitWithAttributeTag:(DCMAttributeTag *)tag
- vr:(NSString *)vr
- length:(long) vl
- data:(DCMDataContainer *)dicomData
- specificCharacterSet:(DCMCharacterSet *)specificCharacterSet
- isExplicit:(BOOL) explicitValue
- forImplicitUseOW:(BOOL)forImplicitUseOW;
-
-
-
-- (id)initWithAttribute:(DCMAttribute *)attr;
-- (id)initWithAttributeTag:(DCMAttributeTag *)tag;
-//possible private tag not in dictionary
-- (id)initWithAttributeTag:(DCMAttributeTag *)tag vr:(NSString *)vr;
-// creating attributes from scratch. Will try and get vr from dictionary first.
-- (id) initWithAttributeTag:(DCMAttributeTag *)tag vr:(NSString *)vr values:(NSMutableArray *)values;
-- (id) initWithAttributeTag:(DCMAttributeTag *)tag
- vr:(NSString *)vr
- length:(long) vl
- data:(DCMDataContainer *)dicomData
- specificCharacterSet:(DCMCharacterSet *)specificCharacterSet
- isExplicit:(BOOL) explicitValue
- forImplicitUseOW:(BOOL)forImplicitUseOW;
-- (id) initWithAttributeTag:(DCMAttributeTag *)tag
- vr:(NSString *)vr
- length:(long) vl
- dataPtr: (unsigned char *)dataPtr;
-- (int)group;
-- (int)element;
-- (long)valueLength;
-- (long) paddedLength;
-- (int)valueMultiplicity;
-//- (char *)valueRepresentation;
-- (NSString *)vrStringValue;
-- (NSString *)vr;
-- (long)paddedValueLength;
-
-- (NSMutableArray *)values;
-- (id)value;
-- (void)addValue:(id)value;
-- (void)setValues:(NSMutableArray *)values;
-- (void)writeBaseToData:(DCMDataContainer *)dcmData transferSyntax:(DCMTransferSyntax *)ts;
-- (BOOL)writeToDataContainer:(DCMDataContainer *)container withTransferSyntax:(DCMTransferSyntax *)ts;
-
-- (NSString *)valuesAsString;
-- (NSArray *)valuesForVR:(NSString *)vrString length:(int)length data:(DCMDataContainer *)dicomData;
-//- (DCMAttributeTag *)tag;
-- (DCMAttributeTag *)attrTag;
-- (void)swapBytes:(NSMutableData *)data;
-- (id)copyWithZone:(NSZone *)zone;
-
-- (void)setCharacterSet:(DCMCharacterSet *)specificCharacterSet;
-- (NSXMLNode *)xmlNode;
-
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/DCMCalendarDate.h b/CMIV_CTA_TOOLS/OsiriX Headers/DCMCalendarDate.h
deleted file mode 100644
index ebd0b4f..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/DCMCalendarDate.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-@interface DCMCalendarDate : NSCalendarDate {
- int microseconds;
- NSString *queryString;
- BOOL isQuery;
-}
-
-+ (id)dicomDate:(NSString *)string;
-+ (id)dicomTime:(NSString *)string;
-+ (id)dicomDateTime:(NSString *)string;
-+ (id)dicomDateWithDate:(NSDate *)date;
-+ (id)dicomTimeWithDate:(NSDate *)date;
-+ (id)queryDate:(NSString *)query;
-
-- (DCMCalendarDate *)dateWithYear:(int)year month:(unsigned)month day:(unsigned)day hour:(unsigned)hour minute:(unsigned)minute second:(unsigned)second timeZone:(NSTimeZone *)aTimeZone;
-
-- (NSString *)dateString;
-- (NSString *)timeString;
-- (NSString *)dateTimeString:(BOOL)withTimeZone;
-- (NSString *)queryString;
-
-- (NSNumber *)dateAsNumber;
-- (NSNumber *)timeAsNumber;
-
-
-- (void)setMicroseconds:(int)useconds;
-- (BOOL)isQuery;
-- (void)setIsQuery:(BOOL)query;
-- (void)setQueryString:(NSString *)query;
-- (NSString *)description;
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/DCMDataContainer.h b/CMIV_CTA_TOOLS/OsiriX Headers/DCMDataContainer.h
deleted file mode 100755
index a1a8ad3..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/DCMDataContainer.h
+++ /dev/null
@@ -1,116 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-//#import
-
-
-
-@interface DCMDataContainer : NSObject {
- NSMutableData *dicomData;
- BOOL isLittleEndian, isExplicitTS, dataRemaining;
- int offset, position;
- NSStringEncoding stringEncoding;
- unsigned char *_ptr;
-}
-
-
-
-+ (id)dataContainer;
-+ (id)dataContainerWithBytes:(const void *)bytes length:(unsigned)length;
-+ (id)dataContainerWithBytesNoCopy:(void *)bytes length:(unsigned)length;
-+ (id)dataContainerWithBytesNoCopy:(void *)bytes length:(unsigned)length freeWhenDone:(BOOL)freeWhenDone;
-+ (id)dataContainerWithContentsOfFile:(NSString *)path;
-+ (id)dataContainerWithContentsOfMappedFile:(NSString *)path;
-+ (id)dataContainerWithContentsOfURL:(NSURL *)aURL;
-+ (id)dataContainerWithData:(NSData *)aData;
-
-
-
-- (id)initWithData:(NSData *)data;
-- (id)initWithContentsOfFile:(NSString *)path;
-- (id)initWithContentsOfURL:(NSURL *)aURL;
-- (id)initWithBytes:(const void *)bytes length:(unsigned)length;
-- (id)initWithBytesNoCopy:(void *)bytes length:(unsigned)length;
-- (id)initWithBytesNoCopy:(void *)bytes length:(unsigned)length freeWhenDone:(BOOL)flag;
-
-
-- (void)initValues;
-
-- (BOOL)isLittleEndian;
-- (BOOL)isExplicitTS;
-- (BOOL)isEncapsulated;
-- (BOOL)dataRemaining;
-- (NSStringEncoding) stringEncoding;
-- (void)setLittleEndian:(BOOL)value;
-- (void)setExplicitTS:(BOOL)value;
-
-- (void)setStringEncoding:(NSStringEncoding)encoding;
-
-- (unsigned char)nextUnsignedChar;
-- (unsigned short)nextUnsignedShort;
-- (short)nextSignedShort;
-- (unsigned int)nextUnsignedLong;
-- (int)nextSignedLong;
-- (unsigned long long)nextUnsignedLongLong;
-- (long long)nextSignedLongLong;
-- (float)nextFloat;
-- (double)nextDouble;
-
-- (NSString *)nextStringWithLength:(int)length;
-- (NSString *)nextStringWithLength:(int)length encoding:(NSStringEncoding)encoding;
-- (NSCalendarDate *)nextDate;
-- (NSMutableArray *)nextDatesWithLength:(int)length;
-- (NSCalendarDate *)nextTimeWithLength:(int)length;
-- (NSMutableArray *)nextTimesWithLength:(int)length;
-- (NSCalendarDate *)nextDateTimeWithLength:(int)length;
-- (NSMutableArray *)nextDateTimesWithLength:(int)length;
-- (NSMutableData *)nextDataWithLength:(int)length;
-- (BOOL)skipLength:(int)length;
-
-- (void)addUnsignedChar:(unsigned char)uChar;
-- (void)addSignedChar:(signed char)sChar;
-- (void)addUnsignedShort:(unsigned short)uShort;
-- (void)addSignedShort:(signed short)sShort;
-- (void)addUnsignedLong:(unsigned long)uLong;
-- (void)addSignedLong:(signed long)sLong;
-- (void)addUnsignedLongLong:(unsigned long long)uLongLong;
-- (void)addSignedLongLong:(signed long long)sLongLong;
-- (void)addFloat:(float)f;
-- (void)addDouble:(double)d;
-
-- (void)addString:(NSString *)string;
-- (void)addString:(NSString *)string withEncoding:(NSStringEncoding)encoding;
-- (void)addStringWithoutPadding:(NSString *)string;
-- (void)addDate:(DCMCalendarDate *)date;
-- (void)addTime:(DCMCalendarDate *)time;
-- (void)addDateTime:(DCMCalendarDate *)dateTime;
-- (void)addData:(NSData *)data;
-
-
-- (void)setUseMetaheaderTS:(BOOL)flag;
-- (BOOL)determineTransferSyntax;
-
-
-- (NSException *)testForLength: (int)elementLength;
-
-- (unsigned)length;
-- (int)offset;
-- (void)startReadingMetaHeader;
-- (void)startReadingDataSet;
-
-- (void)addPremable;
-- (NSMutableData *)dicomData;
-
-
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/DCMObject.h b/CMIV_CTA_TOOLS/OsiriX Headers/DCMObject.h
deleted file mode 100644
index 3d2074f..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/DCMObject.h
+++ /dev/null
@@ -1,140 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-/*
- This is the main object representaing a Dicom File or as a list of Attributes for networking
-*/
-
-#import
-
-@class DCMAttribute;
-@class DCMAttributeTag;
-@class DCMDataContainer;
-@class DCMCharacterSet;
-@class DCMTagDictionary ;
-@class DCMTagForNameDictionary;
-@class DCMTransferSyntax;
-
-@interface DCMObject : NSObject {
-
- NSMutableDictionary *attributes;
- NSDictionary *dicomDict;
- DCMTagDictionary *sharedTagDictionary;
- DCMTagForNameDictionary *sharedTagForNameDictionary;
- DCMCharacterSet *specificCharacterSet;
- DCMTransferSyntax *transferSyntax;
- BOOL _decodePixelData;
-
-}
-+ (BOOL)isDICOM:(NSData *)data;
-+ (NSString *)rootUID;
-+ (NSString *)implementationClassUID;
-+ (NSString *)implementationVersionName;
-+ (id)dcmObject;
-//+ (BOOL)anonymizeContentsOfFile:(NSString *)file tags:(NSArray *)tags writingToFile:(NSString *)destination newPatientName:(NSString*) patName;
-+ (BOOL)anonymizeContentsOfFile:(NSString *)file tags:(NSArray *)tags writingToFile:(NSString *)destination;
-+ (id)secondaryCaptureObjectFromTemplate:(DCMObject *)object;
-+ (id)secondaryCaptureObjectWithBitDepth:(int)bitDepth samplesPerPixel:(int)spp numberOfFrames:(int)nff;
-+ (id)objectWithData:(NSData *)data decodingPixelData:(BOOL)decodePixelData;
-+ (id)objectWithContentsOfFile:(NSString *)file decodingPixelData:(BOOL)decodePixelData;
-+ (id)objectWithContentsOfURL:(NSURL *)aURL decodingPixelData:(BOOL)decodePixelData;
-+ (id)objectWithObject:(DCMObject *)object;
-- (id)initWithData:(NSData *)data decodingPixelData:(BOOL)decodePixelData;
-- (id)initWithData:(NSData *)data transferSyntax:(DCMTransferSyntax *)syntax;
-- (id)initWithContentsOfFile:(NSString *)file decodingPixelData:(BOOL)decodePixelData;
-- (id)initWithContentsOfURL:(NSURL *)aURL decodingPixelData:(BOOL)decodePixelData;
-- (id)initWithObject:(DCMObject *)object;
-- (id)initWithDataContainer:(DCMDataContainer *)data lengthToRead:(long)lengthToRead byteOffset:(long *)byteOffset characterSet:(DCMCharacterSet *)characterSet decodingPixelData:(BOOL)decodePixelData;
-- (id)init;
-//Dicom Parsing
-- (int)getGroup:(DCMDataContainer *)dicomData;
-- (int)getElement:(DCMDataContainer *)dicomData;
-- (int)length:(DCMDataContainer *)dicomData;
-- (NSString *)getvr:(DCMDataContainer *)dicomData forTag:(DCMAttributeTag *)tag isExplicit:(BOOL)isExplicit;
-- (NSMutableArray *)getValues:(DCMDataContainer *)dicomData;
-
-- (long)readDataSet:(DCMDataContainer *)dicomData lengthToRead:(long)lengthToRead byteOffset:(long *)byteOffset;
-- (long)readNewSequenceAttribute:(DCMAttribute *)attr dicomData:(DCMDataContainer *)dicomData byteOffset:(long *)byteOffset lengthToRead:(long)lengthToRead specificCharacterSet:(DCMCharacterSet *)specificCharacterSet;
-- (DCMAttribute *) newAttributeForAttributeTag:(DCMAttributeTag *)tag
- vr:(NSString *)vr
- length:(long) vl
- data:(DCMDataContainer *)dicomData
- specificCharacterSet:(DCMCharacterSet *)specificCharacterSet
- isExplicit:(BOOL) explicitTS
- forImplicitUseOW:(BOOL)forImplicitUseOW;
-
-- (void)removeMetaInformation;
-- (void)updateMetaInformationWithTransferSyntax: (DCMTransferSyntax *)ts aet:(NSString *)aet;
-- (void)removeGroupLengths;
-- (void)removePrivateTags;
-- (void)removePlanarAndRescaleAttributes;
-//- (void)anonyimizeAttributeForTag:(DCMAttributeTag *)tag newPatientName:(NSString*) patName;
-- (void)anonyimizeAttributeForTag:(DCMAttributeTag *)tag replacingWith:(id)aValue;
-- (void)newStudyInstanceUID;
-- (void)newSeriesInstanceUID;
-- (void)newSOPInstanceUID;
-- (NSString *)anonymizeString:(NSString *)string;
-- (DCMTransferSyntax *)transferSyntax;
-- (DCMCharacterSet *)specificCharacterSet;
-- (void)setCharacterSet:(DCMCharacterSet *)characterSet;
-- (DCMAttribute *)attributeForTag:(DCMAttributeTag *)tag;
-- (id)attributeValueWithName:(NSString *)name;
-- (id)attributeValueForKey:(NSString *)key;
-- (DCMAttribute *)attributeWithName:(NSString *)name;
-- (NSArray *)attributeArrayWithName:(NSString *)name;
-- (void)setAttribute:(DCMAttribute *)attr;
-- (void)addAttributeValue:(id)value forName:(NSString *)name;
-- (void)setAttributeValues:(NSMutableArray *)values forName:(NSString *)name;
-- (NSMutableDictionary *)attributes;
-- (BOOL)pixelDataIsDecoded;
-
-- (BOOL)writeToDataContainer:(DCMDataContainer *)container withTransferSyntax:(DCMTransferSyntax *)ts AET:(NSString *)aet asDICOM3:(BOOL)flag;
-- (BOOL)writeToDataContainer:(DCMDataContainer *)container
- withTransferSyntax:(DCMTransferSyntax *)ts
- quality:(int)quality
- asDICOM3:(BOOL)flag
- AET:(NSString *)aet
- strippingGroupLengthLength:(BOOL)stripGroupLength;
-- (BOOL)writeToFile:(NSString *)path withTransferSyntax:(DCMTransferSyntax *)ts quality:(int)quality AET:(NSString *)aet atomically:(BOOL)flag;
-- (BOOL)writeToURL:(NSURL *)aURL withTransferSyntax:(DCMTransferSyntax *)ts quality:(int)quality AET:(NSString *)aet atomically:(BOOL)flag;
-
-- (NSData *)writeDatasetWithTransferSyntax:(DCMTransferSyntax *)ts quality:(int)quality;
-- (BOOL)isNeededAttribute:(char *)tagString;
-
-- (NSXMLNode *)xmlNode;
-- (NSXMLDocument *)xmlDocument;
-
-
-//deprecated methods
-- (BOOL)writeToDataContainer:(DCMDataContainer *)container withTransferSyntax:(DCMTransferSyntax *)ts quality:(int)quality;
-- (BOOL)writeToDataContainer:(DCMDataContainer *)container withTransferSyntax:(DCMTransferSyntax *)ts asDICOM3:(BOOL)flag;
-- (BOOL)writeToDataContainer:(DCMDataContainer *)container
- withTransferSyntax:(DCMTransferSyntax *)ts
- quality:(int)quality
- asDICOM3:(BOOL)flag
- strippingGroupLengthLength:(BOOL)stripGroupLength;
-- (BOOL)writeToDataContainer:(DCMDataContainer *)container withTransferSyntax:(DCMTransferSyntax *)ts quality:(int)quality asDICOM3:(BOOL)flag;
-- (BOOL)writeToFile:(NSString *)path withTransferSyntax:(DCMTransferSyntax *)ts quality:(int)quality atomically:(BOOL)flag;
-- (BOOL)writeToURL:(NSURL *)aURL withTransferSyntax:(DCMTransferSyntax *)ts quality:(int)quality atomically:(BOOL)flag;
-
-//sequences
-- (NSArray *)referencedSeriesSequence;
-- (NSArray *)referencedImageSequenceForObject:(DCMObject *)object;
-
-//Structured Report Object
-+ (id)objectWithCodeValue:(NSString *)codeValue
- codingSchemeDesignator:(NSString *)codingSchemeDesignator
- codeMeaning:(NSString *)codeMeaning;
-
-
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/DCMPix.h b/CMIV_CTA_TOOLS/OsiriX Headers/DCMPix.h
deleted file mode 100644
index c1cd6d7..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/DCMPix.h
+++ /dev/null
@@ -1,660 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import
-#include
-
-typedef struct {
- double x,y,z;
-} XYZ;
-
-extern XYZ ArbitraryRotate(XYZ p,double theta,XYZ r);
-
-@class ROI;
-@class ThickSlabController;
-@class DCMObject;
-@class Point3D;
-
-/** \brief Represents an image for display */
-
-@interface DCMPix: NSObject
-{
-//SOURCES
- NSString *srcFile; /**< source File */
- BOOL isBonjour; /**< Flag to indicate if file is accessed over Bonour */
- BOOL nonDICOM; /**< Flag to indicate if file is not DICOM */
-
-//BUFFERS
- NSArray *pixArray;
- NSManagedObject *imageObj; /**< Core data object for image */
- float *fImage /**< float buffer of image Data */, *fExternalOwnedImage; /**< float buffer of image Data - provided by another source, not owned by this object, not release by this object */
- char *wImage; /**< ? */
-
-//DICOM TAGS
-
-// orientation
-// Point3D *origin;
- BOOL isOriginDefined;
- double originX /**< x position of image origin */ , originY /**< y Position of image origin */ , originZ /**< Z position of image origin*/;
- double orientation[ 9]; /**< pointer to orientation vectors */
- NSString *frameOfReferenceUID;
-
-// pixel representation
- BOOL fIsSigned;
- short bitsAllocated, bitsStored;
- float slope, offset;
-
-// image size
- long height, width;
-
-// window level & width
- float savedWL, savedWW;
-
-// planar configuration
- long fPlanarConf;
- double pixelSpacingX, pixelSpacingY, pixelRatio;
-
-// photointerpretation
- BOOL isRGB;
- BOOL inverseVal;
-
-//--------------------------------------
-
-// DICOM params needed for SUV calculations
- float patientsWeight;
- NSString *repetitiontime;
- NSString *echotime;
- NSString *flipAngle, *laterality;
- NSString *protocolName;
- NSString *viewPosition;
- NSString *patientPosition;
- BOOL hasSUV, SUVConverted;
- NSString *units, *decayCorrection;
- float decayFactor;
- float radionuclideTotalDose;
- float radionuclideTotalDoseCorrected;
- NSCalendarDate *acquisitionTime;
- NSCalendarDate *radiopharmaceuticalStartTime;
- float halflife;
- float philipsFactor;
- BOOL displaySUVValue;
-
-// DICOM params for Overlays - 0x6000 group
- int oRows, oColumns, oType, oOrigin[ 2], oBits, oBitPosition;
- unsigned char *oData;
-
-// DSA-subtraction
- float *subtractedfImage;
- NSPoint subPixOffset;
- NSPoint subMinMax;
- float subtractedfPercent;
- float subtractedfZ;
- float subtractedfZero;
- float subtractedfGamma;
- GammaFunction subGammaFunction;
-
- long maskID;
- float maskTime;
- float fImageTime;
- //float rot;
- //float ang;
- NSNumber *positionerPrimaryAngle;
- NSNumber *positionerSecondaryAngle;
-
- long shutterRect_x;
- long shutterRect_y;
- long shutterRect_w;
- long shutterRect_h;
-
- long shutterCircular_x;
- long shutterCircular_y;
- long shutterCircular_radius;
-
- NSPoint *shutterPolygonal;
- long shutterPolygonalSize;
-
- BOOL DCMPixShutterOnOff;
-
-//-------------------------------------------------------
- long frameNo;
- long serieNo;
- long imID, imTot;
- char *baseAddr;
-
-//convolution
- BOOL convolution, updateToBeApplied;
- short kernelsize;
- short normalization;
- short kernel[25];
-
- float cineRate;
-
-//slice
- double sliceInterval, sliceLocation, sliceThickness;
- double spacingBetweenSlices; //SpacingBetweenSlices (0018,0088)
-
-//stack
- short stack;
- short stackMode, pixPos, stackDirection;
-//thickslab
- BOOL thickSlabVRActivated;
- ThickSlabController *thickSlab;
-
- float countstackMean;
- float ww, wl;
- float fullww, fullwl;
- BOOL fixed8bitsWLWW;
- float maxValueOfSeries, minValueOfSeries;
-
- BOOL generated;
- NSString *generatedName;
- NSLock *checking;
-
- BOOL useVOILUT;
- int VOILUT_first;
- unsigned int VOILUT_number, VOILUT_depth, *VOILUT_table;
-
- char blackIndex;
-
- NSData *transferFunction;
- float *transferFunctionPtr;
-
-/** custom annotations */
- NSMutableDictionary *annotationsDictionary;
-
-/** 12 bit monitors */
- BOOL isLUT12Bit;
- unsigned char *LUT12baseAddr;
-
- BOOL full32bitPipeline, needToCompute8bitRepresentation;
-
-/** Papyrus Loading variables */
-
- NSString *modalityString;
- unsigned short clutEntryR, clutEntryG, clutEntryB;
- unsigned short clutDepthR, clutDepthG, clutDepthB;
- unsigned char *clutRed, *clutGreen, *clutBlue;
- int realwidth;
- BOOL fSetClut, fSetClut16;
-}
-
-@property long frameNo;
-@property(setter=setID:) long ID;
-
-@property float minValueOfSeries, maxValueOfSeries;
-
-// Dimensions in pixels
-@property long pwidth, pheight;
-
-/** Is it an RGB image (ARGB) or float image?
-Note setter is different to not break existing usage. :-( */
-@property(setter=setRGB:) BOOL isRGB;
-
-/** Pointer to image data */
-@property(setter=setfImage:) float* fImage;
-
-/** WW & WL */
-@property(readonly) float ww, wl, fullww, fullwl;
-@property float savedWW, savedWL, *subtractedfImage;
-
-@property(readonly) float slope, offset;
-
-/** X/Y ratio - non-square pixels */
-@property double pixelRatio;
-
-/** pixel size */
-@property double pixelSpacingX, pixelSpacingY;
-
-/** Slice orientation */
-- (void) orientation:(float*) c;
-- (void) setOrientation:(float*) c;
-- (BOOL) identicalOrientationTo:(DCMPix*) c;
-
-- (void)orientationDouble:(double*) c;
-- (void)setOrientationDouble:(double*) c;
-
-/** Slice location */
-@property(readonly) double originX, originY, originZ;
-@property(readonly) BOOL isOriginDefined;
-
-/** Frame Of Reference UID */
-@property(copy) NSString *frameOfReferenceUID;
-
-- (void)setOrigin :(float*) o;
-- (void)setOriginDouble :(double*) o;
-- (void)origin: (float*)o;
-- (void)originDouble: (double*)o;
-
-/** Axial Location */
-@property double sliceLocation;
-/** Slice Thickness */
-@property double sliceThickness;
-/** Slice Interval */
-@property double sliceInterval;
-/** Gap between slices */
-@property(readonly) double spacingBetweenSlices;
-
-/** 8-bit TransferFunction */
-@property(retain) NSData *transferFunction;
-
-@property NSPoint subPixOffset;
-
-@property long DCMPixShutterRectWidth, DCMPixShutterRectHeight;
-@property long DCMPixShutterRectOriginX, DCMPixShutterRectOriginY;
-
-@property(retain) NSString *repetitiontime, *echotime;
-@property(readonly) NSString *flipAngle, *laterality;
-
-@property(readonly) NSString *protocolName;
-@property(readonly) NSString *viewPosition;
-@property(readonly) NSString *patientPosition;
-
-@property char* baseAddr;
-@property unsigned char* LUT12baseAddr;
-
-@property(readonly) long serieNo;
-@property(readonly) NSArray *pixArray;
-@property(readonly) float *transferFunctionPtr;
-@property short pixPos;
-@property short stackDirection;
-@property float countstackMean;
-
-@property(getter=Tot, setter=setTot:) long Tot;
-
-@property(readonly) short stack, stackMode;
-@property(readonly) BOOL generated;
-@property(retain) NSString *generatedName;
-@property(retain) NSString *sourceFile;
-
-/** Database links */
-@property(readonly) NSManagedObject *seriesObj;
-@property(retain) NSManagedObject *imageObj;
-@property(retain) NSString *srcFile;
-@property(retain) NSMutableDictionary *annotationsDictionary;
-
-// Properties (aka accessors) needed for SUV calculations
-@property(readonly) float philipsFactor;
-@property float patientsWeight;
-@property float halflife;
-@property float radionuclideTotalDose;
-@property float radionuclideTotalDoseCorrected;
-@property(retain) NSCalendarDate *acquisitionTime;
-@property(retain) NSCalendarDate *radiopharmaceuticalStartTime;
-@property BOOL SUVConverted, full32bitPipeline, needToCompute8bitRepresentation;
-@property(readonly) BOOL hasSUV;
-@property float decayFactor;
-@property(retain) NSString *units, *decayCorrection;
-@property BOOL displaySUVValue;
-
-@property BOOL isLUT12Bit;
-
-- (void) copySUVfrom: (DCMPix*) from; /**< Copy the SUV from another DCMPic */
-- (float) getPixelValueX: (long) x Y:(long) y; /**< Get the pixel for a point with x,y coordinates */
-
-- (void) checkSUV; /**< Makes sure all the necessary values for SUV calculation are present */
-
-+ (void) checkUserDefaults: (BOOL) update; /**< Check User Default for needed setting */
-+ (void) resetUserDefaults; /**< Reset the defaults */
- /** Determine if a point is inside a polygon
- * @param x is the NSPoint to check.
- * @param poly is a pointer to an array of NSPoints.
- * @param count is the number of
- * points in the polygon.
-*/
-+ (BOOL) IsPoint:(NSPoint) x inPolygon:(NSPoint*) poly size:(int) count;
-
-- (void) compute8bitRepresentation;
-- (void) changeWLWW:(float)newWL :(float)newWW; /**< Change window level to window width to the new values */
-- (void) computePixMinPixMax; /**< Compute the min and max values in the image */
-
-// Compute ROI data
-/** Calculates the cofactor used Calcium scoring.
-* Depends on the threshold used for scoring
-* Threshold is usually 90 or 120 depending on whether the source is
-* Electron Beam or Multislice CT
-*/
-- (int)calciumCofactorForROI:(ROI *)roi threshold:(int)threshold;
-
-/** returns calculated values for ROI:
-* mean, total, deviation, min, max
-*/
-- (void) computeROI:(ROI*) roi :(float *)mean :(float *)total :(float *)dev :(float *)min :(float *)max;
-/** Not sure when this is used rather than computeROI: */
-- (void) computeROIInt:(ROI*) roi :(float*) mean :(float *)total :(float *)dev :(float *)min :(float *)max;
-
-/** Fill a ROI with a value
-* @param roi Selected ROI
-* @param newVal The replacement value
-* @param minValue Lower threshold
-* @param maxValue Upper threshold
-* @param outside if YES replace outside the ROI
-* @param orientationStack
-* @param stackNo
-* @param restore
-* @param addition
-*/
-- (void) fillROI:(ROI*) roi newVal:(float) newVal minValue:(float) minValue maxValue:(float) maxValue outside:(BOOL) outside orientationStack:(long) orientationStack stackNo:(long) stackNo restore:(BOOL) restore addition:(BOOL) addition;
-- (void) fillROI:(ROI*) roi newVal:(float) newVal minValue:(float) minValue maxValue:(float) maxValue outside:(BOOL) outside orientationStack:(long) orientationStack stackNo:(long) stackNo restore:(BOOL) restore addition:(BOOL) addition spline:(BOOL) spline;
-
-/** Fill a ROI with a value
-* @param roi Selected ROI
-* @param newVal The replacement value
-* @param minValue lower threshold
-* @param maxValue upper threshold
-* @param outside if YES replace outside the ROI
-* @param orientationStack ?
-* @param stackNo
-* @param restore
-*/
-- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside :(long) orientationStack :(long) stackNo :(BOOL) restore;
-
-/** Fill a ROI with a value
-* @param roi Selected ROI
-* @param newVal The replacement value
-* @param minValue lower threshold
-* @param maxValue upper threshold
-* @param outside if YES replace outside the ROI
-* @param orientation
-* @param stackNo
-*/
-- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside :(long) orientation :(long) stackNo;
-
-/** Fill a ROI with a value.
-* @param roi Selected ROI
-* @param newVal The replacement value
-* @param minValue Lower threshold
-* @param maxValue Upper threshold
-* @param outside If YES replace outside the ROI
-*/
-- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside;
-
-- (unsigned char*) getMapFromPolygonROI:(ROI*) roi size:(NSSize*) size origin:(NSPoint*) origin; /**< Map from Polygon ROI */
-
-/** Is this Point (pt) in this ROI ? */
-- (BOOL) isInROI:(ROI*) roi :(NSPoint) pt;
-
-/** Returns a pointer with all pixels values contained in the current ROI
-* User must Free the pointer with the free() function
-* Returns reference number of pixels in numberOfValues
-* Returns a pointer to the pixel locations. Each point has the x position followed by the y position
-* Locations is malloced but not freed
-*/
-- (float*) getROIValue :(long*) numberOfValues :(ROI*) roi :(float**) locations;
-
-/** Returns a pointer with all pixels values contained in the current ROI
-* User must Free the pointer with the free() function
-* Returns reference number of pixels in numberOfValues
-* Returns a pointer to the pixel locations. Each point has the x position followed by the y position
-* Locations is malloced but not freed
-*/
-- (float*) getLineROIValue :(long*) numberOfValues :(ROI*) roi;
-
-
-/** Utility methods to convert user supplied pixel coords to DICOM patient coords float d[3] (in mm)
-* using current slice location and orientation
-*/
-- (void) convertPixX: (float) x pixY: (float) y toDICOMCoords: (float*) d;
-- (void) convertPixX: (float) x pixY: (float) y toDICOMCoords: (float*) d pixelCenter: (BOOL) pixelCenter;
-
-/** Utility methods to convert user supplied pixel coords to DICOM patient coords double d[3] (in mm)
-* using current slice location and orientation
-*/
-- (void) convertPixDoubleX: (double) x pixY: (double) y toDICOMCoords: (double*) d;
-- (void) convertPixDoubleX: (double) x pixY: (double) y toDICOMCoords: (double*) d pixelCenter: (BOOL) pixelCenter;
-
-/** convert DICOM coordinated to slice coordinates */
-- (void) convertDICOMCoords: (float*) dc toSliceCoords: (float*) sc;
-- (void) convertDICOMCoords: (float*) dc toSliceCoords: (float*) sc pixelCenter:(BOOL) pixelCenter;
-
-/** convert DICOM coordinated to slice coordinates */
-- (void) convertDICOMCoordsDouble: (double*) dc toSliceCoords: (double*) sc;
-- (void) convertDICOMCoordsDouble: (double*) dc toSliceCoords: (double*) sc pixelCenter:(BOOL) pixelCenter;
-
-/** Return index & sliceCoords */
-+(int) nearestSliceInPixelList: (NSArray*)pixlist withDICOMCoords: (float*)dc sliceCoords: (float*) sc;
-
-
-
-- (BOOL) thickSlabVRActivated; /**< Activate Thick Slab VR */
-
-/** convert to Black and White.
-* @param mode values: 0 Use Red Channel, 1 use Green Channel 2 use Blue Channel 3 Merge and use RGB
-*/
-- (void) ConvertToBW:(long) mode;
-
-/** convert to RGB.
-* @param mode values: 0 create Red Channel, 1 create Green Channel 2 create Blue Channel 3 create all channels
-* @param cwl = window level to use
-* @param cww = window width to use
-*/
-- (void) ConvertToRGB:(long) mode :(long) cwl :(long) cww;
-
-- (float) cineRate; /**< Returns the Cine rate */
-
-// drag-drop subtraction-multiplication between series
-- (void) imageArithmeticMultiplication:(DCMPix*) sub;
-- (float*) multiplyImages :(float*) input :(float*) subfImage;
-- (void) imageArithmeticSubtraction:(DCMPix*) sub;
-- (void) imageArithmeticSubtraction:(DCMPix*) sub absolute:(BOOL) abs;
-- (float*) arithmeticSubtractImages :(float*) input :(float*) subfImage;
--(float*) arithmeticSubtractImages :(float*) input :(float*) subfImage absolute:(BOOL) abs;
-//DSA
-- (void) setSubSlidersPercent: (float) p gamma: (float) g zero: (float) z;
-- (void) setSubSlidersPercent: (float) p;
-- (NSPoint) subMinMax:(float*)input :(float*)subfImage;
-- (void) setSubtractedfImage:(float*)mask :(NSPoint)smm;
-- (float*) subtractImages:(float*)input :(float*)subfImage;
-- (BOOL) isLoaded;
-- (void) fImageTime:(float)newTime;
-- (float) fImageTime;
-- (void) freefImageWhenDone:(BOOL) b;
-- (void) maskID:(long)newID;
-- (long) maskID;
-- (void) maskTime:(float)newMaskTime;
-- (float) maskTime;
-- (void) positionerPrimaryAngle:(NSNumber *)newPositionerPrimaryAngle;
-- (NSNumber*) positionerPrimaryAngle;
-- (void) positionerSecondaryAngle:(NSNumber*)newPositionerSecondaryAngle;
-- (NSNumber*) positionerSecondaryAngle;
-+ (NSPoint) originDeltaBetween:(DCMPix*) pix1 And:(DCMPix*) pix2;
-+ (NSPoint) originCorrectedAccordingToOrientation: (DCMPix*) pix1;
-- (void) setBlackIndex:(int) i;
-+ (NSImage*) resizeIfNecessary:(NSImage*) currentImage dcmPix: (DCMPix*) dcmPix;
-- (void) DCMPixShutterRect:(long)x:(long)y:(long)w:(long)h;
-- (BOOL) DCMPixShutterOnOff;
-- (void) DCMPixShutterOnOff:(BOOL)newDCMPixShutterOnOff;
-- (void) computeTotalDoseCorrected;
-//- (void) copyFromOther:(DCMPix *) fromDcm;
-- (void) imageArithmeticMultiplication:(DCMPix*) sub;
-- (void) setRGB : (BOOL) val;
-- (void) setConvolutionKernel:(short*)val :(short) size :(short) norm;
-- (void) applyConvolutionOnSourceImage;
-- (void) setArrayPix :(NSArray*) array :(short) i;
-- (BOOL) updateToApply;
-- (id) myinitEmpty; /**< Returns an Empty object */
-- (short*) kernel;
-+ (NSPoint) rotatePoint:(NSPoint)pt aroundPoint:(NSPoint)c angle:(float)a;
-- (short) normalization;
-- (short) kernelsize;
-- (DCMPix*) renderWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
-- (DCMPix*) renderWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF backgroundOffset: (float) bgO;
-- (NSRect) usefulRectWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
-- (DCMPix*) mergeWithDCMPix:(DCMPix*) o offset:(NSPoint) oo;
-- (DCMPix*) renderInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
-- (DCMPix*) renderInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF smartCrop: (BOOL) smartCrop;
-- (NSImage*) renderNSImageInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
-/** calls
-* myinit:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss isBonjour:(BOOL) hello imageObj: (NSManagedObject*) iO
-* with hello = NO and iO = nil
-*/
-- (id) myinit:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss;
-
-/** Initialize
-* doesn't load pix data, only initializes instance variables
-* @param s filename
-* @param pos imageID Position in array.
-* @param tot imTot Total number of images.
-* @param ptr pointer to volume
-* @param f frame number
-* @param ss series number
-* @param hello flag to indicate remote bonjour file
-* @param iO coreData image Entity for image
-*/
-- (id) myinit:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss isBonjour:(BOOL) hello imageObj: (NSManagedObject*) iO;
-
-/** init with data pointer
-* @param im pointer to image data
-* @param pixelSize pixelDepth in bits
-* @param xDim image width
-* @param yDim =image height
-* @param xSpace pixel width
-* @param ySpace pxiel height
-* @param oX x position of origin
-* @param oY y position of origin
-* @param oZ z position of origin
-*/
-- (id) initwithdata :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ;
-
-/** init with data pointer
-* @param im = pointer to image data
-* @param pixelSize = pixelDepth in bits
-* @param xDim image width
-* @param yDim image height
-* @param xSpace pixel width
-* @param ySpace pxiel height
-* @param oX x position of origin
-* @param oY y position of origin
-* @param oZ z position of origin
-* @param volSize ?
-*/
-- (id) initwithdata :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ :(BOOL) volSize;
-- (id) initWithImageObj: (NSManagedObject *)entity;
-- (id) initWithContentsOfFile: (NSString *)file;
-/** create an NSImage from the current pix
-* @param smallIcon thumbnail size
-* @param newWW window width to use
-* @param newWL window level to use;
-*/
-- (NSImage*) generateThumbnailImageWithWW: (float)newWW WL: (float)newWL;
-- (void) allocate8bitRepresentation;
-
-/** create an NSImage from the current pix using the current ww/wl. Full size*/
-- (NSImage*) image;
-
-/** reeturns the current image. returns nil if no image has be previously created */
-// - (NSImage*) getImage;
-
-/** A pointer to the orientation. 9 values in length. 3 for each axis. */
-- (void) orientation:(float*) c;
-
-/** Sets the orientation. 9 values in length. 3 for each axis. */
-- (void) setOrientation:(float*) c;
-
-/** Releases the current NSImage */
-- (void) kill8bitsImage;
-
-- (void) checkImageAvailble:(float)newWW :(float)newWL;
-
-/** Load the DICOM image using the DCMFramework.
-* There should be no reason to call this. The class will call it when needed. */
-- (BOOL)loadDICOMDCMFramework;
-
-/** Load the DICOM image using Papyrus.
-* There should be no reason to call this. The class will call it when needed.
-*/
-- (BOOL) loadDICOMPapyrus;
-
-/** Reset the Annotations */
-- (void) reloadAnnotations;
-
-
-/** Parses the file. Extracts necessary data. Load image data.
-* This class will be called by the class when necessay.
-* There should be no need to call it externally
-*/
-- (void) CheckLoadIn;
-
-/** Calls CheckLoadIn when needed */
-- (void) CheckLoad;
-
-/** Compute the float pointer for the image data */
-- (float*) computefImage;
-
-/** Sets fusion paramaters
-* @param m stack mode
-* @param s stack
-* @param direction stack direction
-*/
-- (void) setFusion:(short) m :(short) s :(short) direction;
-
-/** Sets updateToBeApplied to YES. It is called whenver a setting has been changed.
-* Should be called by the class automatically when needed */
-- (void) setUpdateToApply;
-
-
-/** Releases the fImage and sets all values to nil. */
-- (void)revert;
-
-/** finds the min and max pixel values.
-* Sets the appropriate values for fullWW and fullWL
-*/
-- (void) computePixMinPixMax;
-
-/** Sets the ThickSlabController */
-- (void) setThickSlabController:( ThickSlabController*) ts;
-
-
-/** Sets the fixed8bitsWLWW flag */
-- (void) setFixed8bitsWLWW:(BOOL) f;
-
-/** Creates a DCMPix with the original values and places it in the restore cache*/
-- (void) prepareRestore;
-
-
-/** Releases the restored DCMPix from the restoreCache */
-- (void) freeRestore;
-
-/** Sets flag for when OsiriX is running in protected mode */
-+ (void) setRunOsiriXInProtectedMode:(BOOL) v;
-
-/** Returns flag for protected mode */
-+ (BOOL) isRunOsiriXInProtectedModeActivated;
-
-/** Clears the papyrus group cache */
-- (void) clearCachedPapyGroups;
-- (void) clearCachedDCMFrameworkFiles;
-+ (void) purgeCachedDictionaries;
-
-/** Returns a pointer the the papyrus group
-* @param group group
-* @param fileNb papyrus file
-*/
-- (void *) getPapyGroup: (int)group;
-
-/** create ROIs from RTSTRUCT */
-- (void)createROIsFromRTSTRUCT: (DCMObject*)dcmObject;
-
-#ifdef OSIRIX_VIEWER
-
-/** Custom Annotations */
-- (void)loadCustomImageAnnotationsPapyLink:(int)fileNb DCMLink:(DCMObject*)dcmObject;
-- (NSString*) getDICOMFieldValueForGroup:(int)group element:(int)element papyLink:(short)fileNb;
-- (NSString*) getDICOMFieldValueForGroup:(int)group element:(int)element DCMLink:(DCMObject*)dcmObject;
-
-/** Set flag to anonymize the annotations */
-+ (BOOL) setAnonymizedAnnotations: (BOOL) v;
-#endif
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/DCMPixelDataAttribute.h b/CMIV_CTA_TOOLS/OsiriX Headers/DCMPixelDataAttribute.h
deleted file mode 100644
index c44fc26..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/DCMPixelDataAttribute.h
+++ /dev/null
@@ -1,128 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-// 7/7/2005 Fixed bug with planar configuration and YBR. LP
-
-#import
-#import "DCMAttribute.h"
-
-enum photometricmode{DCM_UNKNOWN_PHOTOMETRIC, DCM_MONOCHROME1, DCM_MONOCHROME2, DCM_RGB, DCM_ARGB, DCM_YBR_FULL_422, DCM_YBR_PARTIAL_422, DCM_YBR_FULL, DCM_YBR_RCT, DCM_YBR_ICT, DCM_HSV, DCM_CMYK, DCM_PALETTE };
-
-
-
-@class DCMTransferSyntax;
-@class DCMObject;
-@class NSImage;
-
-@interface DCMPixelDataAttribute : DCMAttribute {
- int _rows;
- int _columns;
- int _samplesPerPixel;
- int _bytesPerSample;
- int _numberOfFrames;
- int _pixelDepth;
- int _bitsStored;
- BOOL _isShort, _isSigned;
- float _compression;
- int _min;
- int _max;
- DCMTransferSyntax *transferSyntax;
- BOOL _isDecoded;
- DCMObject *_dcmObject;
- BOOL _framesCreated;
-
-}
-
-
-
-- (id) initWithAttributeTag:(DCMAttributeTag *)tag
- vr:(NSString *)vr
- length:(long) vl
- data:(DCMDataContainer *)dicomData
- specificCharacterSet:(DCMCharacterSet *)specificCharacterSet
- transferSyntax:(DCMTransferSyntax *)ts
- dcmObject:(DCMObject *)dcmObject
- decodeData:(BOOL)decodeData;
-
-- (void)deencapsulateData:(DCMDataContainer *)dicomData;
-
-- (void)setRows:(int)rows;
-- (void)setColumns:(int)columns;
-- (void)setNumberOfFrames:(int)frames;
-- (void)setTransferSyntax:(DCMTransferSyntax *)ts;
-- (void)setSamplesPerPixel:(int)spp;
-- (void)setBytesPerSample:(int)bps;
-- (void)setPixelDepth:(int)depth;
-- (void)setIsShort:(BOOL)value;
-- (void)setCompression:(float)compression;
-- (void)setIsDecoded:(BOOL)value;
-
-
-- (int)rows;
-- (int)columns;
-- (int)numberOfFrames;
-- (DCMTransferSyntax *)transferSyntax;
-- (int)samplesPerPixel;
-- (int)bytesPerSample;
-- (int)pixelDepth;
-- (BOOL)isShort;
-- (float)compression;
-- (BOOL)isDecoded;
-
-
-
-- (void)addFrame:(NSMutableData *)data;
-- (void)replaceFrameAtIndex:(int)index withFrame:(NSMutableData *)data;
-
-
-//Pixel decoding
-- (void)decodeData;
-- (BOOL)convertToTransferSyntax:(DCMTransferSyntax *)ts quality:(int)quality;
-- (NSMutableData *)encodeJPEG2000:(NSMutableData *)data quality:(int)quality;
-- (NSMutableData *)convertDataFromLittleEndianToHost:(NSMutableData *)data;
-- (NSMutableData *)convertDataFromBigEndianToHost:(NSMutableData *)data;
-- (void)convertLittleEndianToHost;
-- (void)convertBigEndianToHost;
-- (void)convertHostToLittleEndian;
-- (void)convertHostToBigEndian;
-- (NSMutableData *)convertJPEG8ToHost:(NSData *)jpegData;
-- (NSMutableData *)convertJPEG2000ToHost:(NSData *)jpegData;
-- (NSMutableData *)convertRLEToHost:(NSData *)rleData;
-//- (void)decodeRescale:(NSMutableData *)data;
-- (void)encodeRescale:(NSMutableData *)data WithRescaleIntercept:(int)offset;
-- (void)encodeRescale:(NSMutableData *)data WithPixelDepth:(int)pixelDepth;
-#if __ppc__
-- (void)decodeRescaleAltivec:(NSMutableData *)data;
-- (void)encodeRescaleAltivec:(NSMutableData *)data withPixelDepth:(int)pixelDepth;
-#endif
-- (void)decodeRescaleScalar: (NSMutableData *)data;
-- (void)encodeRescaleScalar:(NSMutableData *)data withPixelDepth:(int)pixelDepth;
-- (void)createOffsetTable;
-- (void)interleavePlanes;
-- (NSMutableData *)interleavePlanesInData:(NSMutableData *)data;
-- (NSMutableData *)createFrameAtIndex:(int)index;
-- (void)createFrames;
-- (void)setLossyImageCompressionRatio:(NSMutableData *)data;
-- (void)findMinAndMax:(NSMutableData *)data;
-- (void)decodeRescale;
-//RGB data will be interleaved after being converted from Palette or YBR.
-- (void)convertToRGBColorspace;
-- (NSMutableData *)convertDataToRGBColorSpace:(NSMutableData *)data;
-- (NSMutableData *)convertPaletteToRGB:(NSMutableData *)data;
-- (NSMutableData *) convertYBrToRGB:(NSData *)ybrData kind:(NSString *)theKind isPlanar:(BOOL)isPlanar;
-- (NSMutableData *)convertToFloat:(NSMutableData *)data;
-- (NSMutableData *)decodeFrameAtIndex:(int)index;
-- (NSImage *)imageAtIndex:(int)index ww:(float)ww wl:(float)wl;
-
-
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/DCMView.h b/CMIV_CTA_TOOLS/OsiriX Headers/DCMView.h
deleted file mode 100644
index 7844ad7..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/DCMView.h
+++ /dev/null
@@ -1,509 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-#import
-
-#include
-#include
-#include
-#include
-#include
-#include
-
-#define STAT_UPDATE 0.6f
-#define IMAGE_COUNT 1
-#define IMAGE_DEPTH 32
-
-
-// Tools.
-
-// WARNING: If you add or modify this list, check ViewerController.m, DCMView.h and HotKey Pref Pane
-
-enum
-{
- tWL = 0,
- tTranslate, // 1
- tZoom, // 2
- tRotate, // 3
- tNext, // 4
- tMesure, // 5
- tROI, // 6
- t3DRotate, // 7
- tCross, // 8
- tOval, // 9
- tOPolygon, // 10
- tCPolygon, // 11
- tAngle , // 12
- tText, // 13
- tArrow, // 14
- tPencil, // 15
- t3Dpoint, // 16
- t3DCut, // 17
- tCamera3D, // 18
- t2DPoint, // 19
- tPlain, // 20
- tBonesRemoval, // 21
- tWLBlended, // 22
- tRepulsor, // 23
- tLayerROI, // 24
- tROISelector, // 25
- tAxis, // 26 //JJCP
- tDynAngle // 27 //JJCP
-};
-
-
-extern NSString *pasteBoardOsiriX;
-extern NSString *pasteBoardOsiriXPlugin;
-
-enum { annotNone = 0, annotGraphics, annotBase, annotFull };
-enum { barHide = 0, barOrigin, barFused, barBoth };
-enum { syncroOFF = 0, syncroABS = 1, syncroREL = 2, syncroLOC = 3};
-
-typedef enum {DCMViewTextAlignLeft, DCMViewTextAlignCenter, DCMViewTextAlignRight} DCMViewTextAlign;
-
-@class GLString;
-@class DCMPix;
-@class DCMView;
-@class ROI;
-@class OrthogonalMPRController;
-@class DICOMExport;
-//@class LoupeController;
-@class DCMObject;
-
-@interface DCMExportPlugin: NSObject
-- (void) finalize:(DCMObject*) dcmDst withSourceObject:(DCMObject*) dcmObject;
-- (NSString*) seriesName;
-@end
-
-/** \brief Image/Frame View for ViewerController */
-
-@interface DCMView: NSOpenGLView
-{
- NSInteger _imageRows;
- NSInteger _imageColumns;
- NSInteger _tag;
-
- BOOL flippedData;
-
- NSString *yearOld;
-
- ROI *curROI;
- int volumicData;
- BOOL drawingROI, noScale, volumicSeries;
- DCMView *blendingView;
- float blendingFactor, blendingFactorStart;
- BOOL eraserFlag; // use by the PaletteController to switch between the Brush and the Eraser
- BOOL colorTransfer;
- unsigned char *colorBuf, *blendingColorBuf;
- unsigned char alphaTable[256], opaqueTable[256], redTable[256], greenTable[256], blueTable[256];
- float redFactor, greenFactor, blueFactor;
- long blendingMode;
-
- float sliceFromTo[ 2][ 3], sliceFromToS[ 2][ 3], sliceFromToE[ 2][ 3], sliceFromTo2[ 2][ 3], sliceFromToThickness;
-
- float sliceVector[ 3];
- float slicePoint3D[ 3];
- float syncRelativeDiff;
- long syncSeriesIndex;
-
- float mprVector[ 3], mprPoint[ 3];
-
- short thickSlabMode, thickSlabStacks;
-
- NSImage *myImage;
-
- NSMutableArray *rectArray;
-
- NSMutableArray *dcmPixList;
- NSArray *dcmFilesList;
- NSMutableArray *dcmRoiList, *curRoiList;
- DCMPix *curDCM;
- DCMExportPlugin *dcmExportPlugin;
-
- char listType;
-
- short curImage, startImage;
-
- short currentTool, currentToolRight, currentMouseEventTool;
-
- BOOL mouseDragging;
- BOOL suppress_labels; // keep from drawing the labels when command+shift is pressed
-
- NSPoint start, originStart, originOffsetStart, previous;
-
- float startWW, curWW, startMin, startMax;
- float startWL, curWL;
-
- float bdstartWW, bdcurWW, bdstartMin, bdstartMax;
- float bdstartWL, bdcurWL;
-
- BOOL curWLWWSUVConverted;
- float curWLWWSUVFactor;
-
- NSSize scaleStart, scaleInit;
-
- double resizeTotal;
- float scaleValue, startScaleValue;
- float rotation, rotationStart;
- NSPoint origin, originOffset;
- short crossMove;
-
- NSMatrix *matrix;
-
- long count;
-
- BOOL QuartzExtreme;
-
- BOOL xFlipped, yFlipped;
-
- long fontListGLSize[256];
- long labelFontListGLSize[ 256];
- NSSize stringSize;
- NSFont *labelFont;
- NSFont *fontGL;
- NSColor *fontColor;
- GLuint fontListGL;
- GLuint labelFontListGL;
- float fontRasterY;
-
- NSPoint mesureA, mesureB;
- NSRect roiRect;
- NSString *stringID;
- NSSize previousViewSize;
-
- float contextualMenuInWindowPosX;
- float contextualMenuInWindowPosY;
-
-
- float mouseXPos, mouseYPos;
- float pixelMouseValue;
- long pixelMouseValueR, pixelMouseValueG, pixelMouseValueB;
-
- float blendingMouseXPos, blendingMouseYPos;
- float blendingPixelMouseValue;
- long blendingPixelMouseValueR, blendingPixelMouseValueG, blendingPixelMouseValueB;
-
- long textureX, blendingTextureX;
- long textureY, blendingTextureY;
- GLuint * pTextureName;
- GLuint * blendingTextureName;
- long textureWidth, blendingTextureWidth;
- long textureHeight, blendingTextureHeight;
-
- BOOL f_ext_texture_rectangle; // is texture rectangle extension supported
- BOOL f_arb_texture_rectangle; // is texture rectangle extension supported
- BOOL f_ext_client_storage; // is client storage extension supported
- BOOL f_ext_packed_pixel; // is packed pixel extension supported
- BOOL f_ext_texture_edge_clamp; // is SGI texture edge clamp extension supported
- BOOL f_gl_texture_edge_clamp; // is OpenGL texture edge clamp support (1.2+)
- unsigned long edgeClampParam; // the param that is passed to the texturing parmeteres
- long maxTextureSize; // the minimum max texture size across all GPUs
- long maxNOPTDTextureSize; // the minimum max texture size across all GPUs that support non-power of two texture dimensions
- long TEXTRECTMODE;
-
- BOOL isKeyView; //needed for Image View subclass
- NSCursor *cursor;
-
- BOOL cursorSet;
- NSTrackingArea *cursorTracking;
-
- NSPoint display2DPoint;
-
- NSMutableDictionary *stringTextureCache;
-
- BOOL _dragInProgress; // Are we drag and dropping
- NSTimer *_mouseDownTimer; //Timer to check if mouseDown is Persisiting;
- NSTimer *_rightMouseDownTimer; //Checking For Right hold
- NSImage *destinationImage; //image will be dropping
-
- BOOL _hasChanged, needToLoadTexture, dontEnterReshape, showDescriptionInLarge;
-
- GLString *showDescriptionInLargeText;
-
- //Context for rendering to iChat
- NSOpenGLContext *_alternateContext;
-
- BOOL drawing;
-
- int repulsorRadius;
- NSPoint repulsorPosition;
- NSTimer *repulsorColorTimer;
- float repulsorAlpha, repulsorAlphaSign;
- BOOL repulsorROIEdition;
- long scrollMode;
-
- NSPoint ROISelectorStartPoint, ROISelectorEndPoint;
- BOOL selectorROIEdition;
- NSMutableArray *ROISelectorSelectedROIList;
-
- BOOL syncOnLocationImpossible, updateNotificationRunning;
-
- char *resampledBaseAddr, *blendingResampledBaseAddr;
- BOOL zoomIsSoftwareInterpolated, firstTimeDisplay;
-
- int resampledBaseAddrSize, blendingResampledBaseAddrSize;
-
- // iChat
- float iChatWidth, iChatHeight;
- unsigned char* iChatCursorTextureBuffer;
- GLuint iChatCursorTextureName;
- NSSize iChatCursorImageSize;
- NSPoint iChatCursorHotSpot;
-
- GLuint iChatFontListGL;
- NSFont *iChatFontGL;
- long iChatFontListGLSize[ 256];
- NSMutableDictionary *iChatStringTextureCache;
- NSSize iChatStringSize;
- NSRect drawingFrameRect;
-
- BOOL exceptionDisplayed;
- BOOL COPYSETTINGSINSERIES;
- BOOL is2DViewerCached, is2DViewerValue;
-
- char* lensTexture;
- int LENSSIZE;
- float LENSRATIO;
- BOOL cursorhidden;
- int avoidRecursiveSync;
- BOOL avoidChangeWLWWRecursive;
- BOOL TextureComputed32bitPipeline;
-
- NSImage *loupeImage, *loupeMaskImage;
- GLuint loupeTextureID, loupeTextureWidth, loupeTextureHeight;
- GLubyte *loupeTextureBuffer;
- GLuint loupeMaskTextureID, loupeMaskTextureWidth, loupeMaskTextureHeight;
- GLubyte *loupeMaskTextureBuffer;
-
- // LoupeController *loupeController;
-}
-
-@property NSRect drawingFrameRect;
-@property(readonly) NSMutableArray *rectArray, *curRoiList;
-@property BOOL COPYSETTINGSINSERIES, flippedData, dontEnterReshape, showDescriptionInLarge;
-@property(readonly) NSMutableArray *dcmPixList, *dcmRoiList;
-@property(readonly) NSArray *dcmFilesList;
-@property long syncSeriesIndex;
-@property float syncRelativeDiff;
-@property long blendingMode;
-@property(retain,setter=setBlending:) DCMView *blendingView;
-@property(readonly) float blendingFactor;
-@property BOOL xFlipped, yFlipped;
-@property(retain) NSString *stringID;
-@property short currentTool;
-@property(setter=setRightTool:) short currentToolRight;
-@property(readonly) short curImage;
-@property(retain) NSMatrix *theMatrix;
-@property(readonly) BOOL suppressLabels;
-@property float scaleValue, rotation;
-@property NSPoint origin, originOffset;
-@property(readonly) double pixelSpacing, pixelSpacingX, pixelSpacingY;
-@property(readonly) DCMPix *curDCM;
-@property(retain) DCMExportPlugin *dcmExportPlugin;
-@property(readonly) float mouseXPos, mouseYPos;
-@property(readonly) float contextualMenuInWindowPosX, contextualMenuInWindowPosY;
-@property(readonly) GLuint fontListGL;
-@property(readonly) NSFont *fontGL;
-@property NSInteger tag;
-@property(readonly) float curWW, curWL;
-@property NSInteger rows, columns;
-@property(readonly) NSCursor *cursor;
-@property BOOL eraserFlag;
-@property BOOL drawing;
-@property BOOL volumicSeries;
-@property(readonly) BOOL isKeyView, mouseDragging;
-
-+ (void) setDefaults;
-+ (void) setCLUTBARS:(int) c ANNOTATIONS:(int) a;
-+ (void)setPluginOverridesMouse: (BOOL)override;
-+ (void) computePETBlendingCLUT;
-+ (NSString*) findWLWWPreset: (float) wl :(float) ww :(DCMPix*) pix;
-+ (NSSize)sizeOfString:(NSString *)string forFont:(NSFont *)font;
-+ (long) lengthOfString:( char *) cstr forFont:(long *)fontSizeArray;
-+ (BOOL) intersectionBetweenTwoLinesA1:(NSPoint) a1 A2:(NSPoint) a2 B1:(NSPoint) b1 B2:(NSPoint) b2 result:(NSPoint*) r;
-+ (float) Magnitude:( NSPoint) Point1 :(NSPoint) Point2;
-+ (int) DistancePointLine: (NSPoint) Point :(NSPoint) startPoint :(NSPoint) endPoint :(float*) Distance;
-+ (float) pbase_Plane: (float*) point :(float*) planeOrigin :(float*) planeVector :(float*) pointProjection;
-- (BOOL) softwareInterpolation;
-- (void) applyImageTransformation;
-- (void) initFont;
-- (void) gClickCountSetReset;
-- (int) findPlaneAndPoint:(float*) pt :(float*) location;
-- (unsigned char*) getRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp :(BOOL) screenCapture :(BOOL) force8bits;
-
-- (unsigned char*) getRawPixelsWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allTiles:(BOOL) allTiles allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing;
-- (unsigned char*) getRawPixelsWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allTiles:(BOOL) allTiles allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing offset:(int*) offset isSigned:(BOOL*) isSigned;
-
-- (unsigned char*) getRawPixelsViewWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing;
-- (unsigned char*) getRawPixelsViewWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing offset:(int*) offset isSigned:(BOOL*) isSigned;
-
-- (void) blendingPropagate;
-- (void) subtract:(DCMView*) bV;
-- (void) subtract:(DCMView*) bV absolute:(BOOL) abs;
-- (void) multiply:(DCMView*) bV;
-- (GLuint *) loadTextureIn:(GLuint *) texture blending:(BOOL) blending colorBuf: (unsigned char**) colorBufPtr textureX:(long*) tX textureY:(long*) tY redTable:(unsigned char*) rT greenTable:(unsigned char*) gT blueTable:(unsigned char*) bT textureWidth: (long*) tW textureHeight:(long*) tH resampledBaseAddr:(char**) rAddr resampledBaseAddrSize:(int*) rBAddrSize;
-- (short)syncro;
-- (void)setSyncro:(short) s;
-
-// checks to see if tool is for ROIs. maybe better name - (BOOL)isToolforROIs:(long)tool
-- (BOOL) roiTool:(long) tool;
-- (void) prepareToRelease;
-- (void) orientationCorrectedToView:(float*) correctedOrientation;
-- (NSPoint) ConvertFromNSView2GL:(NSPoint) a;
-- (NSPoint) ConvertFromView2GL:(NSPoint) a;
-- (NSPoint) ConvertFromUpLeftView2GL:(NSPoint) a;
-- (NSPoint) ConvertFromGL2View:(NSPoint) a;
-- (NSPoint) ConvertFromGL2NSView:(NSPoint) a;
-- (NSPoint) ConvertFromGL2Screen:(NSPoint) a;
-- (NSPoint) ConvertFromGL2GL:(NSPoint) a toView:(DCMView*) otherView;
-- (NSRect) smartCrop;
-- (void) setWLWW:(float) wl :(float) ww;
-- (void)discretelySetWLWW:(float)wl :(float)ww;
-- (void) getWLWW:(float*) wl :(float*) ww;
-- (void) getThickSlabThickness:(float*) thickness location:(float*) location;
-- (void) setCLUT:( unsigned char*) r :(unsigned char*) g :(unsigned char*) b;
-- (NSImage*) nsimage;
-- (NSImage*) nsimage:(BOOL) originalSize;
-- (NSImage*) nsimage:(BOOL) originalSize allViewers:(BOOL) allViewers;
-- (NSDictionary*) exportDCMCurrentImage: (DICOMExport*) exportDCM size:(int) size;
-- (NSImage*) exportNSImageCurrentImageWithSize:(int) size;
-- (void) setIndex:(short) index;
-- (void) setIndexWithReset:(short) index :(BOOL)sizeToFit;
-- (void) setDCM:(NSMutableArray*) c :(NSArray*)d :(NSMutableArray*)e :(short) firstImage :(char) type :(BOOL) reset;
-- (void) sendSyncMessage:(short) inc;
-- (void) loadTextures;
-- (void)loadTexturesCompute;
-- (void) flipVertical:(id) sender;
-- (void) flipHorizontal:(id) sender;
-- (void) setFusion:(short) mode :(short) stacks;
-- (void) FindMinimumOpenGLCapabilities;
-- (NSPoint) rotatePoint:(NSPoint) a;
-- (void) setOrigin:(NSPoint) x;
-- (void) setOriginX:(float) x Y:(float) y;
-- (void) setOriginOffset:(NSPoint) x;
-- (void) scaleToFit;
-- (float) scaleToFitForDCMPix: (DCMPix*) d;
-- (void) setBlendingFactor:(float) f;
-- (void) sliderAction:(id) sender;
-- (void) roiSet;
-- (void) roiSet:(ROI*) aRoi;
-- (void) colorTables:(unsigned char **) a :(unsigned char **) r :(unsigned char **)g :(unsigned char **) b;
-- (void) blendingColorTables:(unsigned char **) a :(unsigned char **) r :(unsigned char **)g :(unsigned char **) b;
-- (void )changeFont:(id)sender;
-- (IBAction) sliderRGBFactor:(id) sender;
-- (IBAction) alwaysSyncMenu:(id) sender;
-- (void) getCLUT:( unsigned char**) r : (unsigned char**) g : (unsigned char**) b;
-- (void) sync:(NSNotification*)note;
-- (id)initWithFrame:(NSRect)frame imageRows:(int)rows imageColumns:(int)columns;
-- (float)getSUV;
-- (IBAction) roiLoadFromXMLFiles: (NSArray*) filenames;
-- (BOOL)checkHasChanged;
-- (void) drawRectIn:(NSRect) size :(GLuint *) texture :(NSPoint) offset :(long) tX :(long) tY :(long) tW :(long) tH;
-- (void) DrawNSStringGL: (NSString*) cstrOut :(GLuint) fontL :(long) x :(long) y;
-- (void) DrawNSStringGL: (NSString*) str :(GLuint) fontL :(long) x :(long) y rightAlignment: (BOOL) right useStringTexture: (BOOL) stringTex;
-- (void)DrawNSStringGL:(NSString*)str :(GLuint)fontL :(long)x :(long)y align:(DCMViewTextAlign)align useStringTexture:(BOOL)stringTex;
-- (void) DrawCStringGL: ( char *) cstrOut :(GLuint) fontL :(long) x :(long) y;
-- (void) DrawCStringGL: ( char *) cstrOut :(GLuint) fontL :(long) x :(long) y rightAlignment: (BOOL) right useStringTexture: (BOOL) stringTex;
-- (void)DrawCStringGL:(char*)cstrOut :(GLuint)fontL :(long)x :(long)y align:(DCMViewTextAlign)align useStringTexture:(BOOL)stringTex;
-- (void) drawTextualData:(NSRect) size :(long) annotations;
-- (void) draw2DPointMarker;
-- (void) drawImage:(NSImage *)image inBounds:(NSRect)rect;
-- (void) setScaleValueCentered:(float) x;
-- (void) updateCurrentImage: (NSNotification*) note;
-- (void) setImageParamatersFromView:(DCMView *)aView;
-- (void) setRows:(int)rows columns:(int)columns;
-- (void) updateTilingViews;
-- (void) becomeMainWindow;
-- (void) checkCursor;
-- (NSManagedObject *)imageObj;
-- (NSManagedObject *)seriesObj;
-- (void) updatePresentationStateFromSeries;
-- (void) updatePresentationStateFromSeriesOnlyImageLevel: (BOOL) onlyImage;
-- (void) setCursorForView: (long) tool;
-- (long) getTool: (NSEvent*) event;
-- (void)resizeWindowToScale:(float)resizeScale;
-- (float) getBlendedSUV;
-- (OrthogonalMPRController*) controller;
-- (void) roiChange:(NSNotification*)note;
-- (void) roiSelected:(NSNotification*) note;
-- (void) setStartWLWW;
-- (void) stopROIEditing;
-- (void) computeMagnifyLens:(NSPoint) p;
-- (void)makeTextureFromImage:(NSImage*)image forTexture:(GLuint*)texName buffer:(GLubyte*)buffer textureUnit:(GLuint)textureUnit;
-- (void) stopROIEditingForce:(BOOL) force;
-- (void)subDrawRect: (NSRect)aRect; // Subclassable, default does nothing.
-- (void) updateImage;
-- (BOOL) shouldPropagate;
-- (NSPoint) convertFromView2iChat: (NSPoint) a;
-- (NSPoint) convertFromNSView2iChat: (NSPoint) a;
-- (void) annotMenu:(id) sender;
-- (ROI*) clickInROI: (NSPoint) tempPt;
-- (void) switchShowDescriptionInLarge;
-- (void) deleteLens;
-- (void)getOrientationText:(char *) orientation : (float *) vector :(BOOL) inv;
-- (NSMutableArray*) selectedROIs;
-- (void) computeSliceIntersection: (DCMPix*) oPix sliceFromTo: (float[2][3]) sft vector: (float*) vectorB origin: (float*) originB;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx withShift: (double) shift;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx withShift: (double) shift showPoint: (BOOL) showPoint;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift half:(BOOL) half;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift half:(BOOL) half showPoint: (BOOL) showPoint;
-+ (unsigned char*) PETredTable;
-+ (unsigned char*) PETgreenTable;
-+ (unsigned char*) PETblueTable;
-- (void) startDrag:(NSTimer*)theTimer;
-- (void)deleteMouseDownTimer;
-- (id)dicomImage;
-- (void) roiLoadFromFilesArray: (NSArray*) filenames;
-- (id)windowController;
-- (BOOL)is2DViewer;
--(BOOL)actionForHotKey:(NSString *)hotKey;
-+(NSDictionary*) hotKeyDictionary;
-+(NSDictionary*) hotKeyModifiersDictionary;
-
-//iChat
-// New Draw method to allow for IChat Theater
-- (void) drawRect:(NSRect)aRect withContext:(NSOpenGLContext *)ctx;
-- (BOOL)_checkHasChanged:(BOOL)flag;
-
-// Methods for mouse drag response Can be modified for subclassing
-// This allow the various tools to have different responses indifferent subclasses.
-// Making it easie to modify mouseDragged:
-- (NSPoint)currentPointInView:(NSEvent *)event;
-- (BOOL)checkROIsForHitAtPoint:(NSPoint)point forEvent:(NSEvent *)event;
-- (BOOL)mouseDraggedForROIs:(NSEvent *)event;
-- (void)mouseDraggedCrosshair:(NSEvent *)event;
-- (void)mouseDragged3DRotate:(NSEvent *)event;
-- (void)mouseDraggedZoom:(NSEvent *)event;
-- (void)mouseDraggedTranslate:(NSEvent *)event;
-- (void)mouseDraggedRotate:(NSEvent *)event;
-- (void)mouseDraggedImageScroll:(NSEvent *)event;
-- (void)mouseDraggedBlending:(NSEvent *)event;
-- (void)mouseDraggedWindowLevel:(NSEvent *)event;
-- (void)mouseDraggedRepulsor:(NSEvent *)event;
-- (void)mouseDraggedROISelector:(NSEvent *)event;
-
-- (void)deleteROIGroupID:(NSTimeInterval)groupID;
-
-- (void)setIsLUT12Bit:(BOOL)boo;
-- (BOOL)isLUT12Bit;
-
-//- (void)displayLoupe;
-//- (void)displayLoupeWithCenter:(NSPoint)center;
-//- (void)hideLoupe;
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/DICOMExport.h b/CMIV_CTA_TOOLS/OsiriX Headers/DICOMExport.h
deleted file mode 100644
index bcf70af..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/DICOMExport.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-@class DCMObject;
-@class DCMExportPlugin;
-
-/** \brief Export image as DICOM */
-@interface DICOMExport : NSObject
-{
- NSString *dcmSourcePath;
- DCMObject *dcmDst;
-
- // Raw data support
- unsigned char *data;
- long width, height, spp, bpp;
- BOOL isSigned, modalityAsSource;
- int offset;
-
- // NSImage support
- NSImage *image;
- NSBitmapImageRep *imageRepresentation;
- unsigned char *imageData;
- BOOL freeImageData;
-
- int exportInstanceNumber, exportSeriesNumber;
- NSString *exportSeriesUID;
- NSString *exportSeriesDescription;
-
- long ww, wl;
- float spacingX, spacingY;
- float sliceThickness;
- float sliceInterval;
- float orientation[ 6];
- float position[ 3];
- float slicePosition;
-}
-
-// Is this DCM file based on another DCM file?
-- (void) setSourceFile:(NSString*) isource;
-
-// Set Pixel Data from a raw source
-- (long) setPixelData: (unsigned char*) idata
- samplePerPixel: (long) ispp
- bitsPerPixel: (long) ibpp
- width: (long) iwidth
- height: (long) iheight;
-
-- (void) setSigned: (BOOL) s;
-- (void) setOffset: (int) o;
-
-// Set Pixel Data from a NSImage
-- (long) setPixelNSImage: (NSImage*) iimage;
-
-// Write the image data
-- (NSString*) writeDCMFile: (NSString*) dstPath;
-- (NSString*) writeDCMFile: (NSString*) dstPath withExportDCM:(DCMExportPlugin*) dcmExport;
-- (void) setModalityAsSource: (BOOL) v;
-- (NSString*) seriesDescription;
-- (void) setSeriesDescription: (NSString*) desc;
-- (void) setSeriesNumber: (long) no;
-- (void) setDefaultWWWL: (long) ww :(long) wl;
-- (void) setPixelSpacing: (float) x :(float) y;
-- (void) setSliceThickness: (double) t;
-- (void) setOrientation: (float*) o;
-- (void) setPosition: (float*) p;
-- (void) setSlicePosition: (float) p;
-- (NSString*) SOPInstanceUID;
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/MyPoint.h b/CMIV_CTA_TOOLS/OsiriX Headers/MyPoint.h
deleted file mode 100644
index f71cdb3..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/MyPoint.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-/** \brief Wrapper for NSPoint */
-
-@interface MyPoint : NSObject
-{
- NSPoint pt;
-}
-
-+ (MyPoint*) point: (NSPoint) a;
-
-- (id) initWithPoint:(NSPoint) a;
-- (void) setPoint:(NSPoint) a;
-- (float) y;
-- (float) x;
-- (NSPoint) point;
-- (BOOL) isEqualToPoint:(NSPoint) a;
-- (BOOL) isNearToPoint:(NSPoint) a :(float) scale :(float) ratio;
-- (void) move:(float) x :(float) y;
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/OSIWindowController.h b/CMIV_CTA_TOOLS/OsiriX Headers/OSIWindowController.h
deleted file mode 100644
index 2d156e9..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/OSIWindowController.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-/** \brief base class for Window Controllers in OsiriX
-*
-*Root class for the Viewer Window Controllers such as ViewerController
-*and Window3DController
-*/
-
-#import
-
-
-enum OsiriXBlendingTypes {BlendingPlugin = -1, BlendingFusion = 1, BlendingSubtraction, BlendingMultiplication, BlendingRed, BlendingGreen, BlendingBlue, Blending2DRegistration, Blending3DRegistration, BlendingLL};
-
-#ifdef id
-#define redefineID
-#undef id
-#endif
-
-@interface OSIWindowController : NSWindowController
-{
- int _blendingType;
-
- BOOL magneticWindowActivated;
- BOOL windowIsMovedByTheUserO;
- NSRect savedWindowsFrameO;
-}
-
-+ (void) setDontEnterMagneticFunctions:(BOOL) a;
-- (void) setMagnetic:(BOOL) a;
-
-- (NSMutableArray*) pixList;
-- (void) addToUndoQueue:(NSString*) what;
-- (int)blendingType;
-
-- (IBAction) redo:(id) sender;
-- (IBAction) undo:(id) sender;
-
-- (void) applyShading:(id) sender;
-- (void) updateAutoAdjustPrinting: (id) sender;
-
-#pragma mark-
-#pragma mark current Core Data Objects
-- (NSManagedObject *)currentStudy;
-- (NSManagedObject *)currentSeries;
-- (NSManagedObject *)currentImage;
-
-- (float)curWW;
-- (float)curWL;
-@end
-
-#ifdef redefineID
-#define id Id
-#undef redefineID
-#endif
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/OsiriXFixedPointVolumeRayCastMapper.h b/CMIV_CTA_TOOLS/OsiriX Headers/OsiriXFixedPointVolumeRayCastMapper.h
deleted file mode 100755
index a0604a9..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/OsiriXFixedPointVolumeRayCastMapper.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef __OsiriXFixedPointVolumeRayCastMapper_h
-#define __OsiriXFixedPointVolumeRayCastMapper_h
-
-#include "vtkFixedPointVolumeRayCastMapper.h"
-
-class VTK_VOLUMERENDERING_EXPORT OsiriXFixedPointVolumeRayCastMapper : public vtkFixedPointVolumeRayCastMapper
-{
-public:
- static OsiriXFixedPointVolumeRayCastMapper *New();
- void Render( vtkRenderer *, vtkVolume * );
-
-protected:
- OsiriXFixedPointVolumeRayCastMapper();
-
-private:
- OsiriXFixedPointVolumeRayCastMapper(const OsiriXFixedPointVolumeRayCastMapper&); // Not implemented.
- void operator=(const OsiriXFixedPointVolumeRayCastMapper&); // Not implemented.
-};
-#endif
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/PluginFilter.h b/CMIV_CTA_TOOLS/OsiriX Headers/PluginFilter.h
deleted file mode 100755
index 82ae3d5..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/PluginFilter.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-#import "DCMPix.h" // An object containing an image, including pixels values
-#import "ViewerController.h" // An object representing a 2D Viewer window
-#import "DCMView.h" // An object representing the 2D pane, contained in a 2D Viewer window
-#import "MyPoint.h" // An object representing a point
-#import "ROI.h" // An object representing a ROI
-
-
-/** \brief Base class for plugins */
-@interface PluginFilter : NSObject
-{
- ViewerController* viewerController; // Current (frontmost and active) 2D viewer containing an image serie
-}
-
-+ (PluginFilter *)filter;
-
-// FUNCTIONS TO SUBCLASS
-
-/** This function is called to apply your plugin */
-- (long) filterImage: (NSString*) menuName;
-
-/** This function is the entry point of Pre-Process plugins */
-- (long) processFiles: (NSMutableArray*) files;
-
-/** This function is the entry point of Report plugins
-* action = @"dateReport" -> return NSDate date of creation or modification of the report, nil if no report available
-* action = @"deleteReport" -> return nil, delete the report
-* action = @"openReport" -> return nil, open and display the report, create a new one if no report available
-*/
-- (id) report: (NSManagedObject*) study action:(NSString*) action;
-
-
-
-/** This function is called at the OsiriX startup, if you need to do some memory allocation, etc. */
-- (void) initPlugin;
-
-/** Opportunity for plugins to make Menu changes if necessary */
-
-- (void)setMenus;
-
-// UTILITY FUNCTIONS - Defined in the PluginFilter.m file
-
-/** Return the complete lists of opened studies in OsiriX */
-/** NSArray contains an array of ViewerController objects */
-- (NSArray*) viewerControllersList;
-
-/** Create a new 2D window, containing a copy of the current series */
-- (ViewerController*) duplicateCurrent2DViewerWindow;
-
-// Following stubs are to be subclassed by report filters. Included here to remove compile-time warning messages.
-/** Stub is to be subclassed by report filters */
-- (id)reportDateForStudy: (NSManagedObject*)study;
-/** Stub is to be subclassed by report filters */
-- (void)deleteReportForStudy: (NSManagedObject*)study;
-/** Stub is to be subclassed by report filters */
-- (void)createReportForStudy: (NSManagedObject*)study;
-
-/** PRIVATE FUNCTIONS - DON'T SUBCLASS OR MODIFY */
-- (long) prepareFilter:(ViewerController*) vC;
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/QuicktimeExport.h b/CMIV_CTA_TOOLS/OsiriX Headers/QuicktimeExport.h
deleted file mode 100644
index 703d14a..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/QuicktimeExport.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import
-
-
-/** \brief QuickTime export */
-@interface QuicktimeExport : NSObject {
-
- id object;
- SEL selector;
- long numberOfFrames;
- unsigned long codec;
- long quality;
-
- NSSavePanel *panel;
- NSArray *exportTypes;
-
- IBOutlet NSView *view;
- IBOutlet NSPopUpButton *type;
- IBOutlet NSSlider *rateSlider;
- IBOutlet NSTextField *rateValue;
-}
-
-+ (NSString*) generateQTVR:(NSString*) srcPath frames:(int) frames;
-- (id) initWithSelector:(id) o :(SEL) s :(long) f;
-- (NSString*) createMovieQTKit:(BOOL) openIt :(BOOL) produceFiles :(NSString*) name;
-- (IBAction) setRate:(id) sender;
-- (IBAction) changeExportType:(id) sender;
-@end
-
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/ROI.h b/CMIV_CTA_TOOLS/OsiriX Headers/ROI.h
deleted file mode 100644
index 3863082..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/ROI.h
+++ /dev/null
@@ -1,394 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "MyPoint.h"
-
-#import
-
-enum
-{
- ROI_sleep = 0,
- ROI_drawing = 1,
- ROI_selected = 2,
- ROI_selectedModify = 3
-};
-
-@class DCMView;
-@class DCMPix;
-@class StringTexture;
-@class DCMObject;
-
-/** \brief Region of Interest
-*
-* Region of Interest on a 2D Image:\n
-* Types\n
-* tMesure = line\n
-* tROI = Rectangle\n
-* tOval = Oval\n
-* tOPolygon = Open Polygon\n
-* tCPolygon = Closed Polygon\n
-* tAngle = Angle\n
-* tText = Text\n
-* tArrow = Arrow\n
-* tPencil = Pencil\n
-* t3Dpoint= 3D Point\n
-* t2DPoint = 2D Point\n
-* tPlain = Brush ROI\n
-* tLayerROI = Layer Overlay\n
-* tAxis = Axis\n
-* tDynAngle = Dynamic Angle\n
-*/
-
-@interface ROI : NSObject
-{
- NSLock *roiLock;
-
- int textureWidth, textureHeight;
-
- unsigned char* textureBuffer;
-
- NSMutableArray *ctxArray; //All contexts where this texture is used
- NSMutableArray *textArray; //All texture id
-
- int textureUpLeftCornerX,textureUpLeftCornerY,textureDownRightCornerX,textureDownRightCornerY;
- int textureFirstPoint;
-
- NSMutableArray *points;
- NSMutableArray *zPositions;
- NSRect rect;
-
- long type;
- long mode;
- BOOL needQuartz;
-
- float thickness;
-
- BOOL fill;
- float opacity;
- RGBColor color;
-
- BOOL closed,clickInTextBox;
-
- NSString *name;
- NSString *comments;
-
- double pixelSpacingX, pixelSpacingY;
- NSPoint imageOrigin;
-
- // **** **** **** **** **** **** **** **** **** **** TRACKING
-
- int PointUnderMouse;
- long selectedModifyPoint;
- NSPoint clickPoint, previousPoint, originAnchor;
- long fontListGL, *fontSize;
-
- DCMView *curView;
- DCMPix *pix;
-
- float rmean, rmax, rmin, rdev, rtotal;
- float Brmean, Brmax, Brmin, Brdev, Brtotal;
-
- float mousePosMeasure;
-
- StringTexture *stringTex;
- NSMutableDictionary *stanStringAttrib;
-
- ROI* parentROI;
-
- NSRect drawRect;
-
- float offsetTextBox_x, offsetTextBox_y;
-
- char line1[ 256], line2[ 256], line3[ 256], line4[ 256], line5[ 256], line6[ 256];
- NSString *textualBoxLine1, *textualBoxLine2, *textualBoxLine3, *textualBoxLine4, *textualBoxLine5, *textualBoxLine6;
-
- BOOL _displayCalciumScoring;
- int _calciumThreshold;
- double _sliceThickness;
- int _calciumCofactor;
-
- NSString *layerReferenceFilePath;
- NSImage *layerImage;//, *layerImageWhenSelected;
- NSData *layerImageJPEG;//, *layerImageWhenSelectedJPEG;
- float layerPixelSpacingX, layerPixelSpacingY;
- BOOL isLayerOpacityConstant;
- BOOL canColorizeLayer, canResizeLayer;
- NSColor *layerColor;
-
- NSNumber *uniqueID; // <- not saved, only valid during the 'life' of a ROI
- NSTimeInterval groupID; // timestamp of a ROI group. Grouped ROI will be selected/deleted together.
-
- BOOL displayTextualData;
-
- BOOL locked;
- BOOL selectable;
- BOOL isAliased;
- int originalIndexForAlias;
-}
-
-@property NSPoint imageOrigin;
-@property(readonly) int textureWidth, textureHeight;
-@property(readonly) int textureDownRightCornerX,textureDownRightCornerY, textureUpLeftCornerX, textureUpLeftCornerY;
-@property(readonly) unsigned char *textureBuffer;
-@property float opacity;
-@property int originalIndexForAlias;
-@property BOOL locked, selectable, isAliased;
-@property(retain) NSString *name, *comments;
-@property(readonly) long type;
-@property(setter=setROIMode:) long ROImode;
-@property(retain) NSMutableArray *points; // Return/set the points state of the ROI
-@property(readonly) NSMutableArray *zPositions;
-@property(readonly) BOOL clickInTextBox;
-@property(setter=setROIRect:) NSRect rect; // To create a Rectangular ROI (tROI) or an Oval ROI (tOval) or a 2DPoint
-@property(retain) DCMPix *pix; // The DCMPix associated to this ROI
-@property(readonly) DCMView *curView; // The DCMView associated to this ROI
-@property float mousePosMeasure;
-@property(readonly) NSData *data;
-@property(setter=setColor:) RGBColor rgbcolor;
-@property float thickness;
-@property(retain) ROI *parentROI;
-@property double sliceThickness, pixelSpacingX, pixelSpacingY;
-
-- (void) setColor:(RGBColor) a globally: (BOOL) g;
-- (void) setThickness:(float) a globally: (BOOL) g;
-- (void) setOpacity:(float)newOpacity globally: (BOOL) g;
-
-/** Set default ROI name (if not set, then default name is the currentTool) */
-+ (void) setDefaultName:(NSString*) n;
-/** Return the default name */
-+ (NSString*) defaultName;
-+ (void) setFontHeight: (float) f;
-
-- (void) setDefaultName:(NSString*) n;
-- (NSString*) defaultName;
-
-+ (BOOL) splineForROI;
-
-/** Load User Defaults */
-+(void) loadDefaultSettings;
-
-/** Save User Defaults */
-+(void) saveDefaultSettings;
-
-/** Create a new ROI, needs the current pixel resolution and image origin
-* @param itype ROI Type
-* @param ipixelSpacing Assumes pixel size is same in both x and y
-* @param iimageOrigin Origin on image
-*/
-- (id) initWithType: (long) itype :(float) ipixelSpacing :(NSPoint) iimageOrigin;
-
-/** Create a new ROI, needs the current pixel resolution x and y and image origin* @param itype ROI Type
-* @param ipixelSpacingx Pixel width
-* @param ipixelSpacingy Pixel height
-* @param iimageOrigin Origin on image
-*/
-- (id) initWithType: (long) itype :(float) ipixelSpacingx :(float) ipixelSpacingy :(NSPoint) iimageOrigin;
-
-/** arg: specific methods for tPlain roi
-* @param tBuff Pointer to the texture buffer
-* @param tWidth Texture width
-* @param tHeight Texture height
-* @param tName ROI Name
-* @param posX Origin.x of texture upper left corner
-* @param posY Origin.y of texture upper left corner
-* @param ipixelSpacingx Pixel width
-* @param ipixelSpacingy Pixel height
-* @param iimageOrigin Origin on image
-*/
-- (id) initWithTexture: (unsigned char*)tBuff textWidth:(int)tWidth textHeight:(int)tHeight textName:(NSString*)tName
- positionX:(int)posX positionY:(int)posY
- spacingX:(float) ipixelSpacingx spacingY:(float) ipixelSpacingy imageOrigin:(NSPoint) iimageOrigin;
-
-
-
-/** Set offset for text box */
-- (void) setTextBoxOffset:(NSPoint) o;
-
-
-/** Prints info about texture to output */
-- (void)displayTexture;
-
-/** Set resolution and origin associated to the ROI */
-- (void) setOriginAndSpacing :(float) ipixelSpacing :(NSPoint) iimageOrigin;
-
-/** Set resolution and origin associated to the ROI */
-- (void) setOriginAndSpacing :(float) ipixelSpacingx :(float) ipixelSpacingy :(NSPoint) iimageOrigin;
-
-/** Set resolution and origin associated to the ROI */
-- (void) setOriginAndSpacing :(float) ipixelSpacingx :(float) ipixelSpacingy :(NSPoint) iimageOrigin :(BOOL) sendNotification;
-
-/** Compute the roiArea in cm2 */
-- (float) roiArea;
-
-/** Compute the geometric centroid in pixel space */
-- (NSPoint) centroid;
-
-/** Compute the length for tMeasure ROI in cm */
-- (float) MesureLength: (float*) pixels;
-
-/** Compute the length for between two points in cm */
-- (float) Length:(NSPoint) mesureA :(NSPoint) mesureB;
-- (float) LengthFrom:(NSPoint) mesureA to:(NSPoint) mesureB inPixel: (BOOL) inPixel;
-
-/** Compute an angle between 2 lines */
-- (float) Angle:(NSPoint) p2 :(NSPoint) p1 :(NSPoint) p3;
-
-- (float*) dataValuesAsFloatPointer :(long*) no;
-- (NSMutableArray*) dataValues;
-
-/** Find a point between two points
-* @param a First point
-* @param b Second point
-* @param r Weighting bewtween the two points
-*/
-+ (NSPoint) pointBetweenPoint:(NSPoint) a and:(NSPoint) b ratio: (float) r;
-
-
-+ (NSMutableArray*) resamplePoints: (NSArray*) points number:(int) no;
-
-
-/** Update ROI on mouse down. For most rois this will be the origin of the ROI */
-- (BOOL)mouseRoiDown:(NSPoint)pt :(int)slice :(float)scale;
-
-/** Update ROI on mouse down in the current image. For most rois this will be the origin of the ROI */
-- (BOOL) mouseRoiDown:(NSPoint) pt :(float) scale;
-
-/** Move the ROI */
-- (void) roiMove:(NSPoint) offset;
-
-/** Move the ROI */
-- (void) roiMove:(NSPoint) offset :(BOOL) sendNotification;
-
-/** Modify roi as mouse is dragged */
-- (BOOL) mouseRoiDragged:(NSPoint) pt :(unsigned int) modifier :(float) scale;
-
-/** Moedify roi on mouse up */
-- (BOOL) mouseRoiUp:(NSPoint) pt;
-
-/** Returns YES if roi is valid */
-- (BOOL) valid;
-
-/** Draw the ROI */
-- (void) drawROI :(float) scaleValue :(float) offsetx :(float) offsety :(float) spacingx :(float) spacingy;
-- (void) drawROIWithScaleValue:(float)scaleValue offsetX:(float)offsetx offsetY:(float)offsety pixelSpacingX:(float)spacingX pixelSpacingY:(float)spacingY highlightIfSelected:(BOOL)highlightIfSelected thickness:(float)thick prepareTextualData:(BOOL) prepareTextualData;
-
-/** Always returns NO */
-- (BOOL) needQuartz;
-
-/** Delete the current selected point */
-- (BOOL) deleteSelectedPoint;
-
-/** The info displayed in the text box */
-- (NSMutableDictionary*) dataString;
-
-/** Set the font */
-- (void) setRoiFont: (long) f :(long*) s :(DCMView*) v;
-
-/** Returns an OpenGL string */
-- (void) glStr: (unsigned char *) cstrOut :(float) x :(float) y :(float) line;
-
-/** Recompute */
-- (void) recompute;
-
-/** Rotate the ROI */
-- (void) rotate: (float) angle :(NSPoint) center;
-
-/** Test to see if ROI can be resized */
-- (BOOL)canResize;
-
-/** Resize ROI */
-- (void) resize: (float) factor :(NSPoint) center;
-
-/** Test to see if texture can be reduced */
-- (BOOL) reduceTextureIfPossible;
-
-/** Merge two brush ROI together */
-- (void) mergeWithTexture: (ROI*) r;
-
-/** Add a margin to the buffer */
-- (void) addMarginToBuffer: (int) margin;
-
-/** Draw text box for ROI */
-- (void) drawTextualData;
-
-
-/** Test to see if point is in text box or ROI and returns the mode.
-* Can be ROI_Selected or ROI_selectedModify if hit test is YES
-*/
-- (long) clickInROI:(NSPoint) pt :(float) offsetx :(float) offsety :(float) scale :(BOOL) testDrawRect;
-- (NSPoint) ProjectionPointLine: (NSPoint) Point :(NSPoint) startPoint :(NSPoint) endPoint;
-
-/** Delete texture */
-- (void) deleteTexture:(NSOpenGLContext*) c;
-
-
-/** Set cab resize layer */
-- (void) setCanResizeLayer:(BOOL)boo;
-// Calcium Scoring
-/** Cofactor for Calcium Score
-* Cofactor values used by Agaston.
-* Using a threshold of 90 rather than 130. Assuming
-* multislice CT rather than electron beam.
-* We could have a flag for Electron beam rather than multichannel CT
-* and use 130 as a cutoff
-* Based on Hounsfield density of Calcium
-*/
-- (int)calciumScoreCofactor;
-/** Calcium score
-* roi Area * cofactor; area is is mm2.
-*plainArea is number of pixels
-*/
-- (float)calciumScore;
-
-/** Calcium volume
-* area * thickness
-*/
-- (float)calciumVolume;
-
-/** Calcium mass
-* Volume * mean CT Density / 250
- */
-- (float)calciumMass;
-
-@property BOOL displayCalciumScoring;
-@property int calciumThreshold;
-
-@property(retain) NSString *layerReferenceFilePath;
-@property(retain) NSImage *layerImage;
-@property float layerPixelSpacingX, layerPixelSpacingY;
-
-- (GLuint)loadLayerImageTexture;
-- (void)generateEncodedLayerImage;
-- (BOOL)isPoint:(NSPoint)point inRectDefinedByPointA:(NSPoint)pointA pointB:(NSPoint)pointB pointC:(NSPoint)pointC pointD:(NSPoint)pointD;
-- (NSPoint)rotatePoint:(NSPoint)point withAngle:(float)alpha aroundCenter:(NSPoint)center;
-- (void) displayPointUnderMouse:(NSPoint) pt :(float) offsetx :(float) offsety :(float) scale;
-
-@property(retain) NSString *textualBoxLine1, *textualBoxLine2, *textualBoxLine3, *textualBoxLine4, *textualBoxLine5, *textualBoxLine6;
-@property NSTimeInterval groupID;
-
-
-/** Lower right point of ROI */
-- (NSPoint) lowerRightPoint;
-
-@property BOOL isLayerOpacityConstant;
-@property BOOL canColorizeLayer;
-@property BOOL displayTextualData;
-@property(readonly) NSPoint clickPoint;
-
--(NSMutableArray*)splinePoints;
--(NSMutableArray*)splinePoints:(float) scale;
--(NSMutableArray*)splineZPositions;
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/SRAnnotation.h b/CMIV_CTA_TOOLS/OsiriX Headers/SRAnnotation.h
deleted file mode 100644
index f7a1a0b..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/SRAnnotation.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-#ifdef __cplusplus
-#include "dsrdoc.h"
-#else
-typedef char DSRDocument;
-#endif
-
-#import "ROI.h"
-
-@interface SRAnnotation : NSObject
-{
- DSRDocument *document;
- id image;
- BOOL _newSR;
- NSString *_seriesInstanceUID, *_DICOMSRDescription, *_DICOMSeriesNumber, *_reportURL;
- NSData *_dataEncapsulated;
- NSDate *_contentDate;
-}
-
-/** Extracts ROI as NSData from a DICOM SR
- * @param path File path
- */
-+ (NSData *) roiFromDICOM:(NSString *)path;
-
-/** Creates a DICOM SR from an array of ROIs
- * @param rois Array of ROI to archive
- * @param path Path to file
- * @param image the image related to the ROI array
- */
-+ (NSString*) archiveROIsAsDICOM:(NSArray *)rois toPath:(NSString *)path forImage:(id)image;
-
-
-+ (NSString*) getImageRefSOPInstanceUID:(NSString*) path;
-+ (NSString*) getReportFilenameFromSR:(NSString*) path;
-
-- (id) initWithROIs:(NSArray *)ROIs path:(NSString *)path forImage:(NSManagedObject*) im;
-- (id) initWithContentsOfFile:(NSString *)path;
-- (id) initWithDictionary:(NSDictionary *) dict path:(NSString *) path forImage: (NSManagedObject*) im;
-- (id) initWithFileReport:(NSString *) file path:(NSString *) path forImage: (NSManagedObject*) im contentDate: (NSDate*) d;
-- (id) initWithURLReport:(NSString *) s path:(NSString *) path forImage: (NSManagedObject*) im;
-- (void) addROIs:(NSArray *)someROIs;
-- (NSArray *) ROIs;
-- (BOOL) writeToFileAtPath:(NSString *)path;
-- (NSString *) seriesInstanceUID;
-- (void) setSeriesInstanceUID: (NSString *)seriesInstanceUID;
-- (NSString *) sopInstanceUID;
-- (NSString *) sopClassUID;
-- (NSString *) seriesDescription;
-- (NSString *) seriesNumber;
-- (NSData*) dataEncapsulated;
-- (NSString*) reportURL;
-- (NSDictionary*) annotations;
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/Schedulable.h b/CMIV_CTA_TOOLS/OsiriX Headers/Schedulable.h
deleted file mode 100644
index 6a05f3e..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/Schedulable.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "Scheduler.h"
-
-/** \brief Protocol for multithreading scheduling*/
-@protocol Schedulable
--(void)performWorkUnits:(NSSet *)workUnits forScheduler:(Scheduler *)scheduler;
-@end
\ No newline at end of file
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/Scheduler.h b/CMIV_CTA_TOOLS/OsiriX Headers/Scheduler.h
deleted file mode 100644
index 979b8d4..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/Scheduler.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-@protocol Schedulable;
-
-#ifdef id
-#define redefineID
-#undef id
-#endif
-
-/** \brief Does multithreading scheduling*/
-@interface Scheduler : NSObject {
- @private
- id _delegate; // Delegate
- NSObject *_schedulableObject; // Object which has work units to be scheduled
- NSMutableSet *_workUnitsRemaining; // Work units not yet performed in schedule
- NSLock *_remainingUnitsLock; // Lock to keep the remaining work units set consistent
- BOOL _scheduleWasCancelled; // Flag set when schedule is cancelled
- unsigned _numberOfThreads; // Number of simultaneous threads used to perform work
- unsigned _numberOfDetachedThreads; // The current number of worker threads detached.
-}
-
--(id)initForSchedulableObject:(NSObject *)schedObj andNumberOfThreads:(unsigned)numThreads;
--(id)initForSchedulableObject:(NSObject *)schedObj;
--(void)dealloc;
-
--(void)performScheduleForWorkUnits:(NSSet *)workUnits;
--(void)cancelSchedule;
-
-// Template method. Overload in subclasses
--(NSSet *)_workUnitsToExecuteForRemainingUnits:(NSSet *)remainingUnits;
-
-// Accessors
--(unsigned)numberOfThreads;
--(unsigned) numberOfDetachedThreads;
-
--(id)delegate;
--(void)setDelegate:(id)delegate;
-
--(id )schedulableObject;
-
--(NSMutableSet *)_workUnitsRemaining;
-
-@end
-
-@interface Scheduler (SchedulerDelegateMethods)
-
-// Sent in the main thread
--(void)schedulerWillBeginSchedule:(Scheduler *)sender;
-
-// The following are sent in the worker thread
--(BOOL)scheduler:(Scheduler *)scheduler shouldBeginUnits:(NSSet *)units;
--(void)scheduler:(Scheduler *)scheduler didCompleteUnits:(NSSet *)units;
-
-// Sent in the main thread
--(void)schedulerDidCancelSchedule:(Scheduler *)scheduler;
--(void)schedulerDidFinishSchedule:(Scheduler *)scheduler;
-
-@end
-
-#ifdef redefineID
-#define id Id
-#undef redefineID
-#endif
\ No newline at end of file
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/StaticScheduler.h b/CMIV_CTA_TOOLS/OsiriX Headers/StaticScheduler.h
deleted file mode 100644
index b6724cd..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/StaticScheduler.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "Scheduler.h"
-
-/** \brief Static multithreaded Scheduler */
-@interface StaticScheduler : Scheduler {
- @private
- int _numberOfThreadsLeft; // Used to keep track of how many threads already have work
-}
-
--(void)performScheduleForWorkUnits:(NSSet *)workUnits;
--(NSSet *)_workUnitsToExecuteForRemainingUnits:(NSSet *)remainingUnits;
-
-@end
\ No newline at end of file
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/VRView.h b/CMIV_CTA_TOOLS/OsiriX Headers/VRView.h
deleted file mode 100644
index 025d86c..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/VRView.h
+++ /dev/null
@@ -1,563 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-#import "DCMPix.h"
-
-#ifdef __cplusplus
-#import "VTKView.h"
-
-#define id Id
-#include "vtkCommand.h"
-#include "vtkActor.h"
-#include "vtkPolyData.h"
-#include "vtkRenderer.h"
-#include "vtkRenderWindow.h"
-#include "vtkRenderWindowInteractor.h"
-#include "vtkVolume16Reader.h"
-#include "vtkPolyDataMapper.h"
-#include "vtkActor.h"
-#include "vtkOutlineFilter.h"
-#include "vtkImageReader.h"
-#include "vtkImageImport.h"
-#include "vtkCamera.h"
-#include "vtkStripper.h"
-#include "vtkLookupTable.h"
-#include "vtkImageDataGeometryFilter.h"
-#include "vtkProperty.h"
-#include "vtkPolyDataNormals.h"
-#include "vtkContourFilter.h"
-#include "vtkImageData.h"
-#include "vtkImageMapToColors.h"
-#include "vtkImageActor.h"
-#include "vtkLight.h"
-
-#include "vtkPlane.h"
-#include "vtkPlanes.h"
-#include "vtkPlaneSource.h"
-#include "vtkBoxWidget.h"
-#include "vtkPiecewiseFunction.h"
-#include "vtkPiecewiseFunction.h"
-#include "vtkColorTransferFunction.h"
-#include "vtkVolumeProperty.h"
-#include "vtkVolumeRayCastCompositeFunction.h"
-#include "vtkVolumeRayCastMapper.h"
-#include "vtkVolumeRayCastMIPFunction.h"
-#include "vtkFixedPointVolumeRayCastMapper.h"
-#include "vtkTransform.h"
-#include "vtkSphere.h"
-#include "vtkImplicitBoolean.h"
-#include "vtkExtractGeometry.h"
-#include "vtkDataSetMapper.h"
-#include "vtkPicker.h"
-#include "vtkCellPicker.h"
-#include "vtkPointPicker.h"
-#include "vtkLineSource.h"
-#include "vtkPolyDataMapper2D.h"
-#include "vtkActor2D.h"
-#include "vtkExtractPolyDataGeometry.h"
-#include "vtkProbeFilter.h"
-#include "vtkCutter.h"
-#include "vtkTransformPolyDataFilter.h"
-#include "vtkXYPlotActor.h"
-#include "vtkClipPolyData.h"
-#include "vtkBox.h"
-#include "vtkCallbackCommand.h"
-#include "vtkTextActor.h"
-#include "vtkTextProperty.h"
-#include "vtkImageFlip.h"
-#include "vtkAnnotatedCubeActor.h"
-#include "vtkOrientationMarkerWidget.h"
-#include "vtkVolumeTextureMapper2D.h"
-#include "vtkVolumeTextureMapper3D.h"
-#include "OsiriXFixedPointVolumeRayCastMapper.h"
-
-#include "vtkCellArray.h"
-#include "vtkProperty2D.h"
-
-#undef id
-
-class vtkMyCallbackVR;
-
-#else
-
-typedef char* vtkTransform;
-typedef char* vtkImageActor;
-typedef char* vtkImageMapToColors;
-typedef char* vtkLookupTable;
-typedef char* vtkImageReslice;
-typedef char* vtkImageImport;
-typedef char* vtkCamera;
-typedef char* vtkActor;
-typedef char* vtkPolyDataMapper;
-typedef char* vtkOutlineFilter;
-typedef char* vtkLineWidget;
-
-typedef char* vtkTextActor;
-typedef char* vtkVolumeRayCastMapper;
-typedef char* vtkFixedPointVolumeRayCastMapper;
-typedef char* OsiriXFixedPointVolumeRayCastMapper;
-typedef char* vtkVolumeRayCastMIPFunction;
-typedef char* vtkVolume;
-
-
-typedef char* vtkPiecewiseFunction;
-typedef char* vtkVolumeTextureMapper2D;
-typedef char* vtkPolyData;
-typedef char* vtkVolumeProperty;
-typedef char* vtkPolyDataMapper2D;
-
-typedef char* vtkColorTransferFunction;
-typedef char* vtkActor2D;
-typedef char* vtkMyCallback;
-typedef char* vtkBoxWidget;
-typedef char* vtkVolumeRayCastCompositeFunction;
-
-typedef char* vtkRenderer;
-typedef char* vtkVolumeTextureMapper3D;
-typedef char* vtkOrientationMarkerWidget;
-
-typedef char* vtkMyCallbackVR;
-#endif
-
-#include
-#import "ViewerController.h"
-#import "WaitRendering.h"
-
-#import "Schedulable.h"
-#import "Scheduler.h"
-#import "StaticScheduler.h"
-
-@class DICOMExport;
-@class Camera;
-@class VRController;
-@class OSIVoxel;
-@class CLUTOpacityView;
-//#import "CLUTOpacityView.h"
-
-/** \brief Volume Rendering View
-*
-* View for volume rendering and MIP
-*/
-
-#ifdef __cplusplus
-@interface VRView : VTKView
-#else
-@interface VRView : NSView
-#endif
-{
- NSTimer *autoRotate, *startAutoRotate;
- BOOL rotate, flyto;
- int incFlyTo;
-
- float flyToDestination[ 3];
-
- int projectionMode;
- NSMutableArray *blendingPixList;
- DCMPix *blendingFirstObject;
- float *blendingData, blendingFactor;
- ViewerController *blendingController;
- char *blendingData8;
- vImage_Buffer blendingSrcf, blendingDst8;
- float blendingWl, blendingWw, measureLength;
- vtkImageImport *blendingReader;
-
- OsiriXFixedPointVolumeRayCastMapper *blendingVolumeMapper;
- vtkVolumeTextureMapper3D *blendingTextureMapper;
-
- vtkVolume *blendingVolume;
- vtkVolumeProperty *blendingVolumeProperty;
- vtkColorTransferFunction *blendingColorTransferFunction;
- vtkVolumeRayCastCompositeFunction *blendingCompositeFunction;
- vtkPiecewiseFunction *blendingOpacityTransferFunction;
- double blendingtable[256][3];
-
- BOOL needToFlip, blendingNeedToFlip, firstTime;
-
- IBOutlet NSWindow *export3DWindow;
- IBOutlet NSSlider *framesSlider;
- IBOutlet NSMatrix *quality, *rotation, *orientation;
- IBOutlet NSTextField *pixelInformation;
-
- IBOutlet NSWindow *exportDCMWindow;
- IBOutlet NSSlider *dcmframesSlider;
- IBOutlet NSMatrix *dcmExportMode, *dcmquality, *dcmrotation, *dcmorientation;
- IBOutlet NSBox *dcmBox;
- IBOutlet NSMatrix *dcmExportDepth;
- IBOutlet NSTextField *dcmSeriesName;
- NSString *dcmSeriesString;
-
- IBOutlet NSWindow *export3DVRWindow;
- IBOutlet NSMatrix *VRFrames;
- IBOutlet NSMatrix *VRquality;
-
- IBOutlet NSMatrix *scissorStateMatrix;
- IBOutlet NSColorWell *backgroundColor;
-
- IBOutlet NSObjectController *shadingController;
-
- long numberOfFrames;
- BOOL bestRenderingMode;
- float rotationValue, factor;
- long rotationOrientation, renderingMode;
-
- NSArray *currentOpacityArray;
- NSMutableArray *pixList;
- DCMPix *firstObject;
- float *data;
-
- float valueFactor, blendingValueFactor;
- float OFFSET16, blendingOFFSET16;
-
- unsigned char *dataFRGB;
- char *data8;
- vImage_Buffer srcf, dst8;
-
- short currentTool;
- float wl, ww;
- float LOD, lowResLODFactor;
- float cosines[ 9];
- float blendingcosines[ 9];
- double table[256][3];
- double alpha[ 256];
-
- NSCursor *cursor;
- BOOL cursorSet;
-
- vtkRenderer *aRenderer;
- vtkCamera *aCamera;
-
- vtkActor *outlineRect;
- vtkPolyDataMapper *mapOutline;
- vtkOutlineFilter *outlineData;
-
- vtkMyCallbackVR *cropcallback;
- vtkOrientationMarkerWidget *orientationWidget;
- vtkBoxWidget *croppingBox;
- double initialCroppingBoxBounds[6];
- // MAPPERS
-
- OsiriXFixedPointVolumeRayCastMapper *volumeMapper;
- vtkVolumeTextureMapper3D *textureMapper;
-
- vtkVolume *volume;
- vtkVolumeProperty *volumeProperty;
- vtkColorTransferFunction *colorTransferFunction;
- vtkTextActor *textWLWW, *textX;
- BOOL isViewportResizable;
- vtkTextActor *oText[ 4], oTextS[ 4];
- char WLWWString[ 200];
- vtkImageImport *reader;
- vtkVolumeRayCastCompositeFunction *compositeFunction;
- vtkPiecewiseFunction *opacityTransferFunction;
-
- vtkColorTransferFunction *red, *green, *blue;
- BOOL noWaitDialog, isRGB, isBlendingRGB, ROIUPDATE;
- WaitRendering *splash;
-
- double camPosition[ 3], camFocal[ 3];
-
- NSMutableArray *ROIPoints;
-
- vtkPolyData *ROI3DData;
- vtkPolyDataMapper2D *ROI3D;
- vtkActor2D *ROI3DActor;
-
- vtkPolyData *Line2DData;
- vtkPolyDataMapper2D *Line2D;
- vtkActor2D *Line2DActor;
- vtkTextActor *Line2DText;
-
- BOOL clamping;
-
- DICOMExport *exportDCM;
-
- NSMutableArray *point3DActorArray;
- NSMutableArray *point3DPositionsArray;
- NSMutableArray *point3DRadiusArray;
- NSMutableArray *point3DColorsArray;
- BOOL display3DPoints;
- IBOutlet NSPanel *point3DInfoPanel;
- IBOutlet NSSlider *point3DRadiusSlider;
- IBOutlet NSColorWell *point3DColorWell;
- IBOutlet NSButton *point3DPropagateToAll, *point3DSetDefault;
- IBOutlet VRController *controller;
- float point3DDefaultRadius, point3DDefaultColorRed, point3DDefaultColorGreen, point3DDefaultColorBlue, point3DDefaultColorAlpha;
-
- BOOL _dragInProgress;
- NSTimer *_mouseDownTimer, *_rightMouseDownTimer;
- NSImage *destinationImage;
-
- NSPoint _mouseLocStart, _previousLoc; // mouseDown start point
- BOOL _resizeFrame;
- short _tool;
-
- float _startWW, _startWL, _startMin, _startMax;
-
- NSRect savedViewSizeFrame;
-
- float firstPixel, secondPixel;
-
- NSLock *deleteRegion;
-
- IBOutlet CLUTOpacityView *clutOpacityView;
- BOOL advancedCLUT;
- NSData *appliedCurves;
- BOOL appliedResolution;
- BOOL gDataValuesChanged;
-
- float verticalAngleForVR;
- float rotateDirectionForVR;
-
- BOOL _contextualMenuActive;
-
- //Context for rendering to iChat
- BOOL _hasChanged;
- float iChatWidth, iChatHeight;
- BOOL iChatFrameIsSet;
-
- // 3DConnexion SpaceNavigator
- NSTimer *snCloseEventTimer;
- BOOL snStopped;
- UInt16 snConnexionClientID;
-
- BOOL clipRangeActivated;
- double clippingRangeThickness;
-
- BOOL bestRenderingWasGenerated;
- float superSampling;
- BOOL dontResetImage, keep3DRotateCentered;
- int fullDepthMode;
-}
-
-@property BOOL clipRangeActivated, keep3DRotateCentered, dontResetImage, bestRenderingMode;
-@property int projectionMode;
-@property double clippingRangeThickness;
-@property float lowResLODFactor;
-@property long renderingMode;
-@property (readonly) NSArray* currentOpacityArray;
-@property (retain) DICOMExport *exportDCM;
-@property (retain) NSString *dcmSeriesString;
-
-+ (BOOL) getCroppingBox:(double*) a :(vtkVolume *) volume :(vtkBoxWidget*) croppingBox;
-+ (void) setCroppingBox:(double*) a :(vtkVolume *) volume;
-- (void) setBlendingCroppingBox:(double*) a;
-- (void) setCroppingBox:(double*) a;
-- (BOOL) croppingBox:(double*) a;
-- (void) showCropCube:(id) sender;
-- (void) restoreFullDepthCapture;
-- (void) prepareFullDepthCapture;
-- (float*) imageInFullDepthWidth: (long*) w height:(long*) h isRGB:(BOOL*) isRGB;
-- (float*) imageInFullDepthWidth: (long*) w height:(long*) h isRGB:(BOOL*) rgb blendingView:(BOOL) blendingView;
-- (NSDictionary*) exportDCMCurrentImage;
-- (NSDictionary*) exportDCMCurrentImageIn16bit: (BOOL) fullDepth;
-- (void) renderImageWithBestQuality: (BOOL) best waitDialog: (BOOL) wait;
-- (void) renderImageWithBestQuality: (BOOL) best waitDialog: (BOOL) wait display: (BOOL) display;
-- (void) endRenderImageWithBestQuality;
-- (void) resetAutorotate:(id) sender;
-- (void) setEngine: (long) engineID showWait:(BOOL) showWait;
-- (IBAction)changeColorWith:(NSColor*) color;
-- (IBAction)changeColor:(id)sender;
-- (NSColor*)backgroundColor;
-- (void) exportDICOMFile:(id) sender;
--(unsigned char*) getRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp :(BOOL) screenCapture :(BOOL) force8bits;
--(unsigned char*) getRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp :(BOOL) screenCapture :(BOOL) force8bits offset:(int*) offset isSigned:(BOOL*) isSigned;
--(void) set3DStateDictionary:(NSDictionary*) dict;
--(NSMutableDictionary*) get3DStateDictionary;
-- (void) setBlendingEngine: (long) engineID;
-- (void) setBlendingEngine: (long) engineID showWait:(BOOL) showWait;
-- (void) getShadingValues:(float*) ambient :(float*) diffuse :(float*) specular :(float*) specularpower;
-- (void) setShadingValues:(float) ambient :(float) diffuse :(float) specular :(float) specularpower;
--(void) movieChangeSource:(float*) volumeData;
--(void) movieChangeSource:(float*) volumeData showWait :(BOOL) showWait;
--(void) movieBlendingChangeSource:(long) index;
--(void) setBlendingWLWW:(float) iwl :(float) iww;
--(void) setBlendingCLUT:( unsigned char*) r : (unsigned char*) g : (unsigned char*) b;
--(void) setBlendingFactor:(float) a;
-//-(NSDate*) startRenderingTime;
-//-(void) newStartRenderingTime;
-//-(void) deleteStartRenderingTime;
--(void) setOpacity:(NSArray*) array;
-- (void) setLowResolutionCamera: (Camera*) cam;
-//-(void) runRendering;
-//-(void) startRendering;
-//-(void) stopRendering;
-- (float) LOD;
--(void) setLOD:(float)f;
--(void) setCurrentTool:(short) i;
-- (int) currentTool;
-- (int) _tool;
--(id)initWithFrame:(NSRect)frame;
--(short)setPixSource:(NSMutableArray*)pix :(float*) volumeData;
--(void)dealloc;
-//Fly to point in world coordinates;
-- (void) flyTo:(float) x :(float) y :(float) z;
-// Fly to Volume Point
-- (void) flyToVoxel:(OSIVoxel *)voxel;
-//Fly to 2D position on a slice;
-- (void) flyToPoint:(NSPoint)point slice:(int)slice;
-- (void) processFlyTo;
--(void) setWLWW:(float) wl :(float) ww;
--(void) getWLWW:(float*) wl :(float*) ww;
--(void) getBlendingWLWW:(float*) iwl :(float*) iww;
--(void) setBlendingPixSource:(ViewerController*) bC;
--(IBAction) endQuicktimeSettings:(id) sender;
--(IBAction) endDCMExportSettings:(id) sender;
--(IBAction) endQuicktimeVRSettings:(id) sender;
--(IBAction) exportQuicktime :(id) sender;
--(float) rotation;
--(float) numberOfFrames;
--(void) Azimuth:(float) z;
--(void) Vertical:(float) z;
--(NSImage*) nsimageQuicktime;
--(NSImage*) nsimage:(BOOL) q;
--(void) setCLUT:( unsigned char*) r : (unsigned char*) g : (unsigned char*) b;
--(void)activateShading:(BOOL)on;
--(IBAction) switchShading:(id) sender;
--(long) shading;
-- (void) setEngine: (long) engineID;
-- (void) setProjectionMode: (int) mode;
-- (IBAction) resetImage:(id) sender;
--(void) saView:(id) sender;
-- (IBAction)setRenderMode:(id)sender;
-- (void) setBlendingMode: (long) modeID;
--(NSImage*) nsimageQuicktime:(BOOL) renderingMode;
-- (vtkRenderer*) vtkRenderer;
-- (vtkCamera*) vtkCamera;
-- (void) setVtkCamera:(vtkCamera*)aVtkCamera;
-- (void)setCenterlineCamera: (Camera *) cam;
-- (void) setCamera: (Camera*) cam;
-- (Camera*) camera;
-- (Camera*) cameraWithThumbnail:(BOOL) produceThumbnail;
-- (IBAction) scissorStateButtons:(id) sender;
-- (void) updateScissorStateButtons;
--(void) switchOrientationWidget:(id) sender;
-- (void) computeOrientationText;
-- (void) getOrientation: (float*) o;
--(void) bestRendering:(id) sender;
-- (void) setMode: (long) modeID;
-- (long) mode;
-- (double) getResolution;
-- (void) getCosMatrix: (float *) cos;
-- (void) getOrigin: (float *) origin;
-- (void) getOrigin: (float *) origin windowCentered:(BOOL) wc;
-- (void) getOrigin: (float *) origin windowCentered:(BOOL) wc sliceMiddle:(BOOL) sliceMiddle;
-- (void) getOrigin: (float *) origin windowCentered:(BOOL) wc sliceMiddle:(BOOL) sliceMiddle blendedView:(BOOL) blendedView;
-- (BOOL) isViewportResizable;
-- (void) setViewportResizable: (BOOL) boo;
-- (void) scrollInStack: (float) delta;
-
-// 3D Points
-- (BOOL) get3DPixelUnder2DPositionX:(float) x Y:(float) y pixel: (long*) pix position:(float*) position value:(float*) val;
-- (BOOL) get3DPixelUnder2DPositionX:(float) x Y:(float) y pixel: (long*) pix position:(float*) position value:(float*) val maxOpacity: (float) maxOpacity minValue: (float) minValue;
-
-- (void) add3DPoint: (double) x : (double) y : (double) z : (float) radius : (float) r : (float) g : (float) b;
-- (void) add3DPoint: (double) x : (double) y : (double) z;
-- (void) add3DPointActor: (vtkActor*) actor;
-- (void) addRandomPoints: (int) n : (int) r;
-- (void) throw3DPointOnSurface: (double) x : (double) y;
-- (void) setDisplay3DPoints: (BOOL) on;
-- (void) toggleDisplay3DPoints;
-- (BOOL) isAny3DPointSelected;
-- (unsigned int) selected3DPointIndex;
-- (void) unselectAllActors;
-- (void) remove3DPointAtIndex: (unsigned int) index;
-- (void) removeSelected3DPoint;
-- (IBAction) IBSetSelected3DPointColor: (id) sender;
-- (IBAction) IBSetSelected3DPointRadius: (id) sender;
-- (IBAction) IBPropagate3DPointsSettings: (id) sender;
-- (void) setSelected3DPointColor: (NSColor*) color;
-- (void) setAll3DPointsColor: (NSColor*) color;
-- (void) set3DPointAtIndex:(unsigned int) index Color: (NSColor*) color;
-- (void) setSelected3DPointRadius: (float) radius;
-- (void) setAll3DPointsRadius: (float) radius;
-- (void) set3DPointAtIndex:(unsigned int) index Radius: (float) radius;
-- (IBAction) save3DPointsDefaultProperties: (id) sender;
-- (void) load3DPointsDefaultProperties;
-- (void) convert3Dto2Dpoint:(double*) pt3D :(double*) pt2D;
-- (void)convert2DPoint:(float *)pt2D to3DPoint:(float *)pt3D;
-- (IBAction) setCurrentdcmExport:(id) sender;
-- (IBAction) switchToSeriesRadio:(id) sender;
-- (float) offset;
-- (float) valueFactor;
-- (void) setViewportResizable: (BOOL) boo;
-- (void) squareView:(id) sender;
-- (void) computeValueFactor;
-- (void) setRotate: (BOOL) r;
-- (float) factor;
-- (float) imageSampleDistance;
-- (float) blendingImageSampleDistance;
-- (void) setViewSizeToMatrix3DExport;
-- (void) restoreViewSizeAfterMatrix3DExport;
-- (void) axView:(id) sender;
-- (void) coView:(id) sender;
-- (void) saViewOpposite:(id) sender;
-- (void) render;
-- (void) renderBlendedVolume;
-- (void) goToCenter;
-- (void)zoomMouseUp:(NSEvent *)theEvent;
-- (void) setWindowCenter: (NSPoint) loc;
-- (NSPoint) windowCenter;
-- (double) getClippingRangeThicknessInMm;
-- (void) setLODLow:(BOOL) l;
-
-// export
-- (void) sendMail:(id) sender;
-- (void) exportJPEG:(id) sender;
-- (void) export2iPhoto:(id) sender;
-- (void) exportTIFF:(id) sender;
-
-// cursors
--(void) setCursorForView: (long) tool;
-
-//Dragging
-- (void) startDrag:(NSTimer*)theTimer;
-- (void)deleteMouseDownTimer;
-
-//Menus
-- (void)deleteRightMouseDownTimer;
-- (void) showMenu:(NSTimer*)theTimer;
-
--(BOOL)actionForHotKey:(NSString *)hotKey;
-- (void)setAdvancedCLUT:(NSMutableDictionary*)clut lowResolution:(BOOL)lowRes;
-- (void)setAdvancedCLUTWithName:(NSString*)name;
-- (BOOL)advancedCLUT;
-- (VRController*)controller;
-- (void)setController:(VRController*)aController;
-- (BOOL)isRGB;
-
-- (OsiriXFixedPointVolumeRayCastMapper*)volumeMapper;
-- (void)setVolumeMapper:(OsiriXFixedPointVolumeRayCastMapper*)aVolumeMapper;
-- (vtkVolume*)volume;
-- (void)setVolume:(vtkVolume*)aVolume;
-- (char*)data8;
-- (void)setData8:(char*)data;
-
-- (void)drawImage:(NSImage *)image inBounds:(NSRect)rect;
-- (BOOL)checkHasChanged;
-- (void)setIChatFrame:(BOOL)boo;
-- (void)_iChatStateChanged:(NSNotification *)aNotification;
-
-- (void)yaw:(float)degrees;
-- (void)panX:(double)x Y:(double)y;
-
-- (void)recordFlyThru;
-
-// 3DConnexion SpaceNavigator
-- (void)connect2SpaceNavigator;
-void VRSpaceNavigatorMessageHandler(io_connect_t connection, natural_t messageType, void *messageArgument);
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/VTKView.h b/CMIV_CTA_TOOLS/OsiriX Headers/VTKView.h
deleted file mode 100644
index cb7441f..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/VTKView.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-#ifdef __cplusplus
-#import "vtkCocoaGLView.h"
-//#import "vtkCocoaWindow.h"
-#define id Id
-#include "vtkRenderer.h"
-#include "vtkRenderWindow.h"
-#include "vtkRenderWindowInteractor.h"
-#include "vtkCocoaRenderWindowInteractor.h"
-#include "vtkCocoaRenderWindow.h"
-#undef id
-#else
-typedef char* vtkCocoaWindow;
-typedef char* vtkRenderer;
-typedef char* vtkRenderWindow;
-typedef char* vtkRenderWindowInteractor;
-typedef char* vtkCocoaRenderWindowInteractor;
-typedef char* vtkCocoaRenderWindow;
-#endif
-
-
-/** \brief View for using VTK */
-@interface VTKView : vtkCocoaGLView
-{
- vtkCocoaRenderWindow *_cocoaRenderWindow;
- vtkRenderer *_renderer;
- vtkCocoaRenderWindowInteractor *_interactor;
-}
-
--(id)initWithFrame:(NSRect)frame;
--(void)dealloc;
-
-// Access to VTK instances
--(vtkRenderer *)renderer;
--(vtkRenderWindow *)renderWindow;
--(vtkCocoaRenderWindow *) cocoaWindow;
--(void)removeAllActors;
--(void) prepareForRelease;
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/ViewerController.h b/CMIV_CTA_TOOLS/OsiriX Headers/ViewerController.h
deleted file mode 100644
index 12d1439..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/ViewerController.h
+++ /dev/null
@@ -1,1040 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import
-
-@class DCMView;
-@class OpacityTransferView;
-@class ColorTransferView;
-@class MyPoint;
-@class ROI;
-@class ThickSlabController;
-@class StudyView;
-@class SeriesView;
-@class ImageView;
-@class CurvedMPR;
-@class DICOMExport;
-@class KeyObjectPopupController;
-@class VRController;
-@class OrthogonalMPRViewer;
-@class OrthogonalMPRPETCTViewer;
-@class SRController;
-@class EndoscopyViewer;
-//@class VRPROController;
-@class ViewerController;
-@class MPRController;
-
-@interface NSObject(OsiriXPluginDraggingDestination)
-- (BOOL)performPluginDragOperation:(id )sender destination:(ViewerController*)vc;
-@end
-
-#import "Schedulable.h"
-#import "Scheduler.h"
-#import "StaticScheduler.h"
-#import "OSIWindowController.h"
-
-enum
-{
- eSagittalPos = 0, // 0
- eSagittalNeg, // 1
- eCoronalPos, // 2
- eCoronalNeg, // 3
- eAxialPos, // 4
- eAxialNeg // 5
-};
-
-/** \brief Window Controller for 2D Viewer*/
-
-@interface ViewerController : OSIWindowController
-{
- NSLock *ThreadLoadImageLock;
- NSLock *roiLock;
- NSConditionLock *subLoadingThread;
-
- IBOutlet StudyView *studyView;
- SeriesView *seriesView;
-
- IBOutlet NSSplitView *splitView;
- IBOutlet NSMatrix *previewMatrix;
- IBOutlet NSScrollView *previewMatrixScrollView;
- BOOL matrixPreviewBuilt;
- float highLighted;
- int lastHighLightedRow;
- NSTimer *highLightedTimer;
-
- IBOutlet NSWindow *quicktimeWindow;
- IBOutlet NSMatrix *quicktimeMode;
- IBOutlet NSSlider *quicktimeInterval, *quicktimeFrom, *quicktimeTo;
- IBOutlet NSTextField *quicktimeIntervalText, *quicktimeFromText, *quicktimeToText, *quicktimeNumber;
- IBOutlet NSBox *quicktimeBox;
- IBOutlet NSButton *quicktimeAllViewers;
-
- DCMView *imageView;
-
- IBOutlet NSView *orientationView;
- IBOutlet NSMatrix *orientationMatrix;
-
- short currentOrientationTool, originalOrientation;
-
- IBOutlet NSSlider *slider, *speedSlider;
- IBOutlet NSButton *loopButton;
- IBOutlet NSView *speedView;
- IBOutlet NSView *toolsView;
- IBOutlet NSView *WLWWView;
- IBOutlet NSView *ReconstructionView;
- IBOutlet NSView *ConvView;
- IBOutlet NSView *FusionView;
- IBOutlet NSView *BlendingView;
- IBOutlet NSView *movieView, *serieView, *patientView, *iPhotoView, *keyImages, *PagePad;
- IBOutlet NSView *RGBFactorsView;
- IBOutlet NSTextField *speedText;
- IBOutlet NSPopUpButton *wlwwPopup;
- IBOutlet NSPopUpButton *convPopup;
- IBOutlet NSPopUpButton *clutPopup;
- IBOutlet NSPopUpButton *OpacityPopup;
-
- IBOutlet NSView *propagateSettingsView;
-
- IBOutlet NSView *subCtrlView;
- BOOL enableSubtraction;
- IBOutlet NSButton *subCtrlOnOff;
- long subCtrlMaskID;
- NSPoint subCtrlMinMax;
- BOOL subCtrlMinMaxComputed;
- IBOutlet NSTextField *subCtrlMaskText;
-
- NSPoint subCtrlOffset;
- IBOutlet NSButton *sc1;
- IBOutlet NSButton *sc2;
- IBOutlet NSButton *sc3;
- IBOutlet NSButton *sc4;
- IBOutlet NSButton *sc5;
- IBOutlet NSButton *sc6;
- IBOutlet NSButton *sc7;
- IBOutlet NSButton *sc8;
- IBOutlet NSButton *sc9;
-
- IBOutlet NSSlider *subCtrlSum;
- IBOutlet NSSlider *subCtrlPercent;
- IBOutlet NSButton *subCtrlSharpenButton;
- IBOutlet NSButton *shutterOnOff;
- IBOutlet NSView *shutterView;
- NSString *contextualDictionaryPath; //JF20070102
-
- long speedometer;
-
- IBOutlet NSView *StatusView;
- IBOutlet NSButton *CommentsField;
- IBOutlet NSPopUpButton *StatusPopup;
- IBOutlet NSWindow *CommentsWindow;
- IBOutlet NSTextField *CommentsEditField;
-
- IBOutlet NSButton *keyImageCheck;
-
- IBOutlet NSWindow *ThickIntervalWindow;
- IBOutlet NSTextField *customInterval;
- IBOutlet NSTextField *customXSpacing;
- IBOutlet NSTextField *customYSpacing;
- IBOutlet NSMatrix *customVectors, *customOrigin;
-
- IBOutlet NSWindow *setWLWWWindow;
- IBOutlet NSTextField *wlset, *fromset;
- IBOutlet NSTextField *wwset, *toset;
-
- IBOutlet NSWindow *addWLWWWindow;
- IBOutlet NSTextField *newName;
- IBOutlet NSTextField *wl;
- IBOutlet NSTextField *ww;
- IBOutlet NSMatrix *toolsMatrix;
-
- IBOutlet NSWindow *roiSetPixWindow;
- IBOutlet NSTextField *maxValueText, *minValueText, *newValueText;
- IBOutlet NSMatrix *InOutROI, *AllROIsRadio, *newValueMatrix;
- IBOutlet NSButton *checkMaxValue, *checkMinValue, *setROI4DSeries;
-
- IBOutlet NSWindow *curvedMPRWindow;
- IBOutlet NSTextField *curvedMPRtext;
- IBOutlet NSSlider *curvedMPRslid;
- IBOutlet NSButton *curvedMPRper;
- IBOutlet NSSlider *curvedMPRsize;
- IBOutlet NSTextField *curvedMPRsizeText;
- IBOutlet NSSlider *curvedMPRinterval;
- IBOutlet NSTextField *curvedMPRintervalText;
- IBOutlet NSMatrix *curvedMPRaxis;
-
- IBOutlet NSWindow *blendingTypeWindow;
- IBOutlet NSButton *blendingTypeMultiply, *blendingTypeSubtract;
- IBOutlet NSSegmentedControl *blendingTypeRGB;
- IBOutlet NSPopUpButton *blendingPlugins;
- IBOutlet NSButton *blendingResample;
-
- IBOutlet NSWindow *roiPropaWindow;
- IBOutlet NSMatrix *roiPropaMode, *roiPropaDim, *roiPropaCopy;
- IBOutlet NSTextField *roiPropaDest;
-
- IBOutlet NSWindow *roiApplyWindow;
- IBOutlet NSMatrix *roiApplyMatrix;
-
- IBOutlet NSWindow *addConvWindow;
- IBOutlet NSMatrix *convMatrix, *sizeMatrix;
- IBOutlet NSTextField *matrixName, *matrixNorm;
-
- IBOutlet NSWindow *addCLUTWindow;
- IBOutlet NSTextField *clutName;
- IBOutlet ColorTransferView *clutView;
-
- IBOutlet NSWindow *dcmExportWindow;
- IBOutlet NSMatrix *dcmSelection, *dcmFormat;
- IBOutlet NSSlider *dcmInterval, *dcmFrom, *dcmTo;
- IBOutlet NSTextField *dcmIntervalText, *dcmFromText, *dcmToText, *dcmNumber;
- IBOutlet NSBox *dcmBox;
- IBOutlet NSButton *dcmAllViewers;
- IBOutlet NSTextField *dcmSeriesName;
-
- IBOutlet NSWindow *imageExportWindow;
- IBOutlet NSMatrix *imageSelection, *imageFormat;
- IBOutlet NSButton *imageAllViewers;
-
- IBOutlet NSWindow *displaySUVWindow;
- IBOutlet NSForm *suvForm;
- IBOutlet NSMatrix *suvConversion;
-
- IBOutlet NSWindow *addOpacityWindow;
- IBOutlet NSTextField *OpacityName;
- IBOutlet OpacityTransferView *OpacityView;
-
- IBOutlet NSTextField *movieTextSlide;
- IBOutlet NSButton *moviePlayStop;
- IBOutlet NSSlider *movieRateSlider;
- IBOutlet NSSlider *moviePosSlider;
-
- IBOutlet NSPopUpButton *blendingPopupMenu;
- IBOutlet NSTextField *blendingPercentage;
- IBOutlet NSSlider *blendingSlider;
- ViewerController *blendingController;
-
- IBOutlet NSTextField *roiRenameName;
- IBOutlet NSMatrix *roiRenameMatrix;
- IBOutlet NSWindow *roiRenameWindow;
-
- NSString *curConvMenu, *curWLWWMenu, *curCLUTMenu, *backCurCLUTMenu, *curOpacityMenu;
-
- IBOutlet NSTextField *stacksFusion;
- IBOutlet NSSlider *sliderFusion;
- IBOutlet NSButton *activatedFusion;
- IBOutlet NSPopUpButton *popFusion, *popupRoi, *ReconstructionRoi;
-
- IBOutlet NSMatrix *buttonToolMatrix;
-
- NSMutableArray *fileList[200];
- NSMutableArray *pixList[200], *roiList[200];
- NSData *volumeData[200];
- short curMovieIndex, maxMovieIndex, orientationVector;
- NSToolbar *toolbar;
-
- float direction;
-
- float factorPET2SUV;
-
- volatile float loadingPercentage;
-
- volatile BOOL ThreadLoadImage, stopThreadLoadImage;
- NSTimeInterval loadingPauseDelay;
- BOOL FullScreenOn;
- NSWindow *FullScreenWindow;
- NSWindow *StartingWindow;
- NSView *contentView;
-
- NSTimer *timer, *movieTimer, *timeriChat;
- NSTimeInterval lastTime, lastTimeFrame;
- NSTimeInterval lastMovieTime;
-
- NSMutableArray *ROINamesArray;
-
- ThickSlabController *thickSlab;
-
- CurvedMPR *curvedController;
-
- DICOMExport *exportDCM;
-
- BOOL windowWillClose;
- BOOL postprocessed;
-
- NSRect standardRect;
-
- // Brush ROI Filter
- IBOutlet NSWindow *brushROIFilterOptionsWindow;
- IBOutlet NSSlider *structuringElementRadiusSlider;
- IBOutlet NSTextField *structuringElementRadiusTextField;
- IBOutlet NSButton *brushROIFilterOptionsAllWithSameName;
- IBOutlet NSButton *brushROIFilterOptionsOKButton;
- NSString *morphoFunction;
- BOOL morphoFunctionPreviewApplied;
- IBOutlet NSPopUpButton *keyImagePopUpButton;
-
- KeyObjectPopupController *keyObjectPopupController;
- BOOL displayOnlyKeyImages;
-
- int qt_to, qt_from, qt_interval, qt_dimension, current_qt_interval, qt_allViewers;
-
- IBOutlet NSView *reportTemplatesView;
- IBOutlet NSImageView *reportTemplatesImageView;
- IBOutlet NSPopUpButton *reportTemplatesListPopUpButton;
-
- NSConditionLock *processorsLock;
-
- IBOutlet NSWindow *printWindow;
- IBOutlet NSMatrix *printSelection;
- IBOutlet NSMatrix *printFormat;
- IBOutlet NSSlider *printInterval, *printFrom, *printTo;
- IBOutlet NSTextField *printIntervalText, *printFromText, *printToText;
- IBOutlet NSBox *printBox;
- IBOutlet NSMatrix *printSettings;
- IBOutlet NSColorWell *printColor;
- IBOutlet NSPopUpButton *printLayout;
- IBOutlet NSTextField *printText, *printPagesToPrint;
-
- NSMutableArray *undoQueue, *redoQueue;
-
- BOOL SyncButtonBehaviorIsBetweenStudies, titledGantry, updateTilingViews, stopViewFrameDidChangeNotification;
-
- volatile BOOL checkEverythingLoaded;
-
- float resampleRatio;
-
-// NSRect savedWindowsFrame;
-// BOOL windowIsMovedByTheUser;
-
- ViewerController *registeredViewer;
- ViewerController *blendedWindow;
-
- NSMutableArray *retainedToolbarItems;
-
- BOOL nonVolumicDataWarningDisplayed;
-
- IBOutlet NSView *display12bitToolbarItemView;
- IBOutlet NSMatrix *display12bitToolbarItemMatrix;
- NSTimer *t12BitTimer;
-}
-
-@property(readonly) short currentOrientationTool;
-@property(readonly) volatile float loadingPercentage;
-
-@property(readonly) NSTimer *timer;
-@property(readonly) NSButton *keyImageCheck;
-
-/** Accessors for plugins using blending window */
-@property(readonly) NSWindow *blendingTypeWindow;
-@property(readonly) NSButton *blendingTypeMultiply;
-@property(readonly) NSButton *blendingTypeSubtract;
-@property(readonly) NSSegmentedControl *blendingTypeRGB;
-@property(readonly) NSPopUpButton *blendingPlugins;
-@property(readonly) NSButton *blendingResample;
-
-/** Return the 'dragged' window, the destination window is contained in the 'viewerController' object of the 'PluginFilter' object */
-@property(retain) ViewerController *blendedWindow;
-
-/** Array of all 2D Viewers */
-+ (NSMutableArray*) getDisplayed2DViewers;
-+ (void) closeAllWindows;
-
-/** Create a new 2D Viewer
-* @param pixList Array of DCMPix objects
-* @param fileList Array of files for DCMPix objects
-* @param volumeData NSData object containing the volume data
-*/
-+ (ViewerController *) newWindow:(NSMutableArray*)pixList :(NSMutableArray*)fileList :(NSData*) volumeData;
-+ (ViewerController *) newWindow:(NSMutableArray*)pixList :(NSMutableArray*)fileList :(NSData*) volumeData frame: (NSRect) frame;
-
-/** Create a new 2D Viewer
-* @param pixList Array of DCMPix objects
-* @param fileList Array of files for DCMPix objects
-* @param volumeData NSData object containing the volume data
-*/
-- (ViewerController *) newWindow:(NSMutableArray*)pixList :(NSMutableArray*)fileList :(NSData*) volumeData;
-
-/** Notifcation to close Viewer */
-- (void) CloseViewerNotification: (NSNotification*) note;
-
-/** Change Series
-* @param newPixList Array of DCMPix objects to used instead
-* @param newDcmList Array of file strings
-* @param newData NSData of new volume data
-*/
-- (void) replaceSeriesWith:(NSMutableArray*)newPixList :(NSMutableArray*)newDcmList :(NSData*) newData;
-
-/** Return the 'dragged' window, the destination window is contained in the 'viewerController' object of the 'PluginFilter' object */
-- (ViewerController*) blendedWindow;
-
-/** Display a Wait window with the message
-* @param message The message for the Wait window to display */
-- (id) startWaitWindow :(NSString*) message;
-
-
-/** Display a Wait window with the message progress length of max
-* @param message The message for the Wait window to display
-* @param max Progress bar max */
-- (id) startWaitProgressWindow :(NSString*) message :(long) max;
-
-/** Increment the Wait window progress bar
-* @param waitWindow The Wait Window
-* @param val Amount to increment the Wait window
-*/
-- (void) waitIncrementBy:(id) waitWindow :(long) val;
-
-
-/** End the wait window */
-- (void) endWaitWindow:(id) waitWindow;
-
-/** Refresh the current displayed image */
-- (void) needsDisplayUpdate;
-
-/** Return the memory pointer that contains the ENTIRE series (a unique memory block for all images) */
-- (float*) volumePtr;
-- (float*) volumePtr: (long) i;
-- (NSData*)volumeData;
-- (NSData*)volumeData:(long) i;
-
-/** Return the image pane object */
-- (DCMView*) imageView;
-- (NSArray*) imageViews;
-
-/** Return the array of DCMPix objects */
-- (NSMutableArray*) pixList;
-- (NSMutableArray*) pixList: (long) i;
-
-/** Return the array of DicomFile objects */
-- (NSMutableArray*) fileList;
-- (NSMutableArray*) fileList: (long) i;
-
-/** Return the array of ROI objects */
-- (NSMutableArray*) roiList;
-- (NSMutableArray*) roiList: (long) i;
-- (void) setRoiList: (long) i array:(NSMutableArray*) a;
-
-/** Create a new MyPoint object */
-- (MyPoint*) newPoint: (float) x :(float) y;
-
-/** Create a new ROI object */
-- (ROI*) newROI: (long) type;
-
-/** Are the data volumic: same height same width same orientation */
-- (BOOL) isDataVolumicIn4D:(BOOL) check4D checkEverythingLoaded:(BOOL) c;
-- (BOOL) isDataVolumicIn4D:(BOOL) check4D;
-- (void) displayAWarningIfNonTrueVolumicData;
-
-/** ReSort the images displayed according to this group/element */
-- (BOOL) sortSeriesByDICOMGroup: (int) gr element: (int) el;
-
-/** Delete ALL ROI objects for current series */
-- (IBAction) roiDeleteAll:(id) sender;
-
-/** methods to access global variables */
-+ (int) numberOf2DViewer;
-
-// UNDOCUMENTED FUNCTIONS
-// For more informations: rossetantoine@bluewin.ch
-
-
-/** Adds to undo queue
-* @param string The type of undo
-* This method calls - (id) prepareObjectForUndo:(NSString*) string get the undo object
-*/
-- (void) addToUndoQueue:(NSString*) string;
-- (void) removeLastItemFromUndoQueue;
-
-/** Prepare for Undo
-* returns the undo object
-* @param string The type of undo
-*/
-- (id) prepareObjectForUndo:(NSString*) string;
-
-/** Redo
-* Gets the last object in the redo queue
-* and Redo action */
-- (IBAction) redo:(id) sender;
-
-/** Undo
-** Gets the last object in the undo queue
-* Undo action*/
-- (IBAction) undo:(id) sender;
-
-/** Get path for current image */
-- (void) updateRepresentedFileName;
-
-/** Stops or aborts any open modal window */
-- (IBAction) closeModal:(id) sender;
-
-/** Brings ROI to front of ROI array for current image.
-* If roi is in a group, the whole group is brought to the front
-* @param roi The ROI that should be up front
-*/
-- (void)bringToFrontROI:(ROI*)roi;
-
-/** Change fusion status
-* Called by an action.
-*/
-- (void) activateFusion:(id) sender;
-
-/** Action to Propagte current settings */
-- (void) copySettingsToOthers: (id)sender;
-
-/** Set the postprocessed flag */
-- (void) setPostprocessed:(BOOL) v;
-- (BOOL) isPostprocessed;
-
-/** returns postprocessed status */
-- (BOOL) postprocessed;
-
-/** Apply the opacity setting
-* @param str The name of the opacity setting. Should be one of the menu item name from the opacity menu
-*/
-- (void) ApplyOpacityString:(NSString*) str;
-
-/** Refreshed window width and window level */
-- (void) refresh;
-
-/** Action to sset up non DICOM printing */
-- (IBAction) setPagesToPrint:(id) sender;
-
-/** Action to start printing. Called when print window is ordered out */
-- (IBAction) endPrint:(id) sender;
-
-+ (int) getToolEquivalentToHotKey:(int) h;
-+ (int) getHotKeyEquivalentToTool:(int) h;
-- (IBAction) startMSRG:(id) sender;
-- (IBAction) startMSRGWithAutomaticBounding:(id) sender;
-//arg: this function will automatically scan the buffer to create a textured ROI (tPlain) for all slices
-// param forValue: this param defines the region to extract in the stack buffer
-- (void)addRoiFromFullStackBuffer:(unsigned char*)buff forSpecificValue:(unsigned char)value withColor:(RGBColor)aColor;
-- (void)addRoiFromFullStackBuffer:(unsigned char*)buff forSpecificValue:(unsigned char)value withColor:(RGBColor)aColor withName:(NSString*)name;
-//arg: Use this to extract all the rois from the
-- (void)addRoiFromFullStackBuffer:(unsigned char*)buff;
-- (void)addPlainRoiToCurrentSliceFromBuffer:(unsigned char*)buff;
-- (void)addRoiFromFullStackBuffer:(unsigned char*)buff withName:(NSString*)name;
-- (void)addPlainRoiToCurrentSliceFromBuffer:(unsigned char*)buff withName:(NSString*)name;
-- (void)addPlainRoiToCurrentSliceFromBuffer:(unsigned char*)buff forSpecificValue:(unsigned char)value withColor:(RGBColor)aColor withName:(NSString*)name;
-- (ROI*)addLayerRoiToCurrentSliceWithImage:(NSImage*)image referenceFilePath:(NSString*)path layerPixelSpacingX:(float)layerPixelSpacingX layerPixelSpacingY:(float)layerPixelSpacingY;
-- (ROI*)createLayerROIFromROI:(ROI*)roi;
-- (void)createLayerROIFromSelectedROI;
-- (IBAction)createLayerROIFromSelectedROI:(id)sender;
-- (NSLock*) roiLock;
-- (void) brushTool:(id) sender;
-- (IBAction) setButtonTool:(id) sender;
-- (IBAction) shutterOnOff:(id) sender;
-- (void) setLoadingPause:(BOOL) lp;
-- (void) setImageIndex:(long) i;
-- (long) imageIndex;
-- (void) viewerControllerInit;
-- (IBAction) ConvertToRGBMenu:(id) sender;
-- (BOOL) updateTilingViewsValue;
-- (void) setUpdateTilingViewsValue:(BOOL) v;
-- (IBAction) ConvertToBWMenu:(id) sender;
-- (void) place3DViewerWindow:(NSWindowController*) viewer;
-- (IBAction) export2PACS:(id) sender;
-- (void) print:(id) sender;
-- (IBAction) roiDeleteWithName:(NSString*) name;
-- (IBAction) roiIntDeleteAllROIsWithSameName :(NSString*) name;
-- (IBAction) roiDeleteAllROIsWithSameName:(id) sender;
-- (IBAction) updateZVector:(id) sender;
-- (void)displayDICOMOverlays: (id)sender;
-- (IBAction)resampleDataBy2:(id)sender;
-- (void) setStatusValue:(int) v;
-- (BOOL)resampleDataBy2;
-- (BOOL)resampleDataWithFactor:(float)factor;
-- (BOOL)resampleDataWithXFactor:(float)xFactor yFactor:(float)yFactor zFactor:(float)zFactor;
-+ (BOOL)resampleDataFromViewer:(ViewerController *)aViewer inPixArray:(NSMutableArray*)aPixList fileArray:(NSMutableArray*)aFileList data:(NSData**)aData withXFactor:(float)xFactor yFactor:(float)yFactor zFactor:(float)zFactor;
-+ (BOOL)resampleDataFromViewer:(ViewerController *)aViewer inPixArray:(NSMutableArray*)aPixList fileArray:(NSMutableArray*)aFileList data:(NSData**)aData withXFactor:(float)xFactor yFactor:(float)yFactor zFactor:(float)zFactor movieIndex:(int) j;
-+ (BOOL)resampleDataFromPixArray:(NSArray *)originalPixlist fileArray:(NSArray*)originalFileList inPixArray:(NSMutableArray*)aPixList fileArray:(NSMutableArray*)aFileList data:(NSData**)aData withXFactor:(float)xFactor yFactor:(float)yFactor zFactor:(float)zFactor;
-- (IBAction) updateSUVValues:(id) sender;
-- (IBAction) subCtrlOnOff:(id) sender;
-- (IBAction) subCtrlNewMask:(id) sender;
-- (IBAction) subCtrlOffset:(id) sender;
-- (IBAction) subCtrlSliders:(id) sender;
-- (int) threeTestsFivePosibilities: (int) f;
-- (void) roiLoadFromSeries: (NSString*) filename;
-- (void) offsetMatrixSetting: (int) twentyFiveCodes;
-- (IBAction) mergeBrushROI: (id) sender;
-- (IBAction) mergeBrushROI: (id) sender ROIs: (NSArray*) s ROIList: (NSMutableArray*) roiList;
-- (IBAction) subSumSlider:(id) sender;
-- (IBAction) subSharpen:(id) sender;
-- (void) displayWarningIfGantryTitled;
-- (void) contextualDictionaryPath:(NSString *)newContextualDictionaryPath;
-- (NSString *) contextualDictionaryPath;
-- (void) contextualMenuEvent:(id)sender;
-- (IBAction) setAxialOrientation:(id) sender;
-- (IBAction) reSyncOrigin:(id) sender;
-- (void) loadROI:(long) mIndex;
-- (void) saveROI:(long) mIndex;
-- (id) findPlayStopButton;
-- (IBAction)setKeyImage:(id)sender;
-- (IBAction) roiSelectDeselectAll:(id) sender;
-- (BOOL) FullScreenON;
-- (void) setROITool:(id) sender;
-- (void) setROIToolTag:(int) roitype;
-- (void) changeImageData:(NSMutableArray*)f :(NSMutableArray*)d :(NSData*) v :(BOOL) applyTransition;
-- (IBAction) loadSerie:(id) sender;
-- (IBAction) loadPatient:(id) sender;
-- (void) loadSeries:(NSNumber*) t;
-- (void) offFullScreen;
-- (float) frame4DRate;
-- (long) maxMovieIndex;
-- (NSSlider*) moviePosSlider;
-- (NSSlider*) sliderFusion;
-- (IBAction) convMatrixAction:(id)sender;
-- (IBAction) changeMatrixSize:(id) sender;
-- (IBAction) computeSum:(id) sender;
-- (IBAction) endNameWLWW:(id) sender;
-- (IBAction) endSetWLWW:(id) sender;
-- (IBAction) updateSetWLWW:(id) sender;
-- (IBAction) endConv:(id) sender;
-- (IBAction) endCLUT:(id) sender;
-- (IBAction) endBlendingType:(id) sender;
-- (IBAction) endQuicktime:(id) sender;
-- (void) setDefaultTool:(id) sender;
-- (OSErr)getFSRefAtPath:(NSString*)sourceItem ref:(FSRef*)sourceRef;
-- (id) viewCinit:(NSMutableArray*)f :(NSMutableArray*) d :(NSData*) v;
-- (id) initWithPix:(NSMutableArray*)f withFiles:(NSMutableArray*) d withVolume:(NSData*) v;
-- (void) speedSliderAction:(id) sender;
-- (void) setupToolbar;
-- (NSToolbar*) toolbar;
-- (void) PlayStop:(id) sender;
-- (short) getNumberOfImages;
-- (float) frameRate;
-- (void) adjustSlider;
-- (void) sliderFusionAction:(id) sender;
-- (void) popFusionAction:(id) sender;
-- (void) propagateSettings;
-- (void) setCurWLWWMenu:(NSString*)s ;
-- (float) highLighted;
-- (void) setHighLighted: (float) b;
-- (void) syncThumbnails;
-- (void) checkBuiltMatrixPreview;
-
-/** Used to determine in the Window Controller is a 2D Viewer.
-* Always return YES
-*/
-- (BOOL) is2DViewer;
-
-/** String for the currently selected CLUT menu item */
-- (NSString*) curCLUTMenu;
-
-/** String for the currently selected WLWW mewnu item */
-- (NSString*) curWLWWMenu;
-
-/** String for the currently selected Opacity menu item */
-- (NSString*) curOpacityMenu;
-
-
-/** Flag to indicate the the window will close */
-- (BOOL) windowWillClose;
-
-
-- (void) ApplyCLUTString:(NSString*) str;
-- (NSSlider*) blendingSlider;
-- (void) blendingSlider:(id) sender;
-- (void) blendingMode:(id) sender;
-- (ViewerController*) blendingController;
-- (void)blendWithViewer:(ViewerController *)bc blendingType:(int)blendingType;
-- (void)blendingSheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo;
-- (void) computeContextualMenu;
-
-/** Modality of the study */
-- (NSString*) modality;
-- (void) selectFirstTilingView;
-- (NSString*) studyInstanceUID;
-- (void) addMovieSerie:(NSMutableArray*)f :(NSMutableArray*)d :(NSData*) v;
-- (void) startLoadImageThread;
-- (void) moviePosSliderAction:(id) sender;
-- (void) movieRateSliderAction:(id) sender;
-- (void) MoviePlayStop:(id) sender;
-- (void) MovieStop:(id) sender;
-- (BOOL)isPlaying4D;
-- (void) checkEverythingLoaded;
-- (BOOL) isEverythingLoaded;
-- (IBAction) roiSetPixelsCheckButton:(id) sender;
-- (IBAction) roiSetPixelsSetup:(id) sender;
-- (IBAction) roiSetPixels:(ROI*)aROI :(short)allRois :(BOOL)propagateIn4D :(BOOL)outside :(float)minValue :(float)maxValue :(float)newValue;
-- (IBAction) roiSetPixels:(ROI*)aROI :(short)allRois :(BOOL) propagateIn4D :(BOOL)outside :(float)minValue :(float)maxValue :(float)newValue :(BOOL) revert;
-- (IBAction) roiSetPixels:(id) sender;
-- (IBAction) roiPropagateSetup: (id) sender;
-- (IBAction) roiPropagate:(id) sender;
-- (void) showWindowTransition;
-- (float) computeInterval;
-- (float) computeIntervalFlipNow: (NSNumber*) flipNowNumber;
-- (void) computeIntervalAsync;
-- (IBAction) endThicknessInterval:(id) sender;
-- (void) SetThicknessInterval:(id) constructionType;
-//- (IBAction) MPRViewer:(id) sender;
-- (IBAction) VRVPROViewer:(id) sender;
-- (IBAction) VRViewer:(id) sender;
-- (IBAction) blendWindows:(id) sender;
-
-/** Action to open the OrthogonalMPRViewer */
-- (IBAction) orthogonalMPRViewer:(id) sender;
-
-/** Action to open the EndoscopyViewer */
-- (IBAction) endoscopyViewer:(id) sender;
-
-/** Action to open the CurvedMPRViewer */
-- (IBAction) CurvedMPR:(id) sender;
-
-- (void) showCurrentThumbnail:(id) sender;
-
-/** Action to open SRViewer (Surface Rendering) */
-- (IBAction) SRViewer:(id) sender;
-
-- (NSMenu *)contextualMenu;
-
-/** Action to export as JPEG */
-- (void) exportJPEG:(id) sender;
-
-/** Notification to close all windows */
-- (NSMutableArray*) generateROINamesArray;
-- (ThickSlabController*) thickSlabController;
-- (IBAction) AddOpacity:(id) sender;
-- (IBAction) endOpacity:(id) sender;
-- (IBAction) updateImage:(id) sender;
-//- (IBAction) HuVRViewer:(id) sender;
-- (IBAction) clutAction:(id)sender;
-- (void) tileWindows;
--(IBAction) export2iPhoto:(id) sender;
--(IBAction) PagePadCreate:(id) sender;
-- (void) exportQuicktime:(id) sender;
-- (IBAction) exportQuicktimeSlider:(id) sender;
-- (IBAction) exportDICOMSlider:(id) sender;
-- (IBAction) exportDICOMAllViewers:(id) sender;
-- (IBAction) setComments:(id) sender;
-- (IBAction) setStatus:(id) sender;
-- (IBAction) endSetComments:(id) sender;
-- (void) setMovieIndex: (short) i;
-- (void) setCurvedController: (CurvedMPR*) cmpr;
-- (CurvedMPR*) curvedController;
-- (IBAction) setCurvedMPRslider:(id) sender;
-- (IBAction) endCurvedMPR:(id) sender;
-- (IBAction) resetImage:(id) sender;
-+ (NSArray*) defaultROINames;
-+ (void) setDefaultROINames: (NSArray*) names;
-- (IBAction) endExportDICOMFileSettings:(id) sender;
-- (IBAction) keyImageCheckBox:(id) sender;
-- (IBAction) keyImageDisplayButton:(id) sender;
-- (void) adjustKeyImage;
-- (IBAction) saveWindowsState:(id) sender;
-- (IBAction) loadWindowsState:(id) sender;
-- (IBAction) resetWindowsState:(id) sender;
-- (void) buildMatrixPreview;
-- (void) buildMatrixPreview: (BOOL) showSelected;
-- (void) matrixPreviewSelectCurrentSeries;
-- (void) autoHideMatrix;
-- (void) exportQuicktimeIn:(long) dimension :(long) from :(long) to :(long) interval;
-- (void) exportQuicktimeIn:(long) dimension :(long) from :(long) to :(long) interval :(BOOL) allViewers;
-- (void) exportQuicktimeIn:(long) dimension :(long) from :(long) to :(long) interval :(BOOL) allViewers mode:(NSString*) mode;
-- (IBAction) endExportImage: (id) sender;
-- (IBAction) setCurrentPosition:(id) sender;
-- (IBAction) setCurrentdcmExport:(id) sender;
-- (IBAction) endDisplaySUV:(id) sender;
-- (IBAction) endRoiRename:(id) sender;
-- (IBAction) roiRename:(id) sender;
-- (void) SyncSeries:(id) sender;
-- (float) computeVolume:(ROI*) selectedRoi points:(NSMutableArray**) pts error:(NSString**) error;
-- (float) computeVolume:(ROI*) selectedRoi points:(NSMutableArray**) pts generateMissingROIs:(BOOL) generateMissingROIs error:(NSString**) error;
-- (float) computeVolume:(ROI*) selectedRoi points:(NSMutableArray**) pts generateMissingROIs:(BOOL) generateMissingROIs generatedROIs:(NSMutableArray*) generatedROIs computeData:(NSMutableDictionary*) data error:(NSString**) error;
-
-- (NSArray*)roisWithName:(NSString*)name;
-- (NSArray*)roisWithName:(NSString*)name in4D:(BOOL)in4D;
-- (NSArray*)roisWithName:(NSString*)name forMovieIndex:(int)m;
-
-- (NSArray*) roisWithComment: (NSString*) comment;
-- (NSArray*) roiNames;
-- (void) deleteROI: (ROI*) roi;
-- (void) deleteSeriesROIwithName: (NSString*) name;
-- (void) renameSeriesROIwithName: (NSString*) name newName:(NSString*) newName;
-- (void)setStandardRect:(NSRect)rect;
-- (void)setWindowFrame:(NSRect)rect;
-- (void)setWindowFrame:(NSRect)rect showWindow:(BOOL) showWindow;
-- (void)setWindowFrame:(NSRect)rect showWindow:(BOOL) showWindow animate: (BOOL) animate;
-- (IBAction) Panel3D:(id) sender;
-- (void) revertSeries:(id) sender;
-- (void) executeRevert;
-- (NSImage*) imageForROI: (int) i;
-- (void) ActivateBlending:(ViewerController*) bC;
-- (void) setFusionMode:(long) m;
-- (short) curMovieIndex;
-- (id) findiChatButton;
-- (void) convertPETtoSUV;
-- (IBAction) fullScreenMenu:(id) sender;
--(int) imageIndexOfROI:(ROI*) c;
-- (void)exportTextFieldDidChange:(NSNotification *)note;
-- (short) orientationVector;
-- (short) orthogonalOrientation;
-// functions s that plugins can also play with globals
-+ (ViewerController *) draggedController;
-+ (void) setDraggedController:(ViewerController *) controller;
-- (void) clear8bitRepresentations;
--(void) ApplyConvString:(NSString*) str;
-- (void)checkView:(NSView *)aView :(BOOL) OnOff;
-- (IBAction) applyConvolutionOnSource:(id) sender;
-- (float) factorPET2SUV;
-- (IBAction) flipDataSeries: (id) sender;
-- (void) roiSetStartScheduler:(NSMutableArray*) roiToProceed;
-- (void)setToolbarReportIconForItem:(NSToolbarItem *)item;
-- (void)updateReportToolbarIcon:(NSNotification *)note;
-- (IBAction) setOrientationTool:(id) sender;
-- (void) setWindowTitle:(id) sender;
-- (IBAction) printSlider:(id) sender;
-- (void) setConv:(short*) matrix :(short) size :(short) norm;
--(BOOL) checkFrameSize;
-- (IBAction) vertFlipDataSet:(id) sender;
-- (IBAction) horzFlipDataSet:(id) sender;
-- (void) rotateDataSet:(int) constant;
-- (void) SetSyncButtonBehavior:(id) sender;
-- (IBAction) roiDeleteGeneratedROIsForName:(NSString*) name;
-- (IBAction) roiDeleteGeneratedROIs:(id) sender;
-- (ROI*)selectedROI;
-- (NSMutableArray*) selectedROIs;
-- (ViewerController*) registeredViewer;
-- (void) setRegisteredViewer: (ViewerController*) viewer;
-- (void)setMode:(long)mode toROIGroupWithID:(NSTimeInterval)groupID;
-- (void)selectROI:(ROI*)roi deselectingOther:(BOOL)deselectOther;
-- (void)deselectAllROIs;
-- (void) refreshToolbar;
-- (void) redrawToolbar;
-- (void) reloadAnnotations;
-- (NSScrollView*) previewMatrixScrollView;
-
-#pragma mark-
-#pragma mark Brush ROI Filters
-
-/** Applies the selected Brush ROI morpho filter
-* @param rois ROI array to filter
-* @param action The filter to apply: Possible values are: open, close, erode, dilate
-* @param radius structuringElementRadius for the filter
-* @param sendNotification Will post an @"roiChange" notification if YES
-*/
-- (void) applyMorphology: (NSArray*) rois action:(NSString*) action radius: (long) radius sendNotification: (BOOL) sendNotification;
-
-/** Set the structuring radius for the brush ROI morpho filter */
-- (IBAction) setStructuringElementRadius: (id) sender;
-
-
-/** Action to start filter for the selected brush ROI using the filter selected with
-- (IBAction) morphoSelectedBrushROI: (id) sender
-* Filters are: erode, dilate, open, close
-*/
-- (IBAction) morphoSelectedBrushROIWithRadius: (id) sender;
-
-/** Select filter for the selected brush ROI
-* Filters are: erode, dilate, open, close
-*/
-- (IBAction) morphoSelectedBrushROI: (id) sender;
-
-
-/** Create a new ROI between two ROI
-* Converts both ROIs into polygons, after a marching square isocontour
-* @param a First ROI
-* @param b Second ROI
-* @param ratio Weighting used to morph between the two
-*/
-- (ROI*) roiMorphingBetween:(ROI*) a and:(ROI*) b ratio:(float) ratio;
-
-/** Convert Polygon ROI to a Brush ROI.
-* @param selectedROI The ROI to convert
-*/
-- (ROI*) convertPolygonROItoBrush:(ROI*) selectedROI;
-
-/** Convert Brush ROI to a Polygon ROI. Returns converted ROI
-* @param selectedROI The ROI to convert
-* @param numPoints Number of points for the polygon
-*/
-- (ROI*) convertBrushROItoPolygon:(ROI*) selectedROI numPoints: (int) numPoints;
-
-#pragma mark-
-#pragma mark Registration
-
-/** Returns an NSArray of all t2DPoint type ROI*/
-- (NSMutableArray*) point2DList;
-
-
-/** Computes registration between the current Viewer and another ViewerController
-* A HornRegistatration is first performed
-* ITKTransform is used for the transform.
-* At least three t2DPoint type ROI to compute
-* Each point on the moving viewer needs a twin on the fixed viewer.
-* Two points are twin brothers if and only if they have the same name.
-*/
-- (void) computeRegistrationWithMovingViewer:(ViewerController*) movingViewer;
-
-/** Returns a new viewer with the current series resampled to match the Orientation of series in the other viewer
-* Both series must be from the same study to insure matching imageOrientationPatient and imagePositionPatient
-* @param movingViewer The ViewerController to resample the series to match
-*/
-- (ViewerController*) resampleSeries:(ViewerController*) movingViewer;
-
-#pragma mark-
-#pragma mark Key Objects
-
-/** Creates a Key Object note for the current key Images */
-- (IBAction)createKeyObjectNote:(id)sender;
-
-/** End sheet method for creating key Object notes
-* Called internally
-*/
-- (void)keyObjectSheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(id)contextInfo;
-
-
-/** return flag indicating whether only the key images are being displayed */
-- (BOOL)displayOnlyKeyImages;
-
-
-/** Returns whether the image at the index is a key image
-* @param index of image to check
-*/
-- (BOOL)isKeyImage:(int)index;
-
-
-
-
-#pragma mark-
-#pragma mark Convience methods for accessing values in the current imageView
-/** Current ImageView window width */
--(float)curWW;
-
-/** Current ImageView window level */
--(float)curWL;
-
-/** Set window width and window level for current ImageView */
-- (void)setWL:(float)wl WW:(float)ww;
-
-/** Current ImageView horizontal flip */
-- (BOOL)xFlipped;
-
-/** Current ImageView vertical flip */
-- (BOOL)yFlipped;
-
-/** Current ImageView rotation */
-- (float)rotation;
-
-/** Set rotation for current ImageView */
-- (void)setRotation:(float)rotation;
-
-/** Set origin for current ImageView */
-- (void)setOrigin:(NSPoint) o;
-
-/** Current ImageView zoom */
-- (float)scaleValue;
-
-/** Set zoom for current ImageView */
-- (void)setScaleValue:(float)scaleValue;
-
-/** Set vertical flip for current ImageView */
-- (void)setYFlipped:(BOOL) v;
-
-/** Set horizontal flip for current ImageView */
-- (void)setXFlipped:(BOOL) v;
-
-
-// Opening 3D Viewers
-#pragma mark-
-#pragma mark 3D Viewers
-/** Returns the VRController for this ViewerController; creating one if necessary
-* See VRController for modes
- */
-- (VRController *)openVRViewerForMode:(NSString *)mode;
-
-/** Returns the VRPROController for this ViewerController; creating one if necessary
-* See VRController for modes
-*/
-//- (VRPROController*)openVRVPROViewerForMode:(NSString *)mode;
-
-/** Returns the OrthogonalMPRViewer for this ViewerController; creating one if necessary */
-- (OrthogonalMPRViewer *)openOrthogonalMPRViewer;
-
-/** Returns the OrthogonalMPRPETCTViewer for this ViewerController; creating one if necessary */
-- (OrthogonalMPRPETCTViewer *)openOrthogonalMPRPETCTViewer;
-
-/** Returns the EndoscopyViewer for this ViewerController; creating one if necessary */
-- (EndoscopyViewer *)openEndoscopyViewer;
-
-/** Returns the SRController for this ViewerController; creating one if necessary */
-- (SRController *)openSRViewer;
-
-/** Returns the MPRController for this ViewerController; creating one if necessary */
-- (MPRController *)openMPRViewer;
-- (IBAction)mprViewer:(id)sender;
-
-/** Current SeriesView */
-- (SeriesView *) seriesView;
-
-/** Tiles the DCMView in the SeriesView of the current ViewerController
-* This tiles images within a series.
-* @param rows number of rows to tile
-* @param columns number of columns
-*/
-- (void)setImageRows:(int)rows columns:(int)columns;
-
-/** Tile the images within the active ViewerController
-* Tiling based on tag of menu item
-* 16 possible arrangements
-* rows = (tag / 4) + 1;
-* columns = (tag % 4) + 1;
-* - (void)setImageRows:(int)rows columns:(int)columns then called
-*/
-- (IBAction)setImageTiling: (id)sender;
-
-#pragma mark-
-#pragma mark Calcium scoring
-/** Deprecated
-* Calcium Scoring moved to a plugin
-*/
-- (IBAction)calciumScoring:(id)sender;
-
-#pragma mark-
-#pragma mark Centerline
-/** Nonfunctional
-* Centerline only works in Endoscopy Mode
-*/
-- (IBAction)centerline: (id)sender;
-
-#pragma mark-
-#pragma mark ROI Grouping
-/** Group selected ROI together */
-- (IBAction)groupSelectedROIs:(id)sender;
-/** Ungroup ROI */
-- (IBAction)ungroupSelectedROIs:(id)sender;
-
-/** Lock selected ROI together */
-- (IBAction) lockSelectedROIs:(id)sender;
-/** Unlock ROI */
-- (IBAction) unlockSelectedROIs:(id)sender;
-
-- (IBAction) makeSelectedROIsUnselectable:(id)sender;
-- (IBAction) makeAllROIsSelectable:(id)sender;
-
-- (void) turnOffSyncSeriesBetweenStudies:(id) sender;
-- (NSDictionary*) exportDICOMFileInt:(int)screenCapture withName:(NSString*)name;
-- (NSDictionary*) exportDICOMFileInt:(int)screenCapture withName:(NSString*)name allViewers: (BOOL) allViewers;
-
-#pragma mark-
-#pragma mark 12 Bit
-- (IBAction)enable12Bit:(id)sender;
-
-#pragma mark-
-#pragma mark Navigator
-- (IBAction)navigator:(id)sender;
-- (void)updateNavigator;
-
-- (IBAction)threeDPanel:(id)sender;
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/WaitRendering.h b/CMIV_CTA_TOOLS/OsiriX Headers/WaitRendering.h
deleted file mode 100644
index dc2f09c..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/WaitRendering.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-/** \brief Window Controller for Wait rendering */
-@interface WaitRendering : NSWindowController
-{
- IBOutlet NSProgressIndicator *progress;
- IBOutlet NSButton *abort;
- IBOutlet NSTextField *message, *currentTimeText, *lastTimeText;
-
- NSString *string;
- NSTimeInterval lastDuration, lastTimeFrame;
- NSDate *startTime;
-
- BOOL aborted;
- volatile BOOL stop;
- BOOL cancel;
- NSModalSession session;
-
- id cancelDelegate;
-
- NSTimeInterval displayedTime;
-}
-- (id) init:(NSString*) s;
-- (BOOL) run;
-- (void) start;
-- (void) end;
-- (IBAction) abort:(id) sender;
-- (void) setCancel :(BOOL) val;
-- (BOOL) aborted;
-- (void) setString:(NSString*) str;
-- (void) setCancelDelegate:(id) object;
-- (void) resetLastDuration;
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/browserController.h b/CMIV_CTA_TOOLS/OsiriX Headers/browserController.h
deleted file mode 100644
index e6d1a86..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/browserController.h
+++ /dev/null
@@ -1,537 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-@class MPR2DController;
-@class NSCFDate;
-@class BurnerWindowController;
-@class ViewerController;
-@class BonjourPublisher;
-@class BonjourBrowser;
-@class AnonymizerWindowController;
-@class QueryController;
-@class LogWindowController;
-@class PreviewView;
-@class MyOutlineView;
-@class DCMView;
-@class DCMPix;
-@class StructuredReportController;
-@class BrowserMatrix;
-@class PluginManagerController;
-@class WaitRendering;
-
-enum RootTypes{PatientRootType, StudyRootType, RandomRootType};
-enum simpleSearchType {PatientNameSearch, PatientIDSearch};
-enum queueStatus{QueueHasData, QueueEmpty};
-enum dbObjectSelection {oAny,oMiddle,oFirstForFirst};
-
-/** \brief Window controller for Browser
-*
-* This is a large class with a lot of functions.
-* Along with managing the Browser Window it manages all the view in the browser
-* and manges the database
-*/
-
-@interface BrowserController : NSWindowController //NSObject
-{
- NSManagedObjectModel *managedObjectModel;
- NSManagedObjectContext *managedObjectContext;
- NSPersistentStoreCoordinator *persistentStoreCoordinator;
-
- NSDateFormatter *DateTimeFormat, *DateOfBirthFormat, *TimeFormat, *TimeWithSecondsFormat, *DateTimeWithSecondsFormat;
-
- NSRect visibleScreenRect[ 40];
- NSString *currentDatabasePath;
- BOOL isCurrentDatabaseBonjour;
- NSString *transferSyntax;
- NSArray *dirArray;
- NSToolbar *toolbar;
-
- NSMutableArray *sendQueue;
- NSMutableDictionary *bonjourReportFilesToCheck;
-
- NSMutableArray *previewPix, *previewPixThumbnails;
-
- NSMutableArray *draggedItems;
-
- NSMutableDictionary *activeSends;
- NSMutableArray *sendLog;
- NSMutableDictionary *activeReceives;
- NSMutableArray *receiveLog;
-
- AnonymizerWindowController *anonymizerController;
- BurnerWindowController *burnerWindowController;
- LogWindowController *logWindowController;
-
- NSNumberFormatter *numFmt;
-
- DCMPix *curPreviewPix;
-
- NSTimer *timer, *IncomingTimer, *matrixDisplayIcons, *refreshTimer, *databaseCleanerTimer, *bonjourTimer, *deleteQueueTimer, *autoroutingQueueTimer;
- long loadPreviewIndex, previousNoOfFiles;
- NSManagedObject *previousItem;
-
- long previousBonjourIndex;
-
- long COLUMN;
- IBOutlet NSSplitView *splitViewHorz, *splitViewVert;
-
- BOOL setDCMDone, mountedVolume, needDBRefresh, dontLoadSelectionSource;
-
- NSMutableArray *albumNoOfStudiesCache;
-
- volatile BOOL bonjourDownloading;
-
- NSArray *outlineViewArray, *originalOutlineViewArray;
- NSArray *matrixViewArray;
-
- NSString *_searchString;
-
- IBOutlet NSTextField *databaseDescription;
- IBOutlet MyOutlineView *databaseOutline;
- NSMenu *columnsMenu;
- IBOutlet BrowserMatrix *oMatrix;
- IBOutlet NSTableView *albumTable;
- IBOutlet NSSegmentedControl *segmentedAlbumButton;
-
- IBOutlet NSSplitView *sourcesSplitView;
- IBOutlet NSBox *bonjourSourcesBox;
-
- IBOutlet NSTextField *bonjourServiceName, *bonjourPassword;
- IBOutlet NSTableView *bonjourServicesList;
- IBOutlet NSButton *bonjourSharingCheck, *bonjourPasswordCheck;
- BonjourPublisher *bonjourPublisher;
- BonjourBrowser *bonjourBrowser;
-
- IBOutlet NSSlider *animationSlider;
- IBOutlet NSButton *animationCheck;
-
- IBOutlet PreviewView *imageView;
-
- int subFrom, subTo, subInterval, subMax;
-
- IBOutlet NSWindow *subOpenWindow;
- IBOutlet NSMatrix *subOpenMatrix3D, *subOpenMatrix4D, *supOpenButtons;
-
- IBOutlet NSWindow *subSeriesWindow;
- IBOutlet NSButton *subSeriesOKButton;
- IBOutlet NSTextField *memoryMessage;
- IBOutlet NSBox *enoughMem, *notEnoughMem;
-
- IBOutlet NSWindow *bonjourPasswordWindow;
- IBOutlet NSTextField *password;
-
- IBOutlet NSWindow *newAlbum;
- IBOutlet NSTextField *newAlbumName;
-
- IBOutlet NSWindow *editSmartAlbum;
- IBOutlet NSTextField *editSmartAlbumName, *editSmartAlbumQuery;
-
- IBOutlet NSDrawer *albumDrawer;
-
- IBOutlet NSWindow *rebuildWindow;
- IBOutlet NSMatrix *rebuildType;
- IBOutlet NSTextField *estimatedTime, *noOfFilesToRebuild, *warning;
-
- IBOutlet NSPopUpButton *timeIntervalPopup;
- IBOutlet NSWindow *customTimeIntervalWindow;
- IBOutlet NSDatePicker *customStart, *customEnd, *customStart2, *customEnd2;
- IBOutlet NSView *timeIntervalView;
- int timeIntervalType;
- NSDate *timeIntervalStart, * timeIntervalEnd;
-
- IBOutlet NSView *searchView;
- IBOutlet NSSearchField *searchField;
- NSToolbarItem *toolbarSearchItem;
- int searchType;
-
- IBOutlet NSWindow *mainWindow;
- IBOutlet NSMenu *imageTileMenu;
- IBOutlet NSWindow *urlWindow;
- IBOutlet NSTextField *urlString;
-
- IBOutlet NSForm *rdPatientForm;
- IBOutlet NSForm *rdPixelForm;
- IBOutlet NSForm *rdVoxelForm;
- IBOutlet NSForm *rdOffsetForm;
- IBOutlet NSMatrix *rdPixelTypeMatrix;
- IBOutlet NSView *rdAccessory;
-
- IBOutlet NSView *exportQuicktimeView;
- IBOutlet NSButton *exportHTMLButton;
-
- IBOutlet NSView *exportAccessoryView;
- IBOutlet NSButton *addDICOMDIRButton;
- IBOutlet NSMatrix *compressionMatrix;
- IBOutlet NSMatrix *folderTree;
-
- NSRecursiveLock *checkIncomingLock;
- NSLock *checkBonjourUpToDateThreadLock;
- NSTimeInterval lastSaved;
-
- BOOL showAllImages, DatabaseIsEdited, isNetworkLogsActive, displayEmptyDatabase;
- NSConditionLock *queueLock;
-
- IBOutlet NSScrollView *thumbnailsScrollView;
-
- NSPredicate *_fetchPredicate;
- NSPredicate *_filterPredicate;
- NSString *_filterPredicateDescription;
-
- NSString *fixedDocumentsDirectory;
-
- char cfixedDocumentsDirectory[ 4096], cfixedIncomingDirectory[ 4096];
-
- NSTimeInterval databaseLastModification;
-
- StructuredReportController *structuredReportController;
-
- NSMutableArray *deleteQueueArray;
- NSLock *deleteQueue, *deleteInProgress;
-
- NSMutableArray *autoroutingQueueArray;
- NSLock *autoroutingQueue, *autoroutingInProgress;
- NSMutableDictionary *autoroutingPreviousStudies;
-
- NSConditionLock *processorsLock;
- NSLock *decompressArrayLock, *decompressThreadRunning;
- NSMutableArray *decompressArray;
-
- NSMutableString *pressedKeys;
-
- IBOutlet NSView *reportTemplatesView;
- IBOutlet NSImageView *reportTemplatesImageView;
- IBOutlet NSPopUpButton *reportTemplatesListPopUpButton;
- int reportToolbarItemType;
-
- NSConditionLock *newFilesConditionLock;
- NSMutableArray *viewersListToReload, *viewersListToRebuild;
-
- NSImage *notFoundImage;
-
- volatile BOOL newFilesInIncoming;
- NSImage *standardOsiriXIcon;
- NSImage *downloadingOsiriXIcon;
- NSImage *currentIcon;
-
- BOOL ROIsAndKeyImagesButtonAvailable;
-
- BOOL rtstructProgressBar;
- float rtstructProgressPercent;
-
- BOOL avoidRecursive;
-
- IBOutlet PluginManagerController *pluginManagerController;
- NSTimeInterval lastCheckIncoming;
-
- WaitRendering *waitOpeningWindow;
-
- BOOL checkForMountedFiles;
-}
-
-@property(readonly) NSDateFormatter *DateTimeFormat;
-@property(readonly) NSDateFormatter *DateOfBirthFormat;
-@property(readonly) NSDateFormatter *TimeFormat;
-@property(readonly) NSDateFormatter *TimeWithSecondsFormat;
-@property(readonly) NSDateFormatter *DateTimeWithSecondsFormat;
-@property(readonly) NSRecursiveLock *checkIncomingLock;
-
-@property(readonly) NSArray *matrixViewArray;
-@property(readonly) NSMatrix *oMatrix;
-@property(readonly) long COLUMN;
-@property(readonly) BOOL is2DViewer;
-@property(readonly) MyOutlineView *databaseOutline;
-@property(readonly) NSTableView *albumTable;
-@property(readonly) BOOL isCurrentDatabaseBonjour;
-@property(readonly) NSString *currentDatabasePath;
-@property(readonly) NSString *localDatabasePath;
-@property(readonly) NSString *bonjourPassword;
-@property(readonly) long currentBonjourService;
-
-@property volatile BOOL bonjourDownloading;
-@property(readonly) NSBox *bonjourSourcesBox;
-@property(readonly) NSTextField *bonjourServiceName;
-@property(readonly) NSTextField *bonjourPasswordTextField;
-@property(readonly) NSButton *bonjourSharingCheck;
-@property(readonly) NSButton *bonjourPasswordCheck;
-@property(readonly) BonjourBrowser *bonjourBrowser;
-
-@property(readonly) NSString *documentsDirectory;
-@property(readonly) NSString *fixedDocumentsDirectory;
-@property(readonly) char *cfixedDocumentsDirectory, *cfixedIncomingDirectory;
-
-@property(retain) NSString *searchString;
-@property(retain) NSPredicate *fetchPredicate;
-@property(readonly) NSPredicate *filterPredicate;
-@property(readonly) NSString *filterPredicateDescription;
-
-@property BOOL rtstructProgressBar;
-@property float rtstructProgressPercent;
-
-@property(readonly) PluginManagerController *pluginManagerController;
-
-+ (BrowserController*) currentBrowser;
-+ (void) replaceNotAdmitted:(NSMutableString*) name;
-+ (NSArray*) statesArray;
-+ (void) updateActivity;
-+ (NSData*) produceJPEGThumbnail:(NSImage*) image;
-- (IBAction) createDatabaseFolder:(id) sender;
-- (void) openDatabasePath: (NSString*) path;
-- (BOOL) shouldTerminate: (id) sender;
-- (void) databaseOpenStudy: (NSManagedObject*) item;
-- (IBAction) databaseDoublePressed:(id)sender;
-- (void) setDBDate;
-- (void) setDockIcon;
-- (void) showEntireDatabase;
-- (IBAction) querySelectedStudy:(id) sender;
-- (NSPredicate*) smartAlbumPredicate:(NSManagedObject*) album;
-- (NSPredicate*) smartAlbumPredicateString:(NSString*) string;
-- (void) emptyDeleteQueueThread;
-- (void) emptyDeleteQueue:(id) sender;
-- (void) addFileToDeleteQueue:(NSString*) file;
-- (NSString*) getNewFileDatabasePath: (NSString*) extension;
-- (NSString*) getNewFileDatabasePath: (NSString*) extension dbFolder: (NSString*) dbFolder;
-- (NSManagedObjectModel *) managedObjectModel;
-- (NSManagedObjectContext *) managedObjectContext;
-- (NSManagedObjectContext *) defaultManagerObjectContext;
-- (NSArray*) childrenArray: (NSManagedObject*) item;
-- (NSArray*) childrenArray: (NSManagedObject*) item onlyImages:(BOOL) onlyImages;
-- (NSArray*) imagesArray: (NSManagedObject*) item;
-- (NSArray*) imagesArray: (NSManagedObject*) item preferredObject: (int) preferredObject;
-- (NSArray*) imagesArray: (NSManagedObject*) item onlyImages:(BOOL) onlyImages;
-- (NSArray*) imagesArray: (NSManagedObject*) item preferredObject: (int) preferredObject onlyImages:(BOOL) onlyImages;
-- (NSManagedObjectContext *) managedObjectContextLoadIfNecessary:(BOOL) loadIfNecessary;
-- (void) setNetworkLogs;
-- (BOOL) isNetworkLogsActive;
-- (NSTimeInterval) databaseLastModification;
-- (IBAction) matrixDoublePressed:(id)sender;
-- (void) addURLToDatabaseEnd:(id) sender;
-- (void) addURLToDatabase:(id) sender;
-- (NSArray*) addURLToDatabaseFiles:(NSArray*) URLs;
--(BOOL) findAndSelectFile: (NSString*) path image: (NSManagedObject*) curImage shouldExpand: (BOOL) expand;
--(BOOL) findAndSelectFile: (NSString*) path image: (NSManagedObject*) curImage shouldExpand: (BOOL) expand extendingSelection: (BOOL) extendingSelection;
-- (IBAction) sendiDisk:(id) sender;
-- (void) selectServer: (NSArray*) files;
-- (void) loadDICOMFromiPod;
-- (long) saveDatabase:(NSString*) path;
-- (void) addDICOMDIR:(NSString*) dicomdir :(NSMutableArray*) files;
--(NSMutableArray*) copyFilesIntoDatabaseIfNeeded:(NSMutableArray*) filesInput;
--(NSMutableArray*) copyFilesIntoDatabaseIfNeeded:(NSMutableArray*) filesInput async: (BOOL) async;
-- (NSMutableArray*)copyFilesIntoDatabaseIfNeeded: (NSMutableArray*)filesInput async: (BOOL)async COPYDATABASE: (BOOL) COPYDATABASE COPYDATABASEMODE:(int) COPYDATABASEMODE;
--(ViewerController*) loadSeries :(NSManagedObject *)curFile :(ViewerController*) viewer :(BOOL) firstViewer keyImagesOnly:(BOOL) keyImages;
--(void) loadNextPatient:(NSManagedObject *) curImage :(long) direction :(ViewerController*) viewer :(BOOL) firstViewer keyImagesOnly:(BOOL) keyImages;
--(void) loadNextSeries:(NSManagedObject *) curImage :(long) direction :(ViewerController*) viewer :(BOOL) firstViewer keyImagesOnly:(BOOL) keyImages;
-- (ViewerController*) openViewerFromImages:(NSArray*) toOpenArray movie:(BOOL) movieViewer viewer:(ViewerController*) viewer keyImagesOnly:(BOOL) keyImages;
-- (void) export2PACS:(id) sender;
-- (void) queryDICOM:(id) sender;
--(void) exportQuicktimeInt:(NSArray*) dicomFiles2Export :(NSString*) path :(BOOL) html;
-- (IBAction) delItem:(id) sender;
-- (void) delObjects:(NSMutableArray*) objectsToDelete;
-- (IBAction) selectFilesAndFoldersToAdd:(id) sender;
-- (void) showDatabase:(id)sender;
--(IBAction) matrixPressed:(id)sender;
--(void) loadDatabase:(NSString*) path;
-- (void) viewerDICOMInt:(BOOL) movieViewer dcmFile:(NSArray *)selectedLines viewer:(ViewerController*) viewer;
-- (void) viewerDICOMInt:(BOOL) movieViewer dcmFile:(NSArray *)selectedLines viewer:(ViewerController*) viewer tileWindows: (BOOL) tileWindows;
-- (NSToolbarItem *) toolbar: (NSToolbar *)toolbar itemForItemIdentifier: (NSString *) itemIdent willBeInsertedIntoToolbar:(BOOL) willBeInserted;
-- (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar*)toolbar;
-- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar*)toolbar;
-- (BOOL) validateToolbarItem: (NSToolbarItem *) toolbarItem;
-- (NSArray*) exportDICOMFileInt:(NSString*) location files:(NSMutableArray*) filesToExport objects:(NSMutableArray*) dicomFiles2Export;
-- (void) processOpenViewerDICOMFromArray:(NSArray*) toOpenArray movie:(BOOL) movieViewer viewer: (ViewerController*) viewer;
-- (void) setDatabaseValue:(id) object item:(id) item forKey:(NSString*) key;
-- (void) setupToolbar;
-- (void) addAlbumsFile: (NSString*) file;
-- (NSString*) getDatabaseFolderFor: (NSString*) path;
-- (NSString*) getDatabaseIndexFileFor: (NSString*) path;
-- (IBAction) copyToDBFolder: (id) sender;
-- (void) setCurrentBonjourService:(int) index;
-- (IBAction)customize:(id)sender;
-- (IBAction)showhide:(id)sender;
-- (IBAction) selectAll3DSeries:(id) sender;
-- (IBAction) selectAll4DSeries:(id) sender;
-- (void) exportDICOMFile:(id) sender;
-- (void) viewerDICOM:(id) sender;
-- (void)newViewerDICOM:(id) sender;
-- (void) viewerDICOMKeyImages:(id) sender;
-- (void) viewerDICOMMergeSelection:(id) sender;
-- (void) burnDICOM:(id) sender;
-- (IBAction) anonymizeDICOM:(id) sender;
-- (IBAction)addSmartAlbum: (id)sender;
-- (IBAction)search: (id)sender;
-- (IBAction)setSearchType: (id)sender;
-- (void) setDraggedItems:(NSArray*) pbItems;
-- (IBAction)setTimeIntervalType: (id)sender;
-- (IBAction) endCustomInterval:(id) sender;
-- (IBAction) customIntervalNow:(id) sender;
-- (IBAction) saveDBListAs:(id) sender;
-- (IBAction) openDatabase:(id) sender;
-- (IBAction) createDatabase:(id) sender;
-- (void) openDatabaseIn:(NSString*) a Bonjour:(BOOL) isBonjour;
-- (void) browserPrepareForClose;
-- (IBAction) endReBuildDatabase:(id) sender;
-- (IBAction) ReBuildDatabase:(id) sender;
-- (IBAction) ReBuildDatabaseSheet: (id)sender;
-- (void) previewSliderAction:(id) sender;
-- (void) addHelpMenu;
-+ (NSString*) _findFirstDicomdirOnCDMedia: (NSString*)startDirectory found:(BOOL) found;
-+ (BOOL)isItCD:(NSString*) path;
-- (void)storeSCPComplete:(id)sender;
-- (NSMutableArray *) filesForDatabaseOutlineSelection :(NSMutableArray*) correspondingDicomFile;
-- (NSMutableArray *) filesForDatabaseOutlineSelection :(NSMutableArray*) correspondingManagedObjects onlyImages:(BOOL) onlyImages;
-- (NSMutableArray *) filesForDatabaseMatrixSelection :(NSMutableArray*) correspondingManagedObjects;
-- (NSMutableArray *) filesForDatabaseMatrixSelection :(NSMutableArray*) correspondingManagedObjects onlyImages:(BOOL) onlyImages;
-- (void)setToolbarReportIconForItem: (NSToolbarItem *)item;
-- (void)executeAutorouting: (NSArray *)newImages;
-- (void) resetListenerTimer;
-- (IBAction) smartAlbumHelpButton:(id) sender;
-- (IBAction) regenerateAutoComments:(id) sender;
-- (DCMPix *)previewPix:(int)i;
-- (NSArray*) addFilesToDatabase:(NSArray*) newFilesArray;
-- (NSArray*) addFilesAndFolderToDatabase:(NSArray*) filenames;
-- (NSArray*) addFilesToDatabase:(NSArray*) newFilesArray onlyDICOM:(BOOL) onlyDICOM safeRebuild:(BOOL) safeProcess produceAddedFiles:(BOOL) produceAddedFiles;
-- (NSArray*) addFilesToDatabase:(NSArray*) newFilesArray onlyDICOM:(BOOL) onlyDICOM safeRebuild:(BOOL) safeProcess produceAddedFiles:(BOOL) produceAddedFiles parseExistingObject:(BOOL) parseExistingObject;
-- (NSArray*) addFilesToDatabase:(NSArray*) newFilesArray onlyDICOM:(BOOL) onlyDICOM safeRebuild:(BOOL) safeProcess produceAddedFiles:(BOOL) produceAddedFiles parseExistingObject:(BOOL) parseExistingObject context: (NSManagedObjectContext*) context dbFolder:(NSString*) dbFolder;
-
-//- (short) createAnonymizedFile:(NSString*) srcFile :(NSString*) dstFile;
-
-//- (void)runSendQueue:(id)object;
-//- (void)addToQueue:(NSArray *)array;
-
--(void) previewPerformAnimation:(id) sender;
--(void) matrixDisplayIcons:(id) sender;
-//- (void)reloadSendLog:(id)sender;
-- (void) pdfPreview:(id)sender;
-- (IBAction)importRawData:(id)sender;
-- (void) setBurnerWindowControllerToNIL;
-- (BOOL) checkBurner;
-
-- (NSArray*) KeyImages: (id) sender;
-- (NSArray*) ROIImages: (id) sender;
-- (NSArray*) ROIsAndKeyImages: (id) sender;
-- (NSArray*) ROIsAndKeyImages: (id) sender sameSeries: (BOOL*) sameSeries;
-
-- (void) refreshColumns;
-- (void) outlineViewRefresh;
-- (void) matrixInit:(long) noOfImages;
-- (IBAction) albumButtons: (id)sender;
-- (NSArray*) albumArray;
-- (void) refreshSmartAlbums;
-- (void) refreshAlbums;
-- (void) waitForRunningProcesses;
-- (void) checkResponder;
-
-- (NSArray*) imagesPathArray: (NSManagedObject*) item;
-
-- (void) autoCleanDatabaseFreeSpace:(id) sender;
-- (void) autoCleanDatabaseDate:(id) sender;
-
-- (void) refreshDatabase:(id) sender;
-- (void) syncReportsIfNecessary;
-- (void) syncReportsIfNecessary: (int) index;
-- (void) removeAllMounted;
-
-//bonjour
-- (void) getDICOMROIFiles:(NSArray*) files;
-- (void) setBonjourDatabaseValue:(NSManagedObject*) obj value:(id) value forKey:(NSString*) key;
-- (void) setServiceName:(NSString*) title;
-- (NSString*) serviceName;
-- (IBAction)toggleBonjourSharing:(id) sender;
-- (void) setBonjourSharingEnabled:(BOOL) boo;
-- (void) bonjourWillPublish;
-- (void) bonjourDidStop;
-- (IBAction) bonjourServiceClicked:(id)sender;
-- (NSString*) getLocalDCMPath: (NSManagedObject*) obj :(long) no;
-- (void) displayBonjourServices;
-- (NSString*) askPassword;
-- (void) resetToLocalDatabase;
-- (void) switchToDefaultDBIfNeeded;
-- (void) createContextualMenu;
-- (void) checkIncomingThread:(id) sender;
-- (void) checkIncoming:(id) sender;
-- (void) checkIncomingNow:(id) sender;
-- (NSArray*) openSubSeries: (NSArray*) toOpenArray;
-- (IBAction) checkMemory:(id) sender;
-- (IBAction) buildAllThumbnails:(id) sender;
-- (IBAction) mergeStudies:(id) sender;
-
-// Finding Comparisons
-- (NSArray *)relatedStudiesForStudy:(id)study;
-
-//DB plugins
-- (void)executeFilterDB:(id)sender;
-
-- (NSString *)documentsDirectoryFor:(int) mode url:(NSString*) url;
-- (NSString *)setFixedDocumentsDirectory;
-- (IBAction)showLogWindow: (id)sender;
-- (void) resetLogWindowController;
-
-- (NSString *)folderPathResolvingAliasAndSymLink:(NSString *)path;
-
-- (void)setFilterPredicate:(NSPredicate *)predicate description:(NSString*) desc;
-- (NSPredicate *)createFilterPredicate;
-- (NSString *)createFilterDescription;
-
-- (IBAction) generateReport: (id) sender;
-- (IBAction) deleteReport: (id) sender;
-- (IBAction)srReports: (id)sender;
-
-- (IBAction) rebuildThumbnails:(id) sender;
-
-- (NSArray *)databaseSelection;
-
-- (void) importCommentsAndStatusFromDictionary:(NSDictionary*) d;
-- (NSDictionary*) dictionaryWithCommentsAndStatus:(NSManagedObject *)s;
-- (void) importReport:(NSString*) path UID: (NSString*) uid;
-
-- (void) newFilesGUIUpdateRun:(int) state;
-- (void) newFilesGUIUpdateRun: (int) state viewersListToReload: (NSMutableArray*) cReload viewersListToRebuild: (NSMutableArray*) cRebuild;
-- (void) newFilesGUIUpdate:(id) sender;
-
-- (IBAction) decompressSelectedFiles:(id) sender;
-- (IBAction) compressSelectedFiles:(id) sender;
-- (void) decompressArrayOfFiles: (NSArray*) array work:(NSNumber*) work;
-- (void) decompressThread: (NSNumber*) typeOfWork;
-
--(void) compressDICOMJPEG:(NSString*) compressedPath;
--(void) decompressDICOMJPEG:(NSString*) compressedPath;
-
-- (void) refreshMatrix:(id) sender;
-- (void)updateReportToolbarIcon:(NSNotification *)note;
-
-- (void) initAnimationSlider;
-
-+ (NSString*) DateTimeWithSecondsFormat:(NSDate*) t;
-+ (NSString*) TimeWithSecondsFormat:(NSDate*) t;
-+ (NSString*) DateOfBirthFormat:(NSDate*) d;
-+ (NSString*) DateTimeFormat:(NSDate*) d;
-+ (NSString*) TimeFormat:(NSDate*) t;
-
-- (int) findObject:(NSString*) request table:(NSString*) table execute: (NSString*) execute elements:(NSString**) elements;
-
-- (void) executeSend :(NSArray*) samePatientArray server:(NSDictionary*) server dictionary:(NSDictionary*) dict;
-
-- (void)writeMovie:(NSArray*)imagesArray name:(NSString*)fileName;
-- (void) buildThumbnail:(NSManagedObject*) series;
-
-/******Notifactions posted by browserController***********
-@"NewStudySelectedNotification" with userinfo key @"Selected Study" posted when a newStudy is selected in the browser
-@"Close All Viewers" posted when close open windows if option key pressed.
-@"DCMImageTilingHasChanged" when image tiling has changed
-OsirixAddToDBNotification posted when files are added to the DB
-*/
-
-@end
diff --git a/CMIV_CTA_TOOLS/OsiriX Headers/dicomFile.h b/CMIV_CTA_TOOLS/OsiriX Headers/dicomFile.h
deleted file mode 100644
index 0d29f22..0000000
--- a/CMIV_CTA_TOOLS/OsiriX Headers/dicomFile.h
+++ /dev/null
@@ -1,122 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import
-
-/** \brief Parses files for importing into the database */
-
-@interface DicomFile: NSObject
-{
- NSString *name;
- NSString *study;
- NSString *serie;
- NSString *filePath, *fileType;
- NSString *Modality;
- NSString *SOPUID;
- NSString *imageType;
-
- NSString *studyID;
- NSString *serieID;
- NSString *imageID;
- NSString *patientID;
- NSString *studyIDs;
- NSString *seriesNo;
- NSCalendarDate *date;
-
- long width, height;
- long NoOfFrames;
- long NoOfSeries;
-
- NSMutableDictionary *dicomElements;
-}
-// file functions
-+ (BOOL) isTiffFile:(NSString *) file; /**< Test for TIFF file format */
-+ (BOOL) isFVTiffFile:(NSString *) file; /**< Test for FV TIFF file format */
-+ (BOOL) isNIfTIFile:(NSString *) file; /**< Test for Nifti file format */
-+ (BOOL) isDICOMFile:(NSString *) file; /**< Test for DICOM file format */
-+ (BOOL) isDICOMFile:(NSString *) file compressed:(BOOL*) compressed; /**< Test for DICOM file format, returns YES for compressed BOOL if Transfer syntax is compressed. */
-+ (BOOL) isXMLDescriptedFile:(NSString *) file; /**< Test for XML descripted file format */
-+ (BOOL) isXMLDescriptorFile:(NSString *) file; /**< Test for XML descriptor file format. Fake DICOM for other files with XML descriptor*/
-+ (void) setFilesAreFromCDMedia: (BOOL) f; /**< Set flag for filesAreFromCDMedia */
-+ (void) setDefaults; /**< Set DEFAULTSSET flag to NO */
-+ (void) resetDefaults; /**< Resets to user defaults */
-/** Return string with invalid characters replaced
-* replaces @"^" with @" "
-* replaces @"/" with @"-"
-* replaces @"\r" with @""
-* replaces @"\n" with @""
-* @":" withString:@"-"
-* removes empty space at end of strings
-*/
-+ (NSString*) NSreplaceBadCharacter: (NSString*) str;
-+ (char *) replaceBadCharacter:(char *) str encoding: (NSStringEncoding) encoding; /**< Same as NSreplaceBadCharacter, but using char* and encodings */
-+ (NSString *) stringWithBytes:(char *) str encodings: (NSStringEncoding*) encoding; /**< Convert char* str with NSStringEncoding* encoding to NSString */
-+(NSXMLDocument *) getNIfTIXML : (NSString *) file; /**< Converts NIfTI to XML */
-
-
-- (long) NoOfFrames; /**< Number of frames in the file */
-- (long) getWidth; /**< Returns image width */
-- (long) getHeight; /**< Return image Height */
-- (long) NoOfSeries; /**< Returns number of seris in the file */
-- (id) init:(NSString*) f; /**< Init with file at location NSString* f */
-- (id) init:(NSString*) f DICOMOnly:(BOOL) DICOMOnly; /**< init with file at location NSString* f DICOM files only if DICOMOnly = YES */
-- (id) initRandom; /**< Inits and returns an empty dicomFile */
-- (id) initWithXMLDescriptor: (NSString*)pathToXMLDescriptor path:(NSString*) f; /**< Init with XMLDescriptor for information and f for image data */
-- (NSString*) patientUID; /**< Returns the patientUID */
-
-/** Returns a dictionary of the elements used to import into the database
-* Keys:
-* @"studyComment", @"studyID", @"studyDescription", @"studyDate", @"modality", @"patientID", @"patientName",
-* @"patientUID", @"fileType", @"commentsAutoFill", @"album", @"SOPClassUID", @"SOPUID", @"institutionName",
-* @"referringPhysiciansName", @"performingPhysiciansName", @"accessionNumber", @"patientAge", @"patientBirthDate",
-* @"patientSex", @"cardiacTime", @"protocolName", @"sliceLocation", @"imageID", @"seriesNumber", @"seriesDICOMUID",
-* @"studyNumber", @"seriesID", @"hasDICOM"
-* */
-
-- (NSMutableDictionary *)dicomElements;
-- (id)elementForKey:(id)key; /**< Returns the dicomElement for the key */
-- (short)getPluginFile; /**< Looks for a plugin to decode the file. If one is found decodes the file */
-/** Parses the fileName to get the Series/Study/Image numbers
-* Used for files that don't have the information embedded such as TIFFs and jpegs
-* In these cases the files are sorted based on the file name.
-* Numbers at the end become the image number. The remainder of the file becomes the Series and Study ID
-*/
-- (void)extractSeriesStudyImageNumbersFromFileName:(NSString *)tempString;
-- (short) decodeDICOMFileWithDCMFramework; /**< Decodes the file using the DCM Framework Returns -1 for failure 0 for success*/
-
-
--(short) getDicomFile; /**< Decode DICOM. Returns -1 for failure 0 for success */
--(short) getNIfTI; /**< Decode NIfTI Returns -1 for failure 0 for success */
-
-
-/** Returns the COMMENTSAUTOFILL default.
-* If Yes, comments will be filled from the DICOM tag commentsGroup/commentsElement
-*/
-- (BOOL)autoFillComments;
-- (BOOL)splitMultiEchoMR; /**< Returns the splitMultiEchoMR default If YES, splits multi echo series into separate series by Echo number. */
-- (BOOL)useSeriesDescription; /**< Returns the useSeriesDescription default. */
-- (BOOL)noLocalizer; /**< Returns the NOLOCALIZER default. */
-- (BOOL)combineProjectionSeries; /**< Returns the combineProjectionSeries default. If YES, combines are projection Modalities: CR, DR into one series. */
-- (BOOL)oneFileOnSeriesForUS; /**< Returns the oneFileOnSeriesForUS default */
-- (BOOL)combineProjectionSeriesMode; /**< Returns the combineProjectionSeriesMode default. */
-- (BOOL)checkForLAVIM; /**< Returns the CHECKFORLAVIM default. */
-- (BOOL)separateCardiac4D; /**< Returns the SEPARATECARDIAC4D default. If YES separates cardiac studies into separate gated series. */
-- (int)commentsGroup; /**< Returns the commentsGroup default. The DICOM group to get comments from. */
-- (int)commentsElement; /**< Returns the commentsGroup default. The DICOM element to get get comments from. */
-- (BOOL) containsString: (NSString*) s inArray: (NSArray*) a;
-@end
-
-
diff --git a/CardiacStatistics/OsiriX Headers.framework/Frameworks b/CardiacStatistics/OsiriX Headers.framework/Frameworks
deleted file mode 120000
index 78816f6..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Frameworks
+++ /dev/null
@@ -1 +0,0 @@
-Versions/Current/Frameworks
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Headers b/CardiacStatistics/OsiriX Headers.framework/Headers
deleted file mode 120000
index a177d2a..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Headers
+++ /dev/null
@@ -1 +0,0 @@
-Versions/Current/Headers
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/OsiriX Headers b/CardiacStatistics/OsiriX Headers.framework/OsiriX Headers
deleted file mode 120000
index 537a6a9..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/OsiriX Headers
+++ /dev/null
@@ -1 +0,0 @@
-Versions/Current/OsiriX Headers
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Resources b/CardiacStatistics/OsiriX Headers.framework/Resources
deleted file mode 120000
index 953ee36..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Resources
+++ /dev/null
@@ -1 +0,0 @@
-Versions/Current/Resources
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AdvancedQuerySubview.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AdvancedQuerySubview.h
deleted file mode 100644
index 49ff04f..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AdvancedQuerySubview.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-
-@interface AdvancedQuerySubview : NSView {
- IBOutlet NSPopUpButton *filterKeyPopup;
- IBOutlet NSPopUpButton *searchTypePopup;
- IBOutlet NSTextField *valueField;
- IBOutlet NSButton *addButton;
- IBOutlet NSButton *removeButton;
- IBOutlet NSPopUpButton *dateRangePopup;
- IBOutlet NSPopUpButton *modalityPopup;
- IBOutlet NSDatePicker *datePicker;
-
-}
-
-- (id) filterKeyPopup;
-- (id) searchTypePopup;
-- (id) valueField;
-- (id) addButton;
-- (id) removeButton;
-- (id) dateRangePopup;
-- (id) modalityPopup;
-- (id) datePicker;
-
-- (IBAction) showSearchTypePopup: (id) sender;
-- (IBAction) showValueField: (id) sender;
-- (IBAction) showModalityPopup: (id) sender;
-
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AllKeyImagesArrayController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AllKeyImagesArrayController.h
deleted file mode 100644
index dc0664c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AllKeyImagesArrayController.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-
-/** \brief Array Controller for keyImages in a StructuredReport */
-
-@interface AllKeyImagesArrayController : NSArrayController {
- IBOutlet NSMatrix *keyImageMatrix;
-}
-
-- (void)updateMatrix;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Analyze.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Analyze.h
deleted file mode 100644
index 03f40bc..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Analyze.h
+++ /dev/null
@@ -1,92 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-/* ANALYZE Header File Format * * (c) Copyright, 1986-1995 * Biomedical Imaging Resource * Mayo Foundation * * dbh.h * * databse sub-definitions */
-
-struct header_key /* header key */
-{ /* off + size */
-int sizeof_hdr; /* 0 + 4 */
-char data_type[10]; /* 4 + 10 */
-char db_name[18]; /* 14 + 18 */
-int extents; /* 32 + 4 */
-short int session_error; /* 36 + 2 */
- char regular; /* 38 + 1 */
- char hkey_un0; /* 39 + 1 */ } __attribute__((__packed__));
- /* total=40 bytes */
-
- struct image_dimension {
-/* off + size */
-short int dim[8]; /* 0 + 16 */
-short int unused8; /* 16 + 2 */
-short int unused9; /* 18 + 2 */
-short int unused10; /* 20 + 2 */
-short int unused11; /* 22 + 2 */
-short int unused12; /* 24 + 2 */
-short int unused13; /* 26 + 2 */
-short int unused14; /* 28 + 2 */
-short int datatype; /* 30 + 2 */
-short int bitpix; /* 32 + 2 */
-short int dim_un0; /* 34 + 2 */
-float pixdim[8]; /* 36 + 32 */
- /* pixdim[] specifies the voxel dimensitons:
- pixdim[1] - voxel width pixdim[2] - voxel height
- pixdim[3] - interslice distance ...etc */
-float vox_offset; /* 68 + 4 */
-float funused1; /* 72 + 4 */
-float funused2; /* 76 + 4 */
-float funused3; /* 80 + 4 */
-float cal_max; /* 84 + 4 */
-float cal_min; /* 88 + 4 */
-float compressed; /* 92 + 4 */
-float verified; /* 96 + 4 */
-int glmax,glmin; /* 100 + 8 */
-} __attribute__((__packed__)); /* total=108 bytes */
-struct data_history {
-/* off + size */
-char descrip[80]; /* 0 + 80 */
-char aux_file[24]; /* 80 + 24 */
-char orient; /* 104 + 1 */
-char originator[10]; /* 105 + 10 */
-char generated[10]; /* 115 + 10 */
-char scannum[10]; /* 125 + 10 */
-char patient_id[10]; /* 135 + 10 */
-char exp_date[10]; /* 145 + 10 */
-char exp_time[10]; /* 155 + 10 */
-char hist_un0[3]; /* 165 + 3 */
-int views; /* 168 + 4 */
-int vols_added; /* 172 + 4 */
-int start_field; /* 176 + 4 */
-int field_skip; /* 180 + 4 */
-int omax, omin; /* 184 + 8 */
-int smax, smin; /* 192 + 8 */
-} __attribute__((__packed__));
-
-struct dsr {
-struct header_key hk; /* 0 + 40 */
-struct image_dimension dime; /* 40 + 108 */
-struct data_history hist; /* 148 + 200 */ } __attribute__((__packed__));
-/* total= 348 bytes */ /* Acceptable values for datatype */
-
-#define DT_NONE 0
-#define DT_UNKNOWN 0
-#define DT_BINARY 1
-#define DT_UNSIGNED_CHAR 2
-#define DT_SIGNED_SHORT 4
-#define DT_SIGNED_INT 8
-#define DT_FLOAT 16
-#define DT_COMPLEX 32
-#define DT_DOUBLE 64
-#define DT_RGB 128
-#define DT_ALL 255
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AnonymizerWindowController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AnonymizerWindowController.h
deleted file mode 100644
index 20b9ea8..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AnonymizerWindowController.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-/** \brief Window Controller for anonymizing */
-@interface AnonymizerWindowController : NSWindowController
-{
- IBOutlet NSMatrix *tagMatrixfirstColumn, *tagMatrixsecondColumn;
- IBOutlet NSMatrix *firstColumnValues, *secondColumnValues;
- IBOutlet NSView *accessoryView;
- IBOutlet NSPopUpButton *templatesMenu;
- IBOutlet NSButton *checkReplace;
-
- IBOutlet NSWindow *anonymizeWindow;
- IBOutlet NSView *anonymizeView;
-
- IBOutlet NSWindow *templateNameWindow;
- IBOutlet NSTextField *templateName;
-
- NSOpenPanel *sPanel;
- NSMutableDictionary *templates;
- NSArray *filesToAnonymize, *dcmObjects;
- NSString *folderPath;
- NSMutableArray *tags, *producedFiles;
-
- BOOL cancelled;
-}
-
-- (IBAction) selectTemplateMenu:(id) sender;
-- (IBAction) addTemplate:(id) sender;
-- (IBAction) removeTemplate:(id) sender;
-- (IBAction) anonymize:(id) sender;
-- (IBAction) matrixAction:(id) sender;
-- (void) setFilesToAnonymize:(NSArray *) files :(NSArray*) dcm;
-- (NSArray*) tags;
-- (NSArray*) producedFiles;
-- (IBAction)cancelModal:(id)sender;
-- (IBAction)okModal:(id)sender;
-- (IBAction) anonymizeToThisPath:(NSString*) path;
-- (BOOL) cancelled;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AppController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AppController.h
deleted file mode 100644
index b877d05..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AppController.h
+++ /dev/null
@@ -1,229 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-// This will be added to the main inded page of the Doxygen documentation
-/** \mainpage OsiriX index page
-*
-* \section Intro OsiriX DICOM workstation
-* Osirix is a free open source DICOM workstation with full 64 bit support.
-*
-* We extend out thanks to other in the open source community.
-*
-* VTK, ITK, and DCMTK open source projects are extensively used in OsiriX.
-*
-* The OsiriX team.
-*/
-
-#ifdef OSIRIX_VIEWER
-#ifndef OSIRIX_LIGHT
-#import
-#endif
-#endif
-
-#import
-#import "XMLRPCMethods.h"
-
-@class ThreadPoolServer;
-@class ThreadPerConnectionServer;
-
-#import "IChatTheatreDelegate.h"
-
-@class PreferenceController;
-@class BrowserController;
-@class SplashScreen;
-@class DCMNetServiceDelegate;
-
-enum
-{
- compression_sameAsDefault = 0,
- compression_none = 1,
- compression_JPEG = 2,
- compression_JPEG2000 = 3
-};
-
-enum
-{
- always = 0,
- cdOnly = 1,
- notMainDrive = 2,
- ask = 3
-};
-
-@class PluginFilter;
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
- NSRect screenFrame();
- NSString * documentsDirectoryFor( int mode, NSString *url);
- NSString * documentsDirectory();
-#ifdef __cplusplus
-}
-#endif
-
-
-/** \brief NSApplication delegate
-*
-* NSApplication delegate
-* Primarily manages the user defaults and server
-* Also controls some general main items
-*
-*
-*/
-
-#if defined(OSIRIX_VIEWER) && !defined(OSIRIX_LIGHT)
-#else
-@protocol GrowlApplicationBridgeDelegate
-@end
-#endif
-
-@interface AppController : NSObject
-{
- IBOutlet BrowserController *browserController;
-
- IBOutlet NSMenu *filtersMenu;
- IBOutlet NSMenu *roisMenu;
- IBOutlet NSMenu *othersMenu;
- IBOutlet NSMenu *dbMenu;
- IBOutlet NSWindow *dbWindow;
- IBOutlet NSMenu *windowsTilingMenuRows, *windowsTilingMenuColumns;
-
- NSDictionary *previousDefaults;
-
- BOOL showRestartNeeded;
-
- SplashScreen *splashController;
-
- volatile BOOL quitting;
- BOOL verboseUpdateCheck;
- NSTask *theTask;
- NSNetService *BonjourDICOMService;
-
- BOOL xFlipped, yFlipped; // Dependent on current DCMView settings.
-
- NSTimer *updateTimer;
- DCMNetServiceDelegate *dicomNetServiceDelegate;
- XMLRPCMethods *XMLRPCServer;
- ThreadPoolServer *webServer;
-
- BOOL checkAllWindowsAreVisibleIsOff;
-
- int lastColumns, lastRows;
-}
-
-@property BOOL checkAllWindowsAreVisibleIsOff;
-@property (readonly) NSMenu *filtersMenu, *windowsTilingMenuRows, *windowsTilingMenuColumns;
-
-#pragma mark-
-#pragma mark initialization of the main event loop singleton
-
-+ (void) createNoIndexDirectoryIfNecessary:(NSString*) path;
-+ (void) displayImportantNotice:(id) sender;
-+ (AppController*) sharedAppController; /**< Return the shared AppController instance */
-+ (void)checkForPagesTemplate; /**< Check for Pages report template */
-+ (void) resizeWindowWithAnimation:(NSWindow*) window newSize: (NSRect) newWindowFrame;
-+ (NSThread*) mainThread;
-+ (void) pause;
-+ (void) resetToolbars;
-
-#pragma mark-
-#pragma mark HTML Templates
-+ (void)checkForHTMLTemplates;
-
-
-#pragma mark-
-#pragma mark Server management
-- (void) terminate :(id) sender; /**< Terminate listener (Q/R SCP) */
-- (void) restartSTORESCP; /**< Restart listener (Q/R SCP) */
-- (void) startSTORESCP:(id) sender; /**< Start listener (Q/R SCP) */
-- (void) startSTORESCPTLS:(id) sender; /**< Start TLS listener (Q/R SCP) */
-- (void) startDICOMBonjourSearch; /**< Use Bonjour to search for other DICOM services */
-- (void) installPlugins: (NSArray*) pluginsArray;
-
-
-#pragma mark-
-#pragma mark static menu items
-//===============OSIRIX========================
-- (IBAction) about:(id)sender; /**< Display the about window */
-- (IBAction) showPreferencePanel:(id)sender; /**< Show Preferences window */
-- (IBAction) checkForUpdates:(id) sender; /**< Check for update */
-//===============WINDOW========================
-- (IBAction) setFixedTilingRows: (id) sender;
-- (IBAction) setFixedTilingColumns: (id) sender;
-- (void) initTilingWindows;
-- (void) tileWindows:(id)sender; /**< Tile open window */
-- (void) scaleToFit:(id)sender; /**< Scale opened windows */
-- (IBAction) closeAllViewers: (id) sender; /**< Close All Viewers */
-- (void) checkAllWindowsAreVisible:(id) sender;
-- (void) checkAllWindowsAreVisible:(id) sender makeKey: (BOOL) makeKey;
-//===============HELP==========================
-- (IBAction) sendEmail: (id) sender; /**< Send email to lead developer */
-- (IBAction) openOsirixWebPage: (id) sender; /**< Open OsiriX web page */
-- (IBAction) openOsirixDiscussion: (id) sender; /**< Open OsiriX discussion web page */
-- (IBAction) osirix64bit: (id) sender;
-//---------------------------------------------
-- (IBAction) help: (id) sender; /**< Open help window */
-//=============================================
-
-- (IBAction) killAllStoreSCU:(id) sender;
-
-#pragma mark-
-#pragma mark window routines
-- (IBAction) updateViews:(id) sender; /**< Update Viewers */
-- (NSScreen *)dbScreen; /**< Return monitor with DB */
-- (NSArray *)viewerScreens; /**< Return array of monitors for displaying viewers */
-
- /**
- * Find the WindowController with the named nib and using the pixList
- * This is commonly used to find the 3D Viewer associated with a ViewerController.
- * Conversely this could be used to find the ViewerController that created a 3D Viewer
- * Each 3D Viewer has its own distinctly named nib as does the ViewerController.
- * The pixList is the Array of DCMPix that the viewer uses. It should uniquely identify related viewers
-*/
-- (id) FindViewer:(NSString*) nib :(NSMutableArray*) pixList;
-- (NSArray*) FindRelatedViewers:(NSMutableArray*) pixList; /**< Return an array of all WindowControllers using the pixList */
-- (IBAction) cancelModal: (id) sender;
-- (IBAction) okModal: (id) sender;
-- (NSString*) privateIP;
-- (void) killDICOMListenerWait:(BOOL) w;
-- (void) runPreferencesUpdateCheck:(NSTimer*) timer;
-+ (void) checkForPreferencesUpdate: (BOOL) b;
-+ (BOOL) USETOOLBARPANEL;
-+ (void) setUSETOOLBARPANEL: (BOOL) b;
-
-#pragma mark-
-#pragma mark growl
-- (void) growlTitle:(NSString*) title description:(NSString*) description name:(NSString*) name;
-- (NSDictionary *) registrationDictionaryForGrowl;
-
-//#pragma mark-
-//#pragma mark display setters and getters
-//- (IBAction) saveLayout: (id)sender;
-
-#pragma mark-
-#pragma mark Geneva University Hospital (HUG) specific function
-- (void) HUGVerifyComPACSPlugin;
-
-#pragma mark-
-#pragma mark 12 Bit Display support.
-+ (BOOL)canDisplay12Bit;
-+ (void)setCanDisplay12Bit:(BOOL)boo;
-+ (void)setLUT12toRGB:(unsigned char*)lut;
-+ (unsigned char*)LUT12toRGB;
-+ (void)set12BitInvocation:(NSInvocation*)invocation;
-+ (NSInvocation*)fill12BitBufferInvocation;
-
-@end
-
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AppControllerDCMTKCategory.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AppControllerDCMTKCategory.h
deleted file mode 100644
index 4193b6a..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/AppControllerDCMTKCategory.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "AppController.h"
-
-
-/** \brief AppController category containing DCMTK call
-*
-* Certain C++ headers from DCMTK conflict with Objective C.
-* Putting c++ calls in a category prevents build errors
- */
-
-@interface AppController (AppControllerDCMTKCategory)
-
-- (void)initDCMTK; /**< Global registration of DCMTK toolkit*/
-- (void)destroyDCMTK; /**< Degegister DCMTK*/
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BLAuthentication.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BLAuthentication.h
deleted file mode 100644
index dc322a8..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BLAuthentication.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// ====================================================================== //
-// BLAuthentication.h //
-// //
-// Last Modified on Tuesday April 24 2001 //
-// Copyright 2001 Ben Lachman //
-// //
-// Thanks to Brian R. Hill //
-// ====================================================================== //
-
-#import
-#import
-
-/** \brief authentication and authorization */
-@interface BLAuthentication : NSObject
-{
- AuthorizationRef authorizationRef;
-}
-// returns a shared instance of the class
-+ sharedInstance;
-// checks if user is authentcated forCommands
-- (BOOL)isAuthenticated:(NSArray *)forCommands;
-// authenticates user forCommands
-- (BOOL)authenticate:(NSArray *)forCommands;
-// deauthenticates user
-- (void)deauthenticate;
-// gets the pid forProcess
-- (int)getPID:(NSString *)forProcess;
-// executes pathToCommand with privileges
-- (BOOL)executeCommand:(NSString *)pathToCommand withArgs:(NSArray *)arguments;
-// kills the process specified by commandFromPS
-- (BOOL)killProcess:(NSString *)commandFromPS;
-@end
-
-// strings for notification center
-extern NSString* const BLAuthenticatedNotification;
-extern NSString* const BLDeauthenticatedNotification;
-
-
-
-
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BioradHeader.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BioradHeader.h
deleted file mode 100644
index f8f966b..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BioradHeader.h
+++ /dev/null
@@ -1,218 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://homepage.mac.com/rossetantoine/osirix/copyright for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#define BIORAD_HEADER_LENGTH 76
-#define BIORAD_NOTE_LENGTH 96
-#define BIORAD_NOTE_TEXT_LENGTH 80
-
-struct BioradHeader{
- short int nx,ny,npic;
- int unused0;
- int notesAvailable;
- short int byte_format;
- char unused1[38];
- short int magicNumber;
- char unused2[20];
-} __attribute__((__packed__));
-
-struct BioradNote
-{
-// short displayLevel;
-// int moreNotes; // 0 if this is the last note, else there is another note
-// int unused;
-// short noteType;
- char unsused[16];
-/* Note type := 1 for live collection note,
- := 2 for note including file name,
- := 3 if note for multiplier file,
- := 4, 5, etc.,; additional descriptive notes */
- char noteText[BIORAD_NOTE_TEXT_LENGTH];
-} __attribute__((__packed__));
-
-
-/*
- Bio-Rad(TM) .PIC Image File Information
- (taken from: "Introductory Edited Version 1.0", issue 1/12/93.)
- (Location of Image Calibration Parameters in Comos 6.03 and MPL .PIC files)
-
- The general structure of Bio-Rad .PIC files is as follows:
-
- HEADER (76 bytes)
- Image data (#1)
- .
- .
- Image data (#npic)
- NOTE (#1)
- . ; NOTES are optional.
- .
- NOTE (#notes)
- RGB LUT (color Look Up Table)
-
-
- Header Information:
-
- The header of Bio-Rad .PIC files is fixed in size, and is 76 bytes.
-
- ------------------------------------------------------------------------------
- 'C' Definition byte size Information
- (bytes)
- ------------------------------------------------------------------------------
- int nx, ny; 0 2*2 image width and height in pixels
- int npic; 4 2 number of images in file
- int ramp1_min, ramp1_max; 6 2*2 LUT1 ramp min. and max.
- NOTE *notes; 10 4 no notes=0; has notes=non zero
- BOOL byte_format; 14 2 bytes=TRUE(1); words=FALSE(0)
- int n; 16 2 image number within file
- char name[32]; 18 32 file name
- int merged; 50 2 merged format
- unsigned color1; 52 2 LUT1 color status
- unsigned file_id; 54 2 valid .PIC file=12345
- int ramp2_min, ramp2_max; 56 2*2 LUT2 ramp min. and max.
- unsigned color2; 60 2 LUT2 color status
- BOOL edited; 62 2 image has been edited=TRUE(1)
- int _lens; 64 2 Integer part of lens magnification
- float mag_factor; 66 4 4 byte real mag. factor (old ver.)
- unsigned dummy[3]; 70 6 NOT USED (old ver.=real lens mag.)
- ------------------------------------------------------------------------------
-
- Additional information about the HEADER structure:
-
- Bytes Description Details
- ------------------------------------------------------------------------------
- 0-9 nx, ny, npic, ramp1_min, ramp1_max; (all are 2-byte integers)
-
- 10-13 notes NOTES are present in the file, otherwise there are
- none. NOTES follow immediately after image data at
- the end of the file. Each note os 96 bytes long.
-
- 14-15 byte_format Read as a 2 byte integer. If this is set to 1, then
- each pixel is 8-bits; otherwise pixels are 16-bits.
-
- 16-17 n Only used in COMOS/SOM when the file is loaded into
- memory.
-
- 18-49 name The name of the file (without path); zero terminated.
-
- 50-51 merged see Note 1.
-
- 52-53 colour1
-
- 54-55 file_id Read as a 2 byte integer. Aways set to 12345.
- Just a check that the file is in Bio-Rad .PIC format.
-
- 56-59 ramp2_min/max Read as 2 byte integers.
-
- 60-61 color2 Read as a 2 byte integer.
-
- 62-63 edited Not used in disk files.
-
- 64-65 int_lens Read as a 2 byte integer.
- Integer part of the objective lens used.
-
- 66-69 mag_factor Read as a 4-byte real.
-
- mag. factor=(float)(dispbox.dy*2)/(float)(512.0*scandata.ly)
-
- where: dispbox.dy = the width of the image.
- scandata.ly = the width of the scan region.
-
- the pixel size in microns can be calculated as follows:
-
- pixel size = scale_factor/lens/mag_factor
-
- where: lens = the objective lens used as a floating pt. number
- scale_factor = the scaling number setup for the system
- on which the image was collected.
-
- 70-75 dummy[3] Last 6 bytes not used in current version of disk file
- format. (older versions stored a 4 byte real lens mag
- here.)
- ------------------------------------------------------------------------------
-
- Note 1 : Values stored in bytes 50-51 :
-
- 0 : Merge off
- 1 : 4-bit merge
- 2 : Alternate 8-bit merge
- 3 : Alternate columns merge
- 4 : Alternate rows merge
- 5 : Maximum pixel intensity merge
- 6 : 256 colour optimised merge with RGB LUT saved at the end
- of each merge.
- 7 : As 6 except that RGB LUT saved after all the notes.
-
-
- Information about NOTE structure and the RGB LUT are not included in this
- file. Please see the Bio-Rad manual for more information.
-
-
- ==============================================================================
-
- Info added by Geert Meesen from MRC-600 and MRC-1024 Manuals.
-
- -------------------------------------------------------------
-
- Note Structure :
-
- Bytes Description Details
- ------------------------------------------------------------------------------
- 0-1 Display level of this note
-
- 2-5 =0 if this is the last note, else there is another note (32 bit integer)
-
- 10-11 Note type := 1 for live collection note,
- := 2 for note including file name,
- := 3 if note for multiplier file,
- := 4, 5, etc.,; additional descriptive notes
-
- 16-95 Text of note (80 bytes)
-
-
- =============================================================================
-
- Info added by Geert Meesen from personal experiments.
-
- ------------------------------------------------------------
-
- - Until now I only have experience with 8-bit images from the MRC-1024 confocal microscope.
- The newer microscopes (Radiance 2000, for example) are capable of generating 16 bit images,
- I think. I have access to such a microscope and will try to find out later. For now it
- should be possible to look at the byte-word flag in the header.
-
- - I have experience with two types of images :
- --- One slice in the Z-direction, 3 channels of recording. This type is stored as a three-slice image
- with the 3 channels in consecutive layers. (Single-Slice)
- --- Different Z slices with only one channel. (Z-stack)
-
- - The header should contain some info about the pixel-size, but until now I was not really
- able to interpret this info. It's easier to extract the info from the notes at the end.
- You can find 3 notes saying something like (from AUPCE.NOT, a Z-stack file)
-
- AXIS_2 001 0.000000e+00 2.999667e-01 microns
- AXIS_3 001 0.000000e+00 2.999667e-01 microns
- AXIS_4 001 0.000000e+00 1.000000e+00 microns
- AXIS_9 011 0.000000e+00 1.000000e+00 RGB channel
-
- These lines give the pixelsize for the X (axis_2), Y (axis_3) and Z (axis_4) axis in the units mentioned. I don't
- know if this unit is always 'microns'.
-
- For a Single-Slice images you get ( from AB003A.NOT, a Single-Slice image) :
-
- AXIS_2 001 0.000000e+00 1.799800e+00 microns
- AXIS_3 001 0.000000e+00 1.799800e+00 microns
- AXIS_4 011 0.000000e+00 1.000000e+00 RGB channel
-
- It seems that AXIS_4 is used for indicating an RGB channel image.
-*/
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BonjourBrowser.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BonjourBrowser.h
deleted file mode 100644
index c9aace2..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BonjourBrowser.h
+++ /dev/null
@@ -1,120 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "BrowserController.h"
-#import "BonjourPublisher.h"
-#import "WaitRendering.h"
-
-/** \brief Searches and retrieves Bonjour shared databases */
-
-@interface BonjourBrowser : NSObject
-{
- NSRecursiveLock *async, *asyncWrite;
-
- int lastAsyncPos;
- NSString *tempDatabaseFile;
-
- NSNetServiceBrowser *browser;
- NSMutableArray *services;
- NSNetService *serviceBeingResolved;
- int serviceBeingResolvedIndex;
- BrowserController *interfaceOsiriX;
- char messageToRemoteService[ 256];
-
- BonjourPublisher *publisher;
-
- NSMutableArray *dicomFileNames, *paths;
- NSString *dbFileName, *password;
- NSString *path;
- BOOL isPasswordProtected, wrongPassword;
-
- NSMutableArray *albumStudies;
- NSString *albumUID;
-
- NSString *setValueObject, *setValueKey;
- id setValueValue;
-
- NSTimeInterval localVersion, BonjourDatabaseVersion;
- int BonjourDatabaseIndexFileSize;
-
- NSString *modelVersion;
- NSString *filePathToLoad;
-
- NSString *FileModificationDate;
-
- NSDictionary *dicomListener;
-
- NSDictionary *dicomDestination;
-
- volatile BOOL resolved, connectToServerAborted;
-
- WaitRendering *waitWindow;
-
- NSFileHandle *currentConnection;
-
- void *currentDataPtr;
- int currentDataPos;
-
- NSDate *currentTimeOut;
-
- // *********************** New system
-
- NSDictionary *messageToSend;
-}
-
-+ (NSString*) bonjour2local: (NSString*) str;
-+ (NSString*) uniqueLocalPath:(NSManagedObject*) image;
-+ (BonjourBrowser*) currentBrowser;
-
-- (void) waitTheLock;
-- (void) setWaitDialog: (WaitRendering*) w;
-
-- (id) initWithBrowserController: (BrowserController*) bC bonjourPublisher:(BonjourPublisher*) bPub;
-
-- (BOOL) resolveServiceWithIndex:(int)index msg: (char*) msg;
-
-- (NSMutableArray*) services;
-- (NSString *) databaseFilePathForService:(NSString*) service;
-
-- (void) removeStudies: (NSArray*) studies fromAlbum: (NSManagedObject*) album bonjourIndex:(int) index;
-- (void) addStudies: (NSArray*) studies toAlbum: (NSManagedObject*) album bonjourIndex:(int) index;
-
-- (void) getDICOMROIFiles:(int) index roisPaths:(NSArray*) roisPaths;
-- (NSString*) getDICOMFile:(int) index forObject:(NSManagedObject*) image noOfImages: (int) noOfImages;
-- (NSString*) getDatabaseFile:(int) index ;
-- (NSString*) getDatabaseFile:(int) index showWaitingWindow: (BOOL) showWaitingWindow;
-- (void) setBonjourDatabaseValue:(int) index item:(NSManagedObject*) obj value:(id) value forKey:(NSString*) key;
-
-- (BOOL) sendDICOMFile:(int) index paths:(NSArray*) ip;
-- (BOOL) isBonjourDatabaseUpToDate: (int) index;
-
-- (NSString*) getFile:(NSString*) pathFile index:(int) index;
-- (BOOL) sendFile:(NSString*) pathFile index:(int) index;
-- (BOOL) retrieveDICOMFilesWithSTORESCU:(int) indexFrom to:(int) indexTo paths:(NSArray*) ip;
-- (NSDate*) getFileModification:(NSString*) pathFile index:(int) index;
-
-- (void) deleteRoisObject: (NSManagedObject*) o paths: (NSArray*) p;
-
-- (void) buildFixedIPList;
-- (void) buildLocalPathsList;
-- (void) buildDICOMDestinationsList;
-- (void) arrangeServices;
-
-- (BOOL) connectToAdress: (NSString*) address port: (int) port;
-
-- (void) incomingConnectionProcess: (NSData*) data;
-
-- (NSDictionary*) getDICOMDestinationInfo:(int) index;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BonjourPublisher.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BonjourPublisher.h
deleted file mode 100644
index fa01c68..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BonjourPublisher.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "BrowserController.h"
-
-/** \brief Shares DB with Bonjour */
-
-@interface BonjourPublisher : NSObject
-{
- BOOL dbPublished;
-
- NSString *serviceName;
- NSNetService *netService;
- NSFileHandle *listeningSocket;
-
- int OsiriXDBCurrentPort;
- int fdForListening;
- int numberOfConnectedUsers;
- BrowserController *interfaceOsiriX;
-
- NSLock *connectionLock, *dicomSendLock;
-}
-
-- (id)initWithBrowserController: (BrowserController*) bC;
-
-- (void)toggleSharing:(BOOL)boo;
-
-// for now, we will only share the name of the shared database
-- (void)connectionReceived:(NSNotification *)aNotification;
-
-// work as a delegate of the NSNetService
-- (void)netServiceWillPublish:(NSNetService *)sender;
-- (void)netService:(NSNetService *)sender didNotPublish:(NSDictionary *)errorDict;
-- (void)netServiceDidStop:(NSNetService *)sender;
-
-- (NSNetService*) netService;
-
-- (void)setServiceName:(NSString *) newName;
-- (NSString *) serviceName;
-- (int) OsiriXDBCurrentPort;
-+ (BonjourPublisher*) currentPublisher;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BrowserControllerDCMTKCategory.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BrowserControllerDCMTKCategory.h
deleted file mode 100644
index 6a6da90..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BrowserControllerDCMTKCategory.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "browserController.h"
-
-/** \brief Category for DCMTK calls from BrowserController */
-
-@interface BrowserController (BrowserControllerDCMTKCategory)
-+ (NSString*) compressionString: (NSString*) string;
-- (BOOL) compressDICOMWithJPEG:(NSArray *) paths;
-- (BOOL) compressDICOMWithJPEG:(NSArray *) paths to:(NSString*) dest;
-- (BOOL) decompressDICOMList:(NSArray *) files to:(NSString*) dest;
-- (BOOL) needToCompressFile: (NSString*) path;
-- (BOOL) testFiles: (NSArray*) files;
-- (NSData*) getDICOMFile:(NSString*) file inSyntax:(NSString*) syntax quality: (int) quality;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BrowserMatrix.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BrowserMatrix.h
deleted file mode 100644
index 3bef166..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BrowserMatrix.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*=========================================================================
-Program: OsiriX
-
-Copyright (c) OsiriX Team
-All rights reserved.
-Distributed under GNU - LGPL
-
-See http://www.osirix-viewer.com/copyright.html for details.
-
-This software is distributed WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface BrowserMatrix : NSMatrix
-{
- BOOL avoidRecursive;
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BurnerWindowController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BurnerWindowController.h
deleted file mode 100644
index 4bcbb01..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/BurnerWindowController.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-@class DRTrack;
-/** \brief Window Controller for DICOM disk burning */
-@interface BurnerWindowController : NSWindowController
-{
- volatile BOOL burning, isIrisAnimation;
- NSMutableArray *nodeArray;
- NSMutableArray *files, *anonymizedFiles, *dbObjects, *originalDbObjects;
- float burnSize;
- IBOutlet NSTextField *nameField;
- IBOutlet NSTextField *sizeField, *finalSizeField;
- IBOutlet NSMatrix *compressionMode;
- IBOutlet NSButton *burnButton;
- IBOutlet NSButton *anonymizedCheckButton;
- NSString *cdName;
- NSString *folderSize;
- NSTimer *burnAnimationTimer;
- int burnAnimationIndex;
- volatile BOOL runBurnAnimation;
- volatile BOOL isExtracting;
- volatile BOOL isSettingUpBurn;
- volatile BOOL isThrobbing;
- NSArray *filesToBurn;
- BOOL _multiplePatients;
- BOOL writeDMG;
- int sizeInMb;
- NSString *password;
- IBOutlet NSWindow *passwordWindow;
-
- BOOL buttonsDisabled;
- BOOL burnSuppFolder, burnOsiriX, burnHtml;
-}
-
-@property BOOL buttonsDisabled;
-@property (retain) NSString *password;
-
-- (IBAction) ok:(id)sender;
-- (IBAction) cancel:(id)sender;
-
-- (IBAction) setAnonymizedCheck: (id) sender;
-- (id) initWithFiles:(NSArray *)theFiles;
-- (id)initWithFiles:(NSArray *)theFiles managedObjects:(NSArray *)managedObjects;
-- (DRTrack*) createTrack;
--(IBAction)burn:(id)sender;
-- (void)setCDTitle: (NSString *)title;
--(IBAction)setCDName:(id)sender;
--(NSString *)folderToBurn;
-- (void)setFilesToBurn:(NSArray *)theFiles;
-- (void)burnCD:(id)object;
-- (NSArray *)extractFileNames:(NSArray *)filenames;
-- (BOOL)dicomCheck:(NSString *)filename;
-- (void)importFiles:(NSArray *)fileNames;
-- (void)setup:(id)sender;
-- (void)addDICOMDIRUsingDCMTK;
-- (void)addDicomdir;
-- (void)estimateFolderSize:(id)object;
-- (void)performBurn:(id)object;
-//- (void)reloadData:(id)object;
-- (void)irisAnimation:(id)object;
-- (void)throbAnimation:(id)object;
-- (NSNumber*)getSizeOfDirectory:(NSString*)path;
-- (NSString*) defaultTitle;
-- (IBAction) estimateFolderSize: (id) sender;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ButtonAndTextCell.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ButtonAndTextCell.h
deleted file mode 100644
index f9609f4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ButtonAndTextCell.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-/** \brief Cell for a ButtonAndTextField */
-@interface ButtonAndTextCell : NSTextFieldCell {
- NSButtonCell *buttonCell;
- NSTextFieldCell *textCell;
-}
-
--(IBAction) peformAction:(id)sender;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ButtonAndTextField.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ButtonAndTextField.h
deleted file mode 100644
index 99a5340..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ButtonAndTextField.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-/** \brief Control with a button and textField */
-@interface ButtonAndTextField : NSTextField {
- IBOutlet NSTextField *textField;
- IBOutlet NSButton *button;
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CLUTOpacityView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CLUTOpacityView.h
deleted file mode 100644
index 68f5c36..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CLUTOpacityView.h
+++ /dev/null
@@ -1,183 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import
-#import "VRController.h"
-#import "VRView.h"
-
-
-@interface CLUTOpacityView : NSView
-{
- NSColor *backgroundColor, *histogramColor, *pointsColor, *pointsBorderColor, *curveColor, *selectedPointColor, *textLabelColor;
- float histogramOpacity;
- float *volumePointer;
- int voxelCount;
- vImagePixelCount *histogram;
- int histogramSize;
- float HUmin, HUmax; // houndsfield units bounds
- NSPoint selectedPoint;
- int selectedCurveIndex;
- int pointDiameter, lineWidth, pointBorder;
-
- NSMutableArray *curves, *pointColors;
-
- NSMenu *contextualMenu;
-
- NSUndoManager *undoManager;
- BOOL nothingChanged;
- BOOL clutChanged;
-
- float zoomFactor;
- float zoomFixedPoint;
-
- IBOutlet NSWindow *chooseNameAndSaveWindow;
- IBOutlet NSTextField *clutSavedName;
-
- IBOutlet VRView *vrView;
- BOOL vrViewLowResolution;
- BOOL didResizeVRVIew;
-
- float mousePositionX;
-
- NSRect drawingRect, sideBarRect;
- NSRect addCurveButtonRect, removeSelectedCurveButtonRect, saveButtonRect, closeButtonRect;
- BOOL isAddCurveButtonHighlighted, isRemoveSelectedCurveButtonHighlighted, isSaveButtonHighlighted, isCloseButtonHighlighted;
-
- NSPoint mouseDraggingStartPoint;
- BOOL updateView, setCLUTtoVRView;
-}
-
-- (void)cleanup;
-- (void)createContextualMenu;
-
-#pragma mark -
-#pragma mark Histogram
-- (void)setVolumePointer:(float*)ptr width:(int)width height:(int)height numberOfSlices:(int)n;
-- (void)setHUmin:(float)min HUmax:(float)max;
-- (void)computeHistogram;
-- (void)drawHistogramInRect:(NSRect)rect;
-
-#pragma mark -
-#pragma mark Curves
-- (void)newCurve;
-- (void)fillCurvesInRect:(NSRect)rect;
-- (void)drawCurvesInRect:(NSRect)rect;
-- (void)addCurveAtindex:(int)curveIndex withPoints:(NSArray*)pointsArray colors:(NSArray*)colorsArray;
-- (void)deleteCurveAtIndex:(int)i;
-- (void)sendToBackCurveAtIndex:(int)i;
-- (void)sendToFrontCurveAtIndex:(int)i;
-- (int)selectedCurveIndex;
-- (void)selectCurveAtIndex:(int)i;
-- (void)setColor:(NSColor*)color forCurveAtIndex:(int)curveIndex;
-- (void)setColors:(NSArray*)colors forCurveAtIndex:(int)curveIndex;
-
-- (void)setCurves:(NSMutableArray*)newCurves;
-- (void)setPointColors:(NSMutableArray*)newPointColors;
-
-#pragma mark -
-#pragma mark Coordinate to NSView Transform
-- (NSAffineTransform*)transform;
-
-#pragma mark -
-#pragma mark Global draw method
-- (void)updateView;
-
-#pragma mark -
-#pragma mark Points selection
-- (BOOL)selectPointAtPosition:(NSPoint)position;
-- (void)unselectPoints;
-- (BOOL)isAnyPointSelected;
-- (void)changePointColor:(NSNotification *)notification;
-- (void)setColor:(NSColor*)color forPointAtIndex:(int)pointIndex inCurveAtIndex:(int)curveIndex;
-- (NSPoint)legalizePoint:(NSPoint)point inCurve:(NSArray*)aCurve atIndex:(int)j;
-- (void)drawPointLabelAtPosition:(NSPoint)pt;
-- (void)addPoint:(NSPoint)point atIndex:(int)pointIndex inCurveAtIndex:(int)curveIndex withColor:(NSColor *)color;
-- (void)removePointAtIndex:(int)ip inCurveAtIndex:(int)ic;
-- (void)replacePointAtIndex:(int)ip inCurveAtIndex:(int)ic withPoint:(NSPoint)point;
-
-#pragma mark -
-#pragma mark Control Point
-- (NSPoint)controlPointForCurveAtIndex:(int)i;
-- (BOOL)selectControlPointAtPosition:(NSPoint)position;
-
-#pragma mark -
-#pragma mark Lines selection
-- (BOOL)clickOnLineAtPosition:(NSPoint)position;
-
-#pragma mark -
-#pragma mark GUI
-- (IBAction)computeHistogram:(id)sender;
-- (IBAction)setHistogramOpacity:(id)sender;
-- (IBAction)newCurve:(id)sender;
-- (IBAction)setLineWidth:(id)sender;
-- (IBAction)setPointDiameter:(id)sender;
-- (void)niceDisplay;
-- (IBAction)niceDisplay:(id)sender;
-- (IBAction)sendToBack:(id)sender;
-- (IBAction)setZoomFator:(id)sender;
-- (IBAction)scroll:(id)sender;
-- (void)setCursorLabelWithText:(NSString*)text;
-- (IBAction)removeAllCurves:(id)sender;
-- (void)addCurveIfNeeded;
-#pragma mark Custom GUI
-- (void)drawSideBar:(NSRect)rect;
-- (void)drawAddCurveButton:(NSRect)rect;
-- (void)drawCloseButton:(NSRect)rect;
-- (void)drawRemoveSelectedCurveButton:(NSRect)rect;
-- (void)drawSaveButton:(NSRect)rect;
-- (BOOL)clickInSideBarAtPosition:(NSPoint)position;
-- (BOOL)clickInAddCurveButtonAtPosition:(NSPoint)position;
-- (BOOL)clickInRemoveSelectedCurveButtonAtPosition:(NSPoint)position;
-- (BOOL)clickInSaveButtonAtPosition:(NSPoint)position;
-- (BOOL)clickInCloseButtonAtPosition:(NSPoint)position;
-- (void)simplifyHistogram;
-
-#pragma mark -
-#pragma mark Copy / Paste
-- (IBAction)copy:(id)sender;
-- (IBAction)paste:(id)sender;
-- (IBAction)delete:(id)sender;
-- (IBAction)cut:(id)sender;
-- (IBAction)undo:(id)sender;
-- (IBAction)redo:(id)sender;
-
-#pragma mark -
-#pragma mark Saving (as plist)
-- (void)chooseNameAndSave:(id)sender;
-- (IBAction)save:(id)sender;
-- (void)saveWithName:(NSString*)name;
-+ (NSDictionary*)presetFromFileWithName:(NSString*)name;
-- (void)loadFromFileWithName:(NSString*)name;
-#pragma mark conversion to plist-compatible types
-- (NSArray*)convertPointColorsForPlist;
-- (NSArray*)convertCurvesForPlist;
-- (NSDictionary*)convertColorToDict:(NSColor*)color;
-- (NSDictionary*)convertPointToDict:(NSPoint)point;
-#pragma mark conversion from plist
-+ (NSMutableArray*)convertPointColorsFromPlist:(NSArray*)plistPointColor;
-+ (NSMutableArray*)convertCurvesFromPlist:(NSArray*)plistCurves;
-
-#pragma mark -
-#pragma mark Connection to VRView
-- (void)setCLUTtoVRView;
-- (void)setCLUTtoVRView:(BOOL)lowRes;
-- (void)setWL:(float)wl ww:(float)ww;
-
-#pragma mark -
-#pragma mark Cursor
-- (void)setCursorLabelWithText:(NSString*)text;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CSMailMailClient.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CSMailMailClient.h
deleted file mode 100644
index 031ed10..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CSMailMailClient.h
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// CSMailMailClient.h
-// CSMail
-//
-// Created by Alastair Houghton on 27/01/2006.
-// Copyright 2006 Coriolis Systems Limited. All rights reserved.
-//
-
-#import
-
-enum {
- kCSMCMessageDispatchFeature = 0x0001,
- kCSMCMessageConstructionFeature = 0x0002,
- kCSMCConfigureFeature = 0x0004,
-};
-
-
-@interface CSMailMailClient : NSObject
-{
- NSAppleScript *script;
-}
-
-+ (id) mailClient;
-- (NSString *)name;
-- (NSString *)version;
-
-- (NSString *)applicationName;
-
-- (BOOL)applicationIsInstalled;
-- (NSImage *)applicationIcon;
-
-- (int)features;
-
-- (BOOL)deliverMessage:(NSAttributedString *)messageBody
- headers:(NSDictionary *)messageHeaders;
-- (BOOL)constructMessage:(NSAttributedString *)messageBody
- headers:(NSDictionary *)messageHeaders;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CalciumScoringWindowController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CalciumScoringWindowController.h
deleted file mode 100644
index 8e75de0..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CalciumScoringWindowController.h
+++ /dev/null
@@ -1,103 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-/*************************************************************
-Manages the Window for creating Calcium Scoring ROIs
-***************************************************************/
-
-#import
-#import "ViewerController.h"
-
-@class ViewerController;
-
-/** \brief Manages the Window for creating Calcium Scoring ROIs*/
-
-@interface CalciumScoringWindowController : NSWindowController {
- ViewerController *_viewer, *_resultsViewer;
- int _ctType;
- int _lowerThreshold;
- int _upperThreshold;
- NSMutableSet *_rois;
- NSString *_roiName;
-
- NSString *_startingPointPixelPosition;
- NSString *_startingPointWorldPosition;
- NSString *_startingPointValue;
-
- NSPoint _startingPoint;
-
- float _totalCalciumScore;
- float _totalCalciumMass;
- float _totalCalciumVolume;
-
- NSArray *_vessels;
- NSArray *_vesselNames;
-
- IBOutlet NSView *_printView;
-}
-
-- (int)ctType;
-- (void)setCtType:(int)ctType;
-- (int)lowerThreshold;
-- (void)setLowerThreshold:(int)lowerThreshold;
-- (int)upperThreshold;
-- (void)setUpperThreshold:(int)upperThreshold;
-- (NSMutableSet *)rois;
-- (void)setRois:(NSMutableSet *)rois;
-- (NSString *)roiName;
-- (void)setRoiName:(NSString *)roiName;
-
--(NSString *)startingPointPixelPosition;
-- (void)setStartingPointPixelPosition:(NSString *)position;
--(NSString *)startingPointWorldPosition;
-- (void)setStartingPointWorldPosition:(NSString *)position;
--(NSString *)startingPointValue;
-- (void)setStartingPointValue:(NSString *)value;
-
-- (IBAction)preview: (id)sender;
-- (IBAction)compute: (id)sender;
-- (IBAction)saveDocument: (id)sender;
-- (void)print:(id)sender;
-- (void)computeROIsWithName:(NSString *)name addROIs:(BOOL)addROIs;
-
-- (void)updateTotals;
-
-- (float)totalCalciumScore;
-- (float)totalCalciumMass;
-- (float)totalCalciumVolume;
-
-- (void)setTotalCalciumScore: (float)score;
-- (void)setTotalCalciumMass: (float)mass;
-- (void)setTotalCalciumVolume: (float)volume;
-
-- (NSArray *)vessels;
-- (void)setVessels:(NSArray *)vessels;
-
-- (NSArray *)vesselNames;
-- (void)setVesselNames:(NSArray *)name;
-
-- (NSString *)institution;
-- (NSString *)patientID;
-- (NSDate *)studyDate;
-- (NSString *)patientsName;
-- (NSString *)patientsSex;
-- (NSString *)patientsAge;
-- (NSDate *)patientsDOB;
-
-
-
-
-
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Camera.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Camera.h
deleted file mode 100644
index ad5b277..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Camera.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright(c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import "Point3D.h"
-
-/** \brief Describes a 3D view state
-*
-* Camera saves the state of a 3D View to manage the vtkCamera, cropping planes
-* window width and level, and 4D movie index
-*/
-
-@interface Camera : NSObject {
- Point3D *position, *viewUp, *focalPoint, *minCroppingPlanes, *maxCroppingPlanes;
- float clippingRangeNear, clippingRangeFar, viewAngle, eyeAngle, parallelScale, rollAngle;
- NSImage *previewImage;
- float wl, ww, fusionPercentage, windowCenterX, windowCenterY;
- BOOL is4D;
- long movieIndexIn4D;
- int index;
- float LOD;
- BOOL forceUpdate;
-}
-
-
-@property int index;
-@property (readwrite, copy) Point3D *position;
-@property (readwrite, copy) Point3D *focalPoint;
-@property (readwrite, copy) Point3D *viewUp;
-@property (readwrite, copy) Point3D *minCroppingPlanes;
-@property (readwrite, copy) Point3D *maxCroppingPlanes;
-@property (readwrite, copy) NSImage *previewImage;
-@property BOOL is4D, forceUpdate;
-@property float viewAngle, rollAngle;
-@property float eyeAngle;
-@property float parallelScale;
-@property float clippingRangeNear;
-@property float clippingRangeFar;
-@property float ww, LOD, wl;
-@property float fusionPercentage;
-@property long movieIndexIn4D;
-@property float windowCenterX, windowCenterY;
-
-- (id)init;
-- (id)initWithCamera:(Camera *)c;
-
-- (void)setClippingRangeFrom:(float)near To:(float)far;
-
-// window level
-- (void)setWLWW:(float)newWl :(float)newWw;
-
-
-- (NSMutableDictionary *)exportToXML;
-- (id)initWithDictionary:(NSDictionary *)xml;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Centerline.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Centerline.h
deleted file mode 100644
index ca0b9ff..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Centerline.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-
-#define id Id
-#include "vtkPolyData.h"
-#undef id
-
-
-@class OSIVoxel;
-@class WaitRendering;
-
-
-/** \brief Extracts an array of centerline points from marching cubes filtered Polydata
-*
-* Centerline extracts the centerline from a volume using thinning
-* Based on Iordanescu and Summers
-* Automated Centerline for CT Colonography
-* Academic Radiology Vol 10 No 11 Nov 2003 pp1291-1301
-*
-*
-* Has properties:
-* WaitRendering *wait;
-* OSIVoxel *startingPoint
-* OSIVoxel *endingPoint
-* int thinningIterations
-*/
-
-
-@interface Centerline : NSObject {
- WaitRendering *_wait;
- OSIVoxel *_startingPoint;
- OSIVoxel *_endingPoint;
- int _thinningIterations;
-
-}
-
-@property (readwrite, retain) WaitRendering *wait;
-@property (readwrite, retain) OSIVoxel *startingPoint;
-@property (readwrite, retain) OSIVoxel *endingPoint;
-@property int thinningIterations;
-
-+ (id)centerline;
-/// Creates the centerline from a marchingCubes created polygon.
-- (NSArray *)generateCenterline:(vtkPolyData *)polyData startingPoint:(OSIVoxel *)start endingPoint:(OSIVoxel *)end;
-///Creates a set of all neighbors
-- (NSMutableSet *)connectedPointsForPoint:(vtkIdType)pt fromPolyData:(vtkPolyData *)data;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ColorTransferView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ColorTransferView.h
deleted file mode 100644
index 8849676..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ColorTransferView.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface ColorTransferView : NSView {
-
- IBOutlet NSColorWell *pick;
- IBOutlet NSTextField *position;
-
- NSMutableArray *colors;
- NSMutableArray *points;
-
- NSInteger curIndex;
-}
-
--(void) selectPicker:(id) sender;
--(NSMutableArray*) getPoints;
--(NSMutableArray*) getColors;
--(void) ConvertCLUT:(unsigned char*) red: (unsigned char*) green: (unsigned char*) blue;
--(IBAction) renderButton:(id) sender;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ColorView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ColorView.h
deleted file mode 100644
index 93934c7..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ColorView.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-
-@interface ColorView : NSView {
- NSColor *color;
-}
-
-- (void)setColor:(NSColor*)newColor;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CurveFitter.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CurveFitter.h
deleted file mode 100644
index a89840e..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CurveFitter.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-// Curve fitting class based on the Simplex method described in the article "Fitting Curves to Data" in the May 1984 issue of Byte magazine, pages 340-362.
-
-#import
-
-@interface CurveFitter : NSObject
-{
- int fit; // Number of curve type to fit
- double *xData, *yData; // x,y data to fit
- int numPoints; // number of data points
- int numParams; // number of parametres
- int numVertices; // numParams+1 (includes sumLocalResiduaalsSqrd)
- int worst; // worst current parametre estimates
- int nextWorst; // 2nd worst current parametre estimates
- int best; // best current parametre estimates
- double **simp; // the simplex (the last element of the array at each vertice is the sum of the square of the residuals)
- double *next; // new vertex to be tested
- int numIter; // number of iterations so far
- int maxIter; // maximum number of iterations per restart
- int restarts; // number of times to restart simplex after first soln.
- double maxError; // maximum error tolerance
-}
-
-- (double) sqr:(double) d;
-- (void) doFit: (int) fitType;
-- (void) initialize;
-- (void) restart: (int) n;
-- (int) getNumParams;
-- (double) f:(int) f :(double *)p :(double) x;
-- (double*) getParams;
-- (double*) getResiduals;
-- (double) getSumResidualsSqr;
-- (double) getSD;
-- (double) getFitGoodness;
-- (void) sumResiduals: (double*) x;
-- (void) newVertex;
-- (void) order;
-- (int) getIterations;
-- (int) getMaxIterations;
-- (void) setMaxIterations:(int) x;
-- (int) getRestarts;
-- (void) setRestarts:(int) x;
-- (int) getMax:(double*) array;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CurvedMPR.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CurvedMPR.h
deleted file mode 100644
index 98c5195..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/CurvedMPR.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-@class ROI;
-@class ViewerController;
-
-
-/** \brief Curved MPR */
-@interface CurvedMPR : NSObject {
-
- NSMutableArray *pixList;
- NSMutableArray *fileList;
- NSData *volumeData;
- ROI *selectedROI;
- short curMovieIndex, maxMovieIndex;
- long thickSlab;
- ViewerController *viewerController, *roiViewer;
-
- long perSize, perInterval;
-
- BOOL firstTime, perPendicular;
-}
-
-- (ROI*) roi;
-//- (void) compute;
-- (void) computeForView:(short)view;
-- (void) recompute;
-- (id) initWithObjects:(NSMutableArray*) pix :(NSArray*) files :(NSData*) vData :(ROI*) roi :(ViewerController*) roiV :(long) t;
-- (id) initWithObjects:(NSMutableArray*) pix :(NSArray*) files :(NSData*) vData :(ROI*) roi :(ViewerController*) roiV :(long) t forView:(short)view;
-- (id) initWithObjects:(NSMutableArray*) pix :(NSArray*) files :(NSData*) vData :(ROI*) roi :(ViewerController*) roiV :(long) t forAxial:(BOOL)axial forCoronal:(BOOL)coronal forSagittal:(BOOL)saggital;
-- (id) initWithObjectsPer:(NSMutableArray*) pix :(NSArray*) files :(NSData*) vData :(ROI*) roi :(ViewerController*) roiV :(long) i :(long) s;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMCalendarScript.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMCalendarScript.h
deleted file mode 100644
index 5e2d9f1..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMCalendarScript.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-/** \brief Runs applescript interaction with iCal */
-@interface DCMCalendarScript : NSObject {
- NSAppleScript *compiledScript;
-}
-
-
-- (id)initWithCalendar:(NSString *)calendar;
-- (NSMutableArray *)routingDestination;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMCursor.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMCursor.h
deleted file mode 100644
index edbee24..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMCursor.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-/** \brief Cursors */
-@interface NSCursor(DCMCursor)
-
-+(id)zoomCursor;
-+(id)rotateCursor;
-+(id)stackCursor;
-+(id)contrastCursor;
-+(id)rotate3DCursor;
-+(id)rotate3DCameraCursor;
-+(id)bonesRemovalCursor;
-+(id)crossCursor;
-+(id)rotateAxisCursor;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMObjectDBImport.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMObjectDBImport.h
deleted file mode 100644
index 98948f6..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMObjectDBImport.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-#import
-
-@interface DCMObjectDBImport : DCMObject {
-
-}
-+ (id)objectWithContentsOfFile:(NSString *)file decodingPixelData:(BOOL)decodePixelData;
-- (BOOL)isNeededAttribute:(char *)tagString;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMObjectPixelDataImport.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMObjectPixelDataImport.h
deleted file mode 100644
index 247c9ae..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMObjectPixelDataImport.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import
-
-
-@interface DCMObjectPixelDataImport : DCMObject {
-
-}
-
-+ (id)objectWithContentsOfFile:(NSString *)file decodingPixelData:(BOOL)decodePixelData ;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMPix.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMPix.h
deleted file mode 100644
index 6444d1d..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMPix.h
+++ /dev/null
@@ -1,673 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import
-#import
-
-typedef struct {
- double x,y,z;
-} XYZ;
-
-extern XYZ ArbitraryRotate(XYZ p,double theta,XYZ r);
-
-@class ROI;
-@class ThickSlabController;
-@class DCMObject;
-@class Point3D;
-
-/** \brief Represents an image for display */
-
-@interface DCMPix: NSObject
-{
-//SOURCES
- NSString *srcFile; /**< source File */
- BOOL isBonjour; /**< Flag to indicate if file is accessed over Bonour */
- BOOL nonDICOM; /**< Flag to indicate if file is not DICOM */
-
-//BUFFERS
- NSArray *pixArray;
- NSManagedObject *imageObj; /**< Core data object for image */
- float *fImage /**< float buffer of image Data */, *fExternalOwnedImage; /**< float buffer of image Data - provided by another source, not owned by this object, not release by this object */
- char *wImage; /**< ? */
-
-//DICOM TAGS
-
-// orientation
-// Point3D *origin;
- BOOL isOriginDefined;
- double originX /**< x position of image origin */ , originY /**< y Position of image origin */ , originZ /**< Z position of image origin*/;
- double orientation[ 9]; /**< pointer to orientation vectors */
- NSString *frameOfReferenceUID;
-
-// pixel representation
- BOOL fIsSigned;
- short bitsAllocated, bitsStored;
- float slope, offset;
-
-// image size
- long height, width;
-
-// window level & width
- float savedWL, savedWW;
-
-// planar configuration
- long fPlanarConf;
- double pixelSpacingX, pixelSpacingY, pixelRatio;
-
-// photointerpretation
- BOOL isRGB;
- BOOL inverseVal;
-
-//--------------------------------------
-
-// DICOM params needed for SUV calculations
- float patientsWeight;
- NSString *repetitiontime;
- NSString *echotime;
- NSString *flipAngle, *laterality;
- NSString *viewPosition;
- NSString *patientPosition;
- NSString *acquisitionDate;
- BOOL hasSUV, SUVConverted;
- NSString *units, *decayCorrection;
- float decayFactor, factorPET2SUV;
- float radionuclideTotalDose;
- float radionuclideTotalDoseCorrected;
- NSCalendarDate *acquisitionTime;
- NSCalendarDate *radiopharmaceuticalStartTime;
- float halflife, frameReferenceTime;
- float philipsFactor;
- BOOL displaySUVValue;
-
-// DICOM params for Overlays - 0x6000 group
- int oRows, oColumns, oType, oOrigin[ 2], oBits, oBitPosition;
- unsigned char *oData;
-
-// DSA-subtraction
- float *subtractedfImage;
- NSPoint subPixOffset;
- NSPoint subMinMax;
- float subtractedfPercent;
- float subtractedfZ;
- float subtractedfZero;
- float subtractedfGamma;
- GammaFunction subGammaFunction;
-
- long maskID;
- float maskTime;
- float fImageTime;
- //float rot;
- //float ang;
- NSNumber *positionerPrimaryAngle;
- NSNumber *positionerSecondaryAngle;
-
- long shutterRect_x;
- long shutterRect_y;
- long shutterRect_w;
- long shutterRect_h;
-
- long shutterCircular_x;
- long shutterCircular_y;
- long shutterCircular_radius;
-
- NSPoint *shutterPolygonal;
- long shutterPolygonalSize;
-
- BOOL DCMPixShutterOnOff;
-
-//-------------------------------------------------------
- long frameNo;
- long serieNo;
- long imID, imTot;
- char *baseAddr;
-
-//convolution
- BOOL convolution, updateToBeApplied;
- short kernelsize;
- short normalization;
- short kernel[25];
-
- float cineRate;
-
-//slice
- double sliceInterval, sliceLocation, sliceThickness;
- double spacingBetweenSlices; //SpacingBetweenSlices (0018,0088)
-
-//stack
- short stack;
- short stackMode, pixPos, stackDirection;
-//thickslab
- BOOL thickSlabVRActivated;
- ThickSlabController *thickSlab;
-
- float countstackMean;
- float ww, wl;
- float fullww, fullwl;
- BOOL fixed8bitsWLWW;
- float maxValueOfSeries, minValueOfSeries;
-
- BOOL generated;
- NSString *generatedName;
- NSLock *checking;
-
- BOOL useVOILUT, notAbleToLoadImage;
- int VOILUT_first;
- unsigned int VOILUT_number, VOILUT_depth, *VOILUT_table;
-
- unsigned short *shortRed, *shortGreen, *shortBlue;
-
- char blackIndex;
-
- NSData *transferFunction;
- float *transferFunctionPtr;
-
-/** custom annotations */
- NSMutableDictionary *annotationsDictionary;
-
-/** 12 bit monitors */
- BOOL isLUT12Bit;
- unsigned char *LUT12baseAddr;
-
- BOOL full32bitPipeline, needToCompute8bitRepresentation;
-
-/** Papyrus Loading variables */
-
- NSString *modalityString;
- unsigned short clutEntryR, clutEntryG, clutEntryB;
- unsigned short clutDepthR, clutDepthG, clutDepthB;
- unsigned char *clutRed, *clutGreen, *clutBlue;
- BOOL fSetClut, fSetClut16;
-
- int savedHeightInDB, savedWidthInDB;
-}
-
-@property long frameNo;
-@property(setter=setID:) long ID;
-
-@property float minValueOfSeries, maxValueOfSeries, factorPET2SUV;
-
-// Dimensions in pixels
-@property long pwidth, pheight;
-
-/** Is it an RGB image (ARGB) or float image?
-Note setter is different to not break existing usage. :-( */
-@property(setter=setRGB:) BOOL isRGB;
-
-/** Pointer to image data */
-@property(setter=setfImage:) float* fImage;
-
-/** WW & WL */
-@property(readonly) float ww, wl, fullww, fullwl;
-@property float slope, offset, savedWW, savedWL, *subtractedfImage;
-
-@property(readonly) BOOL notAbleToLoadImage;
-@property(readonly) NSPoint *shutterPolygonal;
-
-/** X/Y ratio - non-square pixels */
-@property double pixelRatio;
-
-/** pixel size */
-@property double pixelSpacingX, pixelSpacingY;
-
-/** Slice orientation */
-- (void) orientation:(float*) c;
-- (void) setOrientation:(float*) c;
-- (BOOL) identicalOrientationTo:(DCMPix*) c;
-
-- (void)orientationDouble:(double*) c;
-- (void)setOrientationDouble:(double*) c;
-
-/** Slice location */
-@property(readonly) double originX, originY, originZ;
-@property(readonly) BOOL isOriginDefined;
-
-/** Frame Of Reference UID */
-@property(copy) NSString *frameOfReferenceUID;
-
-- (void)setOrigin :(float*) o;
-- (void)setOriginDouble :(double*) o;
-- (void)origin: (float*)o;
-- (void)originDouble: (double*)o;
-
-/** Axial Location */
-@property double sliceLocation;
-/** Slice Thickness */
-@property double sliceThickness;
-/** Slice Interval */
-@property double sliceInterval;
-/** Gap between slices */
-@property(readonly) double spacingBetweenSlices;
-
-/** 8-bit TransferFunction */
-@property(retain) NSData *transferFunction;
-
-@property NSPoint subPixOffset;
-
-@property long DCMPixShutterRectWidth, DCMPixShutterRectHeight;
-@property long DCMPixShutterRectOriginX, DCMPixShutterRectOriginY;
-
-@property(retain) NSString *repetitiontime, *echotime;
-@property(readonly) NSString *flipAngle, *laterality;
-
-@property(readonly) NSString *viewPosition;
-@property(readonly) NSString *patientPosition;
-
-@property char* baseAddr;
-@property unsigned char* LUT12baseAddr;
-
-@property(readonly) long serieNo;
-@property(readonly) NSArray *pixArray;
-@property(readonly) float *transferFunctionPtr;
-@property short pixPos;
-@property short stackDirection;
-@property float countstackMean;
-
-@property(getter=Tot, setter=setTot:) long Tot;
-
-@property(readonly) short stack, stackMode;
-@property(readonly) BOOL generated;
-@property(retain) NSString *generatedName;
-@property(retain) NSString *sourceFile;
-
-/** Database links */
-@property(readonly) NSManagedObject *seriesObj;
-@property(retain) NSManagedObject *imageObj;
-@property(retain) NSString *srcFile;
-@property(retain) NSMutableDictionary *annotationsDictionary;
-
-// Properties (aka accessors) needed for SUV calculations
-@property(readonly) float philipsFactor;
-@property float patientsWeight;
-@property float halflife;
-@property float radionuclideTotalDose;
-@property float radionuclideTotalDoseCorrected;
-@property(retain) NSCalendarDate *acquisitionTime;
-@property(retain) NSString *acquisitionDate;
-@property(retain) NSCalendarDate *radiopharmaceuticalStartTime;
-@property BOOL SUVConverted, full32bitPipeline, needToCompute8bitRepresentation;
-@property(readonly) BOOL hasSUV;
-@property float decayFactor;
-@property(retain) NSString *units, *decayCorrection;
-@property BOOL displaySUVValue;
-
-@property BOOL isLUT12Bit;
-
-- (float) appliedFactorPET2SUV;
-- (void) copySUVfrom: (DCMPix*) from; /**< Copy the SUV from another DCMPic */
-- (float) getPixelValueX: (long) x Y:(long) y; /**< Get the pixel for a point with x,y coordinates */
-
-- (void) checkSUV; /**< Makes sure all the necessary values for SUV calculation are present */
-
-+ (void) checkUserDefaults: (BOOL) update; /**< Check User Default for needed setting */
-+ (void) resetUserDefaults; /**< Reset the defaults */
- /** Determine if a point is inside a polygon
- * @param x is the NSPoint to check.
- * @param poly is a pointer to an array of NSPoints.
- * @param count is the number of
- * points in the polygon.
-*/
-+ (BOOL) IsPoint:(NSPoint) x inPolygon:(NSPoint*) poly size:(int) count;
-
-- (void) compute8bitRepresentation;
-- (void) changeWLWW:(float)newWL :(float)newWW; /**< Change window level to window width to the new values */
-- (void) computePixMinPixMax; /**< Compute the min and max values in the image */
-
-// Compute ROI data
-/** Calculates the cofactor used Calcium scoring.
-* Depends on the threshold used for scoring
-* Threshold is usually 90 or 120 depending on whether the source is
-* Electron Beam or Multislice CT
-*/
-- (int)calciumCofactorForROI:(ROI *)roi threshold:(int)threshold;
-
-/** returns calculated values for ROI:
-* mean, total, deviation, min, max
-*/
-- (void) computeROI:(ROI*) roi :(float *)mean :(float *)total :(float *)dev :(float *)min :(float *)max;
-/** Not sure when this is used rather than computeROI: */
-- (void) computeROIInt:(ROI*) roi :(float*) mean :(float *)total :(float *)dev :(float *)min :(float *)max;
-
-/** Fill a ROI with a value
-* @param roi Selected ROI
-* @param newVal The replacement value
-* @param minValue Lower threshold
-* @param maxValue Upper threshold
-* @param outside if YES replace outside the ROI
-* @param orientationStack
-* @param stackNo
-* @param restore
-* @param addition
-*/
-- (void) fillROI:(ROI*) roi newVal:(float) newVal minValue:(float) minValue maxValue:(float) maxValue outside:(BOOL) outside orientationStack:(long) orientationStack stackNo:(long) stackNo restore:(BOOL) restore addition:(BOOL) addition;
-- (void) fillROI:(ROI*) roi newVal:(float) newVal minValue:(float) minValue maxValue:(float) maxValue outside:(BOOL) outside orientationStack:(long) orientationStack stackNo:(long) stackNo restore:(BOOL) restore addition:(BOOL) addition spline:(BOOL) spline;
-
-/** Fill a ROI with a value
-* @param roi Selected ROI
-* @param newVal The replacement value
-* @param minValue lower threshold
-* @param maxValue upper threshold
-* @param outside if YES replace outside the ROI
-* @param orientationStack ?
-* @param stackNo
-* @param restore
-*/
-- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside :(long) orientationStack :(long) stackNo :(BOOL) restore;
-
-/** Fill a ROI with a value
-* @param roi Selected ROI
-* @param newVal The replacement value
-* @param minValue lower threshold
-* @param maxValue upper threshold
-* @param outside if YES replace outside the ROI
-* @param orientation
-* @param stackNo
-*/
-- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside :(long) orientation :(long) stackNo;
-
-/** Fill a ROI with a value.
-* @param roi Selected ROI
-* @param newVal The replacement value
-* @param minValue Lower threshold
-* @param maxValue Upper threshold
-* @param outside If YES replace outside the ROI
-*/
-- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside;
-
-- (unsigned char*) getMapFromPolygonROI:(ROI*) roi size:(NSSize*) size origin:(NSPoint*) origin; /**< Map from Polygon ROI */
-
-/** Is this Point (pt) in this ROI ? */
-- (BOOL) isInROI:(ROI*) roi :(NSPoint) pt;
-
-/** Returns a pointer with all pixels values contained in the current ROI
-* User must Free the pointer with the free() function
-* Returns reference number of pixels in numberOfValues
-* Returns a pointer to the pixel locations. Each point has the x position followed by the y position
-* Locations is malloced but not freed
-*/
-- (float*) getROIValue :(long*) numberOfValues :(ROI*) roi :(float**) locations;
-
-/** Returns a pointer with all pixels values contained in the current ROI
-* User must Free the pointer with the free() function
-* Returns reference number of pixels in numberOfValues
-* Returns a pointer to the pixel locations. Each point has the x position followed by the y position
-* Locations is malloced but not freed
-*/
-- (float*) getLineROIValue :(long*) numberOfValues :(ROI*) roi;
-
-
-/** Utility methods to convert user supplied pixel coords to DICOM patient coords float d[3] (in mm)
-* using current slice location and orientation
-*/
-- (void) convertPixX: (float) x pixY: (float) y toDICOMCoords: (float*) d;
-- (void) convertPixX: (float) x pixY: (float) y toDICOMCoords: (float*) d pixelCenter: (BOOL) pixelCenter;
-
-/** Utility methods to convert user supplied pixel coords to DICOM patient coords double d[3] (in mm)
-* using current slice location and orientation
-*/
-- (void) convertPixDoubleX: (double) x pixY: (double) y toDICOMCoords: (double*) d;
-- (void) convertPixDoubleX: (double) x pixY: (double) y toDICOMCoords: (double*) d pixelCenter: (BOOL) pixelCenter;
-
-/** convert DICOM coordinated to slice coordinates */
-- (void) convertDICOMCoords: (float*) dc toSliceCoords: (float*) sc;
-- (void) convertDICOMCoords: (float*) dc toSliceCoords: (float*) sc pixelCenter:(BOOL) pixelCenter;
-
-/** convert DICOM coordinated to slice coordinates */
-- (void) convertDICOMCoordsDouble: (double*) dc toSliceCoords: (double*) sc;
-- (void) convertDICOMCoordsDouble: (double*) dc toSliceCoords: (double*) sc pixelCenter:(BOOL) pixelCenter;
-
-/** Return index & sliceCoords */
-+(int) nearestSliceInPixelList: (NSArray*)pixlist withDICOMCoords: (float*)dc sliceCoords: (float*) sc;
-
-
-
-- (BOOL) thickSlabVRActivated; /**< Activate Thick Slab VR */
-
-/** convert to Black and White.
-* @param mode values: 0 Use Red Channel, 1 use Green Channel 2 use Blue Channel 3 Merge and use RGB
-*/
-- (void) ConvertToBW:(long) mode;
-
-/** convert to RGB.
-* @param mode values: 0 create Red Channel, 1 create Green Channel 2 create Blue Channel 3 create all channels
-* @param cwl = window level to use
-* @param cww = window width to use
-*/
-- (void) ConvertToRGB:(long) mode :(long) cwl :(long) cww;
-
-- (float) cineRate; /**< Returns the Cine rate */
-
-// drag-drop subtraction-multiplication between series
-- (void) imageArithmeticMultiplication:(DCMPix*) sub;
-- (float*) multiplyImages :(float*) input :(float*) subfImage;
-- (void) imageArithmeticSubtraction:(DCMPix*) sub;
-- (void) imageArithmeticSubtraction:(DCMPix*) sub absolute:(BOOL) abs;
-- (float*) arithmeticSubtractImages :(float*) input :(float*) subfImage;
--(float*) arithmeticSubtractImages :(float*) input :(float*) subfImage absolute:(BOOL) abs;
-//DSA
-- (void) setSubSlidersPercent: (float) p gamma: (float) g zero: (float) z;
-- (void) setSubSlidersPercent: (float) p;
-- (NSPoint) subMinMax:(float*)input :(float*)subfImage;
-- (void) setSubtractedfImage:(float*)mask :(NSPoint)smm;
-- (float*) subtractImages:(float*)input :(float*)subfImage;
-- (BOOL) isLoaded;
-- (void) fImageTime:(float)newTime;
-- (float) fImageTime;
-- (void) freefImageWhenDone:(BOOL) b;
-- (void) maskID:(long)newID;
-- (long) maskID;
-- (void) maskTime:(float)newMaskTime;
-- (float) maskTime;
-- (void) getDataFromNSImage:(NSImage*) otherImage;
-- (void) positionerPrimaryAngle:(NSNumber *)newPositionerPrimaryAngle;
-- (NSNumber*) positionerPrimaryAngle;
-- (void) positionerSecondaryAngle:(NSNumber*)newPositionerSecondaryAngle;
-- (NSNumber*) positionerSecondaryAngle;
-+ (NSPoint) originDeltaBetween:(DCMPix*) pix1 And:(DCMPix*) pix2;
-+ (NSPoint) originCorrectedAccordingToOrientation: (DCMPix*) pix1;
-- (void) setBlackIndex:(int) i;
-+ (NSImage*) resizeIfNecessary:(NSImage*) currentImage dcmPix: (DCMPix*) dcmPix;
-- (void) DCMPixShutterRect:(long)x:(long)y:(long)w:(long)h;
-- (BOOL) DCMPixShutterOnOff;
-- (void) DCMPixShutterOnOff:(BOOL)newDCMPixShutterOnOff;
-- (void) computeTotalDoseCorrected;
-//- (void) copyFromOther:(DCMPix *) fromDcm;
-- (void) imageArithmeticMultiplication:(DCMPix*) sub;
-- (void) setRGB : (BOOL) val;
-- (void) setConvolutionKernel:(short*)val :(short) size :(short) norm;
-- (void) applyConvolutionOnSourceImage;
-- (void) setArrayPix :(NSArray*) array :(short) i;
-- (BOOL) updateToApply;
-- (id) myinitEmpty; /**< Returns an Empty object */
-- (short*) kernel;
-- (void) applyShutter;
-+ (NSPoint) rotatePoint:(NSPoint)pt aroundPoint:(NSPoint)c angle:(float)a;
-- (short) normalization;
-- (short) kernelsize;
-- (DCMPix*) renderWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
-- (DCMPix*) renderWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF backgroundOffset: (float) bgO;
-- (NSRect) usefulRectWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
-- (DCMPix*) mergeWithDCMPix:(DCMPix*) o offset:(NSPoint) oo;
-- (DCMPix*) renderInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
-- (DCMPix*) renderInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF smartCrop: (BOOL) smartCrop;
-- (NSImage*) renderNSImageInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
-/** calls
-* myinit:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss isBonjour:(BOOL) hello imageObj: (NSManagedObject*) iO
-* with hello = NO and iO = nil
-*/
-- (id) myinit:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss;
-- (id) initWithPath:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss;
-
-/** Initialize
-* doesn't load pix data, only initializes instance variables
-* @param s filename
-* @param pos imageID Position in array.
-* @param tot imTot Total number of images.
-* @param ptr pointer to volume
-* @param f frame number
-* @param ss series number
-* @param hello flag to indicate remote bonjour file
-* @param iO coreData image Entity for image
-*/
-- (id) myinit:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss isBonjour:(BOOL) hello imageObj: (NSManagedObject*) iO;
-- (id) initWithPath:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss isBonjour:(BOOL) hello imageObj: (NSManagedObject*) iO;
-
-/** init with data pointer
-* @param im pointer to image data
-* @param pixelSize pixelDepth in bits
-* @param xDim image width
-* @param yDim =image height
-* @param xSpace pixel width
-* @param ySpace pxiel height
-* @param oX x position of origin
-* @param oY y position of origin
-* @param oZ z position of origin
-*/
-- (id) initwithdata :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ;
-- (id) initWithData :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ;
-
-/** init with data pointer
-* @param im = pointer to image data
-* @param pixelSize = pixelDepth in bits
-* @param xDim image width
-* @param yDim image height
-* @param xSpace pixel width
-* @param ySpace pxiel height
-* @param oX x position of origin
-* @param oY y position of origin
-* @param oZ z position of origin
-* @param volSize ?
-*/
-- (id) initwithdata :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ :(BOOL) volSize;
-- (id) initWithData :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ :(BOOL) volSize;
-
-- (id) initWithImageObj: (NSManagedObject *)entity;
-- (id) initWithContentsOfFile: (NSString *)file;
-/** create an NSImage from the current pix
-* @param smallIcon thumbnail size
-* @param newWW window width to use
-* @param newWL window level to use;
-*/
-- (NSImage*) generateThumbnailImageWithWW: (float)newWW WL: (float)newWL;
-- (void) allocate8bitRepresentation;
-
-/** create an NSImage from the current pix using the current ww/wl. Full size*/
-- (NSImage*) image;
-
-/** reeturns the current image. returns nil if no image has be previously created */
-// - (NSImage*) getImage;
-
-/** A pointer to the orientation. 9 values in length. 3 for each axis. */
-- (void) orientation:(float*) c;
-
-/** Sets the orientation. 9 values in length. 3 for each axis. */
-- (void) setOrientation:(float*) c;
-
-/** Releases the current NSImage */
-- (void) kill8bitsImage;
-
-- (void) checkImageAvailble:(float)newWW :(float)newWL;
-
-/** Load the DICOM image using the DCMFramework.
-* There should be no reason to call this. The class will call it when needed. */
-- (BOOL)loadDICOMDCMFramework;
-
-/** Load the DICOM image using Papyrus.
-* There should be no reason to call this. The class will call it when needed.
-*/
-- (BOOL) loadDICOMPapyrus;
-
-/** Reset the Annotations */
-- (void) reloadAnnotations;
-
-
-/** Parses the file. Extracts necessary data. Load image data.
-* This class will be called by the class when necessay.
-* There should be no need to call it externally
-*/
-- (void) CheckLoadIn;
-
-/** Calls CheckLoadIn when needed */
-- (void) CheckLoad;
-
-/** Compute the float pointer for the image data */
-- (float*) computefImage;
-
-/** Sets fusion paramaters
-* @param m stack mode
-* @param s stack
-* @param direction stack direction
-*/
-- (void) setFusion:(short) m :(short) s :(short) direction;
-
-/** Sets updateToBeApplied to YES. It is called whenver a setting has been changed.
-* Should be called by the class automatically when needed */
-- (void) setUpdateToApply;
-
-
-/** Releases the fImage and sets all values to nil. */
-- (void) revert;
-- (void) revert:(BOOL) reloadAnnotations;
-
-/** finds the min and max pixel values.
-* Sets the appropriate values for fullWW and fullWL
-*/
-- (void) computePixMinPixMax;
-
-/** Sets the ThickSlabController */
-- (void) setThickSlabController:( ThickSlabController*) ts;
-
-
-/** Sets the fixed8bitsWLWW flag */
-- (void) setFixed8bitsWLWW:(BOOL) f;
-
-/** Creates a DCMPix with the original values and places it in the restore cache*/
-- (void) prepareRestore;
-
-
-/** Releases the restored DCMPix from the restoreCache */
-- (void) freeRestore;
-
-/** Sets flag for when OsiriX is running in protected mode */
-+ (void) setRunOsiriXInProtectedMode:(BOOL) v;
-
-/** Returns flag for protected mode */
-+ (BOOL) isRunOsiriXInProtectedModeActivated;
-
-/** Clears the papyrus group cache */
-- (void) clearCachedPapyGroups;
-- (void) clearCachedDCMFrameworkFiles;
-+ (void) purgeCachedDictionaries;
-
-/** Returns a pointer the the papyrus group
-* @param group group
-* @param fileNb papyrus file
-*/
-- (void *) getPapyGroup: (int)group;
-
-/** create ROIs from RTSTRUCT */
-- (void)createROIsFromRTSTRUCT: (DCMObject*)dcmObject;
-
-#ifdef OSIRIX_VIEWER
-
-/** Custom Annotations */
-- (void)loadCustomImageAnnotationsPapyLink:(int)fileNb DCMLink:(DCMObject*)dcmObject;
-- (NSString*) getDICOMFieldValueForGroup:(int)group element:(int)element papyLink:(short)fileNb;
-- (NSString*) getDICOMFieldValueForGroup:(int)group element:(int)element DCMLink:(DCMObject*)dcmObject;
-
-/** Set flag to anonymize the annotations */
-+ (BOOL) setAnonymizedAnnotations: (BOOL) v;
-#endif
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKImageQueryNode.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKImageQueryNode.h
deleted file mode 100644
index 61bda7f..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKImageQueryNode.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "DCMTKQueryNode.h"
-
-/** \brief Image level DCMTKQueryNode*/
-@interface DCMTKImageQueryNode : DCMTKQueryNode
-{
- NSString *_studyInstanceUID, *_seriesInstanceUID;
-}
-
-- (NSString*) seriesInstanceUID;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKPrintSCU.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKPrintSCU.h
deleted file mode 100644
index b6cb985..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKPrintSCU.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "DCMTKServiceClassUser.h"
-
-#undef verify
-
-#include "osconfig.h"
-#include "ofstdinc.h"
-#include "dviface.h"
-#include "dvpssp.h"
-
-/** \brief DCMTK based PrintSCU Not in use */
-@interface DCMTKPrintSCU : DCMTKServiceClassUser {
-
- const char * _printerID; /* printer ID */
- const char * _cfgName; /* config read file name */
- DVPSFilmOrientation _filmorientation;
- DVPSTrimMode _trim;
- DVPSDecimateCropBehaviour _decimate;
- unsigned int _columns;
- unsigned int _rows;
- unsigned int _copies;
- unsigned int _ovl_graylevel;
- const char * _filmsize;
- const char * _magnification;
- const char * _smoothing;
- const char * _configuration;
- const char * _img_polarity;
- const char * _img_request_size;
- const char * _img_magnification;
- const char * _img_smoothing;
- const char * _img_configuration;
- const char * _resolution;
- const char * _border;
- const char * _emptyimage;
- const char * _maxdensity;
- const char * _mindensity;
- const char * _plutname;
- NSArray* _filenames;
- int _LUTshape; // 0=use SCP default, 1=IDENTITY, 2=LIN OD.
- OFBool _inverse_plut;
- OFBool _spool;
- const char * _mediumtype;
- const char * _destination;
- const char * _sessionlabel;
- const char * _priority;
- const char * _ownerID;
-
- OFBool _annotation;
- OFBool _annotationDatetime;
- OFBool _annotationPrinter;
- OFBool _annotationIllumination;
- const char * _annotationString;
-
- unsigned int _illumination;
- unsigned int _reflection;
-
-}
-
-- (id) initWithCallingAET:(NSString *)myAET
- calledAET:(NSString *)theirAET
- hostname:(NSString *)hostname
- port:(int)port
- filesToSend:(NSArray *)filesToSend
- extraParameters:(NSDictionary *)extraParameters;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKQueryNode.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKQueryNode.h
deleted file mode 100644
index 9c9b4e4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKQueryNode.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "DCMTKServiceClassUser.h"
-
-#undef verify
-
-#include "osconfig.h" /* make sure OS specific configuration is included first */
-#include "dcdatset.h"
-#include "dimse.h"
-#include "dccodec.h"
-//#include "tlstrans.h"
-//#include "tlslayer.h"
-//#include "ofstring.h"
-
-
-
-@class DCMCalendarDate;
-/** \brief Base class for query nodes */
-@interface DCMTKQueryNode : DCMTKServiceClassUser {
- NSMutableArray *_children;
- NSString *_uid;
- NSString *_theDescription;
- NSString *_name;
- NSString *_patientID;
- NSString *_referringPhysician;
- NSString *_accessionNumber;
- DCMCalendarDate *_date;
- DCMCalendarDate *_birthdate;
- DCMCalendarDate *_time;
- NSString *_modality;
- NSNumber *_numberImages;
- NSString *_specificCharacterSet;
- NSManagedObject *_logEntry;
- BOOL showErrorMessage;
-}
-
-+ (id)queryNodeWithDataset:(DcmDataset *)dataset
- callingAET:(NSString *)myAET
- calledAET:(NSString *)theirAET
- hostname:(NSString *)hostname
- port:(int)port
- transferSyntax:(int)transferSyntax
- compression: (float)compression
- extraParameters:(NSDictionary *)extraParameters;
-
-- (id)initWithDataset:(DcmDataset *)dataset
- callingAET:(NSString *)myAET
- calledAET:(NSString *)theirAET
- hostname:(NSString *)hostname
- port:(int)port
- transferSyntax:(int)transferSyntax
- compression: (float)compression
- extraParameters:(NSDictionary *)extraParameters;
-
-- (NSString *)uid;
-- (NSString *)theDescription;
-- (NSString *)name;
-- (NSString *)patientID;
-- (NSString *)accessionNumber;
-- (NSString *)referringPhysician;
-- (DCMCalendarDate *)date;
-- (DCMCalendarDate *)time;
-- (NSString *)modality;
-- (NSNumber *)numberImages;
-- (NSMutableArray *)children;
-- (void)purgeChildren;
-- (void)addChild:(DcmDataset *)dataset;
-- (DcmDataset *)queryPrototype;
-- (DcmDataset *)moveDataset;
-// values are a NSDictionary the key for the value is @"value" key for the name is @"name" name is the tag descriptor from the tag dictionary
-- (void)queryWithValues:(NSArray *)values;
-- (void) queryWithValues:(NSArray *)values dataset:(DcmDataset*) dataset;
-- (void)move:(NSDictionary*) dict;
-- (NSManagedObject *)logEntry;
-- (void)setLogEntry:(NSManagedObject *)logEntry;
-- (void)setShowErrorMessage:(BOOL) m;
-//common network code for move and query
-- (BOOL)setupNetworkWithSyntax:(const char *)abstractSyntax dataset:(DcmDataset *)dataset;
-- (BOOL)setupNetworkWithSyntax:(const char *)abstractSyntax dataset:(DcmDataset *)dataset destination:(NSString*) destination;
-- (OFCondition) addPresentationContext:(T_ASC_Parameters *)params abstractSyntax:(const char *)abstractSyntax;
-
-- (OFCondition)findSCU:(T_ASC_Association *)assoc dataset:( DcmDataset *)dataset;
-- (OFCondition) cfind:(T_ASC_Association *)assoc dataset:(DcmDataset *)dataset;
-
-- (OFCondition) cmove:(T_ASC_Association *)assoc network:(T_ASC_Network *)net dataset:(DcmDataset *)dataset;
-- (OFCondition) cmove:(T_ASC_Association *)assoc network:(T_ASC_Network *)net dataset:(DcmDataset *)dataset destination: (char*) destination;
-- (OFCondition) moveSCU:(T_ASC_Association *)assoc network:(T_ASC_Network *)net dataset:( DcmDataset *)dataset;
-- (OFCondition) moveSCU:(T_ASC_Association *)assoc network:(T_ASC_Network *)net dataset:( DcmDataset *)dataset destination: (char*) destination;
-
-- (OFCondition) cget:(T_ASC_Association *)assoc network:(T_ASC_Network *)net dataset:(DcmDataset *)dataset;
-- (OFCondition) getSCU:(T_ASC_Association *)assoc network:(T_ASC_Network *)net dataset:( DcmDataset *)dataset;
-
-- (void) move:(NSDictionary*) dict retrieveMode: (int) retrieveMode;
-- (void) move:(NSDictionary*) dict;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKQueryRetrieveSCP.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKQueryRetrieveSCP.h
deleted file mode 100644
index ecaf6a0..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKQueryRetrieveSCP.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-/** \brief DICOM Q/R SCP
-*
-* DCMTKQueryRetrieveSCP is the Query/ Retrieve Server and listener
-* based on DCMTK
-*/
-
-@interface DCMTKQueryRetrieveSCP : NSObject {
- int _port;
- NSString *_aeTitle;
- NSDictionary *_params;
- BOOL _abort;
- BOOL running;
-}
-
-+ (BOOL) storeSCP;
-- (id)initWithPort:(int)port aeTitle:(NSString *)aeTitle extraParamaters:(NSDictionary *)params;
-- (void)run;
-- (void)abort;
-- (int) port;
-- (NSString*) aeTitle;
-- (BOOL) running;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKRootQueryNode.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKRootQueryNode.h
deleted file mode 100644
index eeadabb..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKRootQueryNode.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "DCMTKQueryNode.h"
-
-/** \brief Root level DCMTKQueryNode */
-@interface DCMTKRootQueryNode : DCMTKQueryNode {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKSeriesQueryNode.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKSeriesQueryNode.h
deleted file mode 100644
index 0bf904a..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKSeriesQueryNode.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "DCMTKQueryNode.h"
-
-/** \brief Series level DCMTKQueryNode */
-@interface DCMTKSeriesQueryNode : DCMTKQueryNode
-{
- NSString *_studyInstanceUID;
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKServiceClassUser.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKServiceClassUser.h
deleted file mode 100644
index b5b48fc..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKServiceClassUser.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-/**********
-Super Class for SCU classes such as verifySCU, storeSCU, moveSCU, findSCU
-**********/
-
-#import
-
-#undef verify
-
-#include "osconfig.h" /* make sure OS specific configuration is included first */
-#include "dcdatset.h"
-#include "dimse.h"
-#include "dccodec.h"
-//#include "tlstrans.h"
-//#include "tlslayer.h"
-//#include "ofstring.h"
-
-
-/** \brief Base Class for SCU classes such as verifySCU, storeSCU, moveSCU, findSCU
-*
-* SCU classes are usually outgoing connections
-* based on DCMTK
-*/
-
-#import "DICOMTLS.h"
-#import "DDKeychain.h"
-
-@interface DCMTKServiceClassUser : NSObject {
- NSString *_callingAET;
- NSString *_calledAET;
- int _port;
- NSString *_hostname;
- NSDictionary *_extraParameters;
- BOOL _shouldAbort;
- int _transferSyntax;
- float _compression;
-
- //network parameters
- BOOL _verbose;
- BOOL _debug;
- BOOL _abortAssociation;
- unsigned long _maxReceivePDULength ;
- //unsigned long _repeatCount ;
- int _repeatCount ;
- int _cancelAfterNResponses;
- E_TransferSyntax _networkTransferSyntax;
- T_DIMSE_BlockingMode _blockMode;
- int _dimse_timeout;
- int _acse_timeout;
-
- //TLS settings
- BOOL _secureConnection;
- BOOL _doAuthenticate;
- int _keyFileFormat;
- NSArray *_cipherSuites;
- const char *_readSeedFile;
- const char *_writeSeedFile;
- TLSCertificateVerificationType certVerification;
- const char *_dhparam;
-}
-
-@property BOOL _abortAssociation;
-
-- (id) initWithCallingAET:(NSString *)myAET
- calledAET:(NSString *)theirAET
- hostname:(NSString *)hostname
- port:(int)port
- transferSyntax:(int)transferSyntax
- compression: (float)compression
- extraParameters:(NSDictionary *)extraParameters;
-
-- (OFCondition) addPresentationContext:(T_ASC_Parameters *)params abstractSyntax:(const char *)abstractSyntax;
-- (NSString *)calledAET;
-- (NSString *)callingAET;
-- (NSDictionary *) extraParameters;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKStoreSCU.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKStoreSCU.h
deleted file mode 100644
index 5010229..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKStoreSCU.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-#import "DICOMTLS.h"
-#import "DDKeychain.h"
-
-int runStoreSCU(const char *myAET, const char*peerAET, const char*hostname, int port, NSDictionary *extraParameters);
-
-/** \brief DICOM Send
-*
-* DCMTKStoreSCU performs the DICOM send
-* based on DCMTK
-*/
-@interface DCMTKStoreSCU : NSObject {
- NSString *_callingAET;
- NSString *_calledAET;
- int _port;
- NSString *_hostname;
- NSDictionary *_extraParameters;
- BOOL _shouldAbort;
- int _transferSyntax;
- float _compression;
-
- NSMutableArray *_filesToSend;
- int _numberOfFiles;
- int _numberSent;
- int _numberErrors;
- NSString *_patientName;
- NSString *_studyDescription;
- id _logEntry;
-
- //TLS settings
- BOOL _secureConnection;
- BOOL _doAuthenticate;
- int _keyFileFormat;
- NSArray *_cipherSuites;
- const char *_readSeedFile;
- const char *_writeSeedFile;
- TLSCertificateVerificationType certVerification;
- const char *_dhparam;
-}
-+ (int) sendSyntaxForListenerSyntax: (int) listenerSyntax;
-- (id) initWithCallingAET:(NSString *)myAET
- calledAET:(NSString *)theirAET
- hostname:(NSString *)hostname
- port:(int)port
- filesToSend:(NSArray *)filesToSend
- transferSyntax:(int)transferSyntax
- compression: (float)compression
- extraParameters:(NSDictionary *)extraParameters;
-
-- (void)run:(id)sender;
-- (void)updateLogEntry: (NSMutableDictionary*) userInfo;
-- (void)abort;
-@end
-
-
-
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKStudyQueryNode.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKStudyQueryNode.h
deleted file mode 100644
index e82e84e..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKStudyQueryNode.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "DCMTKQueryNode.h"
-
-/** \brief Study level DCMTKQueryNode */
-@interface DCMTKStudyQueryNode : DCMTKQueryNode {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKVerifySCU.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKVerifySCU.h
deleted file mode 100644
index 6eb14a0..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMTKVerifySCU.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-//
-
-#import
-#import "DCMTKServiceClassUser.h"
-#undef verify
-
-/** \brief DICOM verify/echo */
-
-int runEcho(const char *myAET, const char*peerAET, const char*hostname, int port, NSDictionary *extraParameters);
-
-@interface DCMTKVerifySCU : DCMTKServiceClassUser {
- NSException *verifyException;
-}
-
-- (BOOL)echo;
--(OFCondition)cecho:(T_ASC_Association *) assoc repeat:(int) num_repeat;
--(OFCondition)echoSCU:(T_ASC_Association *) assoc;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMView.h
deleted file mode 100644
index c37dc90..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DCMView.h
+++ /dev/null
@@ -1,516 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import
-
-#include
-#include
-#include
-#include
-#include
-#include
-
-#define STAT_UPDATE 0.6f
-#define IMAGE_COUNT 1
-#define IMAGE_DEPTH 32
-
-
-// Tools.
-
-// WARNING: If you add or modify this list, check ViewerController.m, DCMView.h and HotKey Pref Pane
-
-enum
-{
- tWL = 0,
- tTranslate, // 1
- tZoom, // 2
- tRotate, // 3
- tNext, // 4
- tMesure, // 5
- tROI, // 6
- t3DRotate, // 7
- tCross, // 8
- tOval, // 9
- tOPolygon, // 10
- tCPolygon, // 11
- tAngle , // 12
- tText, // 13
- tArrow, // 14
- tPencil, // 15
- t3Dpoint, // 16
- t3DCut, // 17
- tCamera3D, // 18
- t2DPoint, // 19
- tPlain, // 20
- tBonesRemoval, // 21
- tWLBlended, // 22
- tRepulsor, // 23
- tLayerROI, // 24
- tROISelector, // 25
- tAxis, // 26 //JJCP
- tDynAngle // 27 //JJCP
-};
-
-
-extern NSString *pasteBoardOsiriX;
-extern NSString *pasteBoardOsiriXPlugin;
-
-enum { annotNone = 0, annotGraphics, annotBase, annotFull };
-enum { barHide = 0, barOrigin, barFused, barBoth };
-enum { syncroOFF = 0, syncroABS = 1, syncroREL = 2, syncroLOC = 3};
-
-typedef enum {DCMViewTextAlignLeft, DCMViewTextAlignCenter, DCMViewTextAlignRight} DCMViewTextAlign;
-
-@class GLString;
-@class DCMPix;
-@class DCMView;
-@class ROI;
-@class OrthogonalMPRController;
-@class DICOMExport;
-//@class LoupeController;
-@class DCMObject;
-
-@interface DCMExportPlugin: NSObject
-- (void) finalize:(DCMObject*) dcmDst withSourceObject:(DCMObject*) dcmObject;
-- (NSString*) seriesName;
-@end
-
-/** \brief Image/Frame View for ViewerController */
-
-@interface DCMView: NSOpenGLView
-{
- NSInteger _imageRows;
- NSInteger _imageColumns;
- NSInteger _tag;
-
- BOOL flippedData;
-
- NSString *yearOld;
-
- ROI *curROI;
- int volumicData;
- BOOL drawingROI, noScale, volumicSeries;
- DCMView *blendingView;
- float blendingFactor, blendingFactorStart;
- BOOL eraserFlag; // use by the PaletteController to switch between the Brush and the Eraser
- BOOL colorTransfer;
- unsigned char *colorBuf, *blendingColorBuf;
- unsigned char alphaTable[256], opaqueTable[256], redTable[256], greenTable[256], blueTable[256];
- float redFactor, greenFactor, blueFactor;
- long blendingMode;
-
- float sliceFromTo[ 2][ 3], sliceFromToS[ 2][ 3], sliceFromToE[ 2][ 3], sliceFromTo2[ 2][ 3], sliceFromToThickness;
-
- float sliceVector[ 3];
- float slicePoint3D[ 3];
- float syncRelativeDiff;
- long syncSeriesIndex;
-
- float mprVector[ 3], mprPoint[ 3];
-
- short thickSlabMode, thickSlabStacks;
-
- NSImage *myImage;
-
- NSMutableArray *rectArray;
-
- NSMutableArray *dcmPixList;
- NSArray *dcmFilesList;
- NSMutableArray *dcmRoiList, *curRoiList;
- DCMPix *curDCM;
- DCMExportPlugin *dcmExportPlugin;
-
- char listType;
-
- short curImage, startImage;
-
- short currentTool, currentToolRight, currentMouseEventTool;
-
- BOOL mouseDragging;
- BOOL suppress_labels; // keep from drawing the labels when command+shift is pressed
-
- NSPoint start, originStart, originOffsetStart, previous;
-
- float startWW, curWW, startMin, startMax;
- float startWL, curWL;
-
- float bdstartWW, bdcurWW, bdstartMin, bdstartMax;
- float bdstartWL, bdcurWL;
-
- BOOL curWLWWSUVConverted;
- float curWLWWSUVFactor;
-
- NSSize scaleStart, scaleInit;
-
- double resizeTotal;
- float scaleValue, startScaleValue;
- float rotation, rotationStart;
- NSPoint origin, originOffset;
- short crossMove;
-
- NSMatrix *matrix;
-
- long count;
-
- BOOL QuartzExtreme;
-
- BOOL xFlipped, yFlipped;
-
- long fontListGLSize[256];
- long labelFontListGLSize[ 256];
- NSSize stringSize;
- NSFont *labelFont;
- NSFont *fontGL;
- NSColor *fontColor;
- GLuint fontListGL;
- GLuint labelFontListGL;
- float fontRasterY;
-
- NSPoint mesureA, mesureB;
- NSRect roiRect;
- NSString *stringID;
- NSSize previousViewSize;
-
- float contextualMenuInWindowPosX;
- float contextualMenuInWindowPosY;
-
-
- float mouseXPos, mouseYPos;
- float pixelMouseValue;
- long pixelMouseValueR, pixelMouseValueG, pixelMouseValueB;
-
- float blendingMouseXPos, blendingMouseYPos;
- float blendingPixelMouseValue;
- long blendingPixelMouseValueR, blendingPixelMouseValueG, blendingPixelMouseValueB;
-
- long textureX, blendingTextureX;
- long textureY, blendingTextureY;
- GLuint * pTextureName;
- GLuint * blendingTextureName;
- long textureWidth, blendingTextureWidth;
- long textureHeight, blendingTextureHeight;
-
- BOOL f_ext_texture_rectangle; // is texture rectangle extension supported
- BOOL f_arb_texture_rectangle; // is texture rectangle extension supported
- BOOL f_ext_client_storage; // is client storage extension supported
- BOOL f_ext_packed_pixel; // is packed pixel extension supported
- BOOL f_ext_texture_edge_clamp; // is SGI texture edge clamp extension supported
- BOOL f_gl_texture_edge_clamp; // is OpenGL texture edge clamp support (1.2+)
- unsigned long edgeClampParam; // the param that is passed to the texturing parmeteres
- long maxTextureSize; // the minimum max texture size across all GPUs
- long maxNOPTDTextureSize; // the minimum max texture size across all GPUs that support non-power of two texture dimensions
- long TEXTRECTMODE;
-
- BOOL isKeyView; //needed for Image View subclass
- NSCursor *cursor;
-
- BOOL cursorSet;
- NSTrackingArea *cursorTracking;
-
- NSPoint display2DPoint;
-
- NSMutableDictionary *stringTextureCache;
-
- BOOL _dragInProgress; // Are we drag and dropping
- NSTimer *_mouseDownTimer; //Timer to check if mouseDown is Persisiting;
- NSTimer *_rightMouseDownTimer; //Checking For Right hold
- NSImage *destinationImage; //image will be dropping
-
- BOOL _hasChanged, needToLoadTexture, dontEnterReshape, showDescriptionInLarge;
-
- BOOL scaleToFitNoReentry;
-
- GLString *showDescriptionInLargeText;
-
- //Context for rendering to iChat
- NSOpenGLContext *_alternateContext;
-
- BOOL drawing;
-
- int repulsorRadius;
- NSPoint repulsorPosition;
- NSTimer *repulsorColorTimer;
- float repulsorAlpha, repulsorAlphaSign;
- BOOL repulsorROIEdition;
- long scrollMode;
-
- NSPoint ROISelectorStartPoint, ROISelectorEndPoint;
- BOOL selectorROIEdition;
- NSMutableArray *ROISelectorSelectedROIList;
-
- BOOL syncOnLocationImpossible, updateNotificationRunning;
-
- char *resampledBaseAddr, *blendingResampledBaseAddr;
- BOOL zoomIsSoftwareInterpolated, firstTimeDisplay;
-
- int resampledBaseAddrSize, blendingResampledBaseAddrSize;
-
- // iChat
- float iChatWidth, iChatHeight;
- unsigned char* iChatCursorTextureBuffer;
- GLuint iChatCursorTextureName;
- NSSize iChatCursorImageSize;
- NSPoint iChatCursorHotSpot;
- BOOL iChatDrawing;
- GLuint iChatFontListGL;
- NSFont *iChatFontGL;
- long iChatFontListGLSize[ 256];
- NSMutableDictionary *iChatStringTextureCache;
- NSSize iChatStringSize;
- NSRect drawingFrameRect;
-
- BOOL exceptionDisplayed;
- BOOL COPYSETTINGSINSERIES;
- BOOL is2DViewerCached, is2DViewerValue;
-
- char* lensTexture;
- int LENSSIZE;
- float LENSRATIO;
- BOOL cursorhidden;
- int avoidRecursiveSync;
- BOOL avoidChangeWLWWRecursive;
- BOOL TextureComputed32bitPipeline;
-
- NSImage *loupeImage, *loupeMaskImage;
- GLuint loupeTextureID, loupeTextureWidth, loupeTextureHeight;
- GLubyte *loupeTextureBuffer;
- GLuint loupeMaskTextureID, loupeMaskTextureWidth, loupeMaskTextureHeight;
- GLubyte *loupeMaskTextureBuffer;
- float studyColorR, studyColorG, studyColorB;
-// LoupeController *loupeController;
-}
-
-@property NSRect drawingFrameRect;
-@property(readonly) NSMutableArray *rectArray, *curRoiList;
-@property BOOL COPYSETTINGSINSERIES, flippedData, dontEnterReshape, showDescriptionInLarge;
-@property(readonly) NSMutableArray *dcmPixList, *dcmRoiList;
-@property(readonly) NSArray *dcmFilesList;
-@property long syncSeriesIndex;
-@property float syncRelativeDiff, studyColorR, studyColorG, studyColorB;
-@property long blendingMode;
-@property(retain,setter=setBlending:) DCMView *blendingView;
-@property(readonly) float blendingFactor;
-@property BOOL xFlipped, yFlipped;
-@property(retain) NSString *stringID;
-@property short currentTool;
-@property(setter=setRightTool:) short currentToolRight;
-@property(readonly) short curImage;
-@property(retain) NSMatrix *theMatrix;
-@property(readonly) BOOL suppressLabels;
-@property float scaleValue, rotation;
-@property NSPoint origin, originOffset;
-@property(readonly) double pixelSpacing, pixelSpacingX, pixelSpacingY;
-@property(readonly) DCMPix *curDCM;
-@property(retain) DCMExportPlugin *dcmExportPlugin;
-@property(readonly) float mouseXPos, mouseYPos;
-@property(readonly) float contextualMenuInWindowPosX, contextualMenuInWindowPosY;
-@property(readonly) GLuint fontListGL;
-@property(readonly) NSFont *fontGL;
-@property NSInteger tag;
-@property(readonly) float curWW, curWL;
-@property NSInteger rows, columns;
-@property(readonly) NSCursor *cursor;
-@property BOOL eraserFlag;
-@property BOOL drawing;
-@property BOOL volumicSeries;
-@property(readonly) BOOL isKeyView, mouseDragging;
-
-+ (BOOL) noPropagateSettingsInSeriesForModality: (NSString*) m;
-+ (void) purgeStringTextureCache;
-+ (void) setDefaults;
-+ (void) setCLUTBARS:(int) c ANNOTATIONS:(int) a;
-+ (void)setPluginOverridesMouse: (BOOL)override DEPRECATED_ATTRIBUTE;
-+ (void) computePETBlendingCLUT;
-+ (NSString*) findWLWWPreset: (float) wl :(float) ww :(DCMPix*) pix;
-+ (NSSize)sizeOfString:(NSString *)string forFont:(NSFont *)font;
-+ (long) lengthOfString:( char *) cstr forFont:(long *)fontSizeArray;
-+ (BOOL) intersectionBetweenTwoLinesA1:(NSPoint) a1 A2:(NSPoint) a2 B1:(NSPoint) b1 B2:(NSPoint) b2 result:(NSPoint*) r;
-+ (float) Magnitude:( NSPoint) Point1 :(NSPoint) Point2;
-+ (int) DistancePointLine: (NSPoint) Point :(NSPoint) startPoint :(NSPoint) endPoint :(float*) Distance;
-+ (float) pbase_Plane: (float*) point :(float*) planeOrigin :(float*) planeVector :(float*) pointProjection;
-- (BOOL) softwareInterpolation;
-- (void) applyImageTransformation;
-- (void) initFont;
-- (void) gClickCountSetReset;
-- (int) findPlaneAndPoint:(float*) pt :(float*) location;
-- (unsigned char*) getRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp :(BOOL) screenCapture :(BOOL) force8bits;
-
-- (unsigned char*) getRawPixelsWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allTiles:(BOOL) allTiles allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing;
-- (unsigned char*) getRawPixelsWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allTiles:(BOOL) allTiles allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing offset:(int*) offset isSigned:(BOOL*) isSigned;
-
-- (unsigned char*) getRawPixelsViewWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing;
-- (unsigned char*) getRawPixelsViewWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing offset:(int*) offset isSigned:(BOOL*) isSigned;
-
-- (void) blendingPropagate;
-- (void) subtract:(DCMView*) bV;
-- (void) subtract:(DCMView*) bV absolute:(BOOL) abs;
-- (void) multiply:(DCMView*) bV;
-- (GLuint *) loadTextureIn:(GLuint *) texture blending:(BOOL) blending colorBuf: (unsigned char**) colorBufPtr textureX:(long*) tX textureY:(long*) tY redTable:(unsigned char*) rT greenTable:(unsigned char*) gT blueTable:(unsigned char*) bT textureWidth: (long*) tW textureHeight:(long*) tH resampledBaseAddr:(char**) rAddr resampledBaseAddrSize:(int*) rBAddrSize;
-- (short)syncro;
-- (void)setSyncro:(short) s;
-
-// checks to see if tool is for ROIs. maybe better name - (BOOL)isToolforROIs:(long)tool
-- (BOOL) roiTool:(long) tool;
-- (void) prepareToRelease;
-- (void) orientationCorrectedToView:(float*) correctedOrientation;
-- (NSPoint) ConvertFromNSView2GL:(NSPoint) a;
-- (NSPoint) ConvertFromView2GL:(NSPoint) a;
-- (NSPoint) ConvertFromUpLeftView2GL:(NSPoint) a;
-- (NSPoint) ConvertFromGL2View:(NSPoint) a;
-- (NSPoint) ConvertFromGL2NSView:(NSPoint) a;
-- (NSPoint) ConvertFromGL2Screen:(NSPoint) a;
-- (NSPoint) ConvertFromGL2GL:(NSPoint) a toView:(DCMView*) otherView;
-- (NSRect) smartCrop;
-- (void) setWLWW:(float) wl :(float) ww;
-- (void)discretelySetWLWW:(float)wl :(float)ww;
-- (void) getWLWW:(float*) wl :(float*) ww;
-- (void) getThickSlabThickness:(float*) thickness location:(float*) location;
-- (void) setCLUT:( unsigned char*) r :(unsigned char*) g :(unsigned char*) b;
-- (NSImage*) nsimage;
-- (NSImage*) nsimage:(BOOL) originalSize;
-- (NSImage*) nsimage:(BOOL) originalSize allViewers:(BOOL) allViewers;
-- (NSDictionary*) exportDCMCurrentImage: (DICOMExport*) exportDCM size:(int) size;
-- (NSImage*) exportNSImageCurrentImageWithSize:(int) size;
-- (void) setIndex:(short) index;
-- (void) setIndexWithReset:(short) index :(BOOL)sizeToFit;
-- (void) setDCM:(NSMutableArray*) c :(NSArray*)d :(NSMutableArray*)e :(short) firstImage :(char) type :(BOOL) reset;
-- (void) setPixels: (NSMutableArray*) pixels files: (NSArray*) files rois: (NSMutableArray*) rois firstImage: (short) firstImage level: (char) level reset: (BOOL) reset;
-- (void) sendSyncMessage:(short) inc;
-- (void) loadTextures;
-- (void)loadTexturesCompute;
-- (void) flipVertical:(id) sender;
-- (void) flipHorizontal:(id) sender;
-- (void) setFusion:(short) mode :(short) stacks;
-- (void) FindMinimumOpenGLCapabilities;
-- (NSPoint) rotatePoint:(NSPoint) a;
-- (void) setOrigin:(NSPoint) x;
-- (void) setOriginX:(float) x Y:(float) y;
-- (void) setOriginOffset:(NSPoint) x;
-- (void) scaleToFit;
-- (float) scaleToFitForDCMPix: (DCMPix*) d;
-- (void) setBlendingFactor:(float) f;
-- (void) sliderAction:(id) sender;
-- (void) roiSet;
-- (void) sync3DPosition;
-- (void) roiSet:(ROI*) aRoi;
-- (void) colorTables:(unsigned char **) a :(unsigned char **) r :(unsigned char **)g :(unsigned char **) b;
-- (void) blendingColorTables:(unsigned char **) a :(unsigned char **) r :(unsigned char **)g :(unsigned char **) b;
-- (void )changeFont:(id)sender;
-- (IBAction) sliderRGBFactor:(id) sender;
-- (IBAction) alwaysSyncMenu:(id) sender;
-- (void) getCLUT:( unsigned char**) r : (unsigned char**) g : (unsigned char**) b;
-- (void) sync:(NSNotification*)note;
-- (id)initWithFrame:(NSRect)frame imageRows:(int)rows imageColumns:(int)columns;
-- (float)getSUV;
-- (IBAction) roiLoadFromXMLFiles: (NSArray*) filenames;
-- (BOOL)checkHasChanged;
-- (void) drawRectIn:(NSRect) size :(GLuint *) texture :(NSPoint) offset :(long) tX :(long) tY :(long) tW :(long) tH;
-- (void) DrawNSStringGL: (NSString*) cstrOut :(GLuint) fontL :(long) x :(long) y;
-- (void) DrawNSStringGL: (NSString*) str :(GLuint) fontL :(long) x :(long) y rightAlignment: (BOOL) right useStringTexture: (BOOL) stringTex;
-- (void)DrawNSStringGL:(NSString*)str :(GLuint)fontL :(long)x :(long)y align:(DCMViewTextAlign)align useStringTexture:(BOOL)stringTex;
-- (void) DrawCStringGL: ( char *) cstrOut :(GLuint) fontL :(long) x :(long) y;
-- (void) DrawCStringGL: ( char *) cstrOut :(GLuint) fontL :(long) x :(long) y rightAlignment: (BOOL) right useStringTexture: (BOOL) stringTex;
-- (void)DrawCStringGL:(char*)cstrOut :(GLuint)fontL :(long)x :(long)y align:(DCMViewTextAlign)align useStringTexture:(BOOL)stringTex;
-- (void) drawTextualData:(NSRect) size :(long) annotations;
-- (void) draw2DPointMarker;
-- (void) drawImage:(NSImage *)image inBounds:(NSRect)rect;
-- (void) setScaleValueCentered:(float) x;
-- (void) updateCurrentImage: (NSNotification*) note;
-- (void) setImageParamatersFromView:(DCMView *)aView;
-- (void) setRows:(int)rows columns:(int)columns;
-- (void) updateTilingViews;
-- (void) becomeMainWindow;
-- (void) checkCursor;
-- (NSManagedObject *)imageObj;
-- (NSManagedObject *)seriesObj;
-- (void) updatePresentationStateFromSeries;
-- (void) updatePresentationStateFromSeriesOnlyImageLevel: (BOOL) onlyImage;
-- (void) setCursorForView: (long) tool;
-- (long) getTool: (NSEvent*) event;
-- (void)resizeWindowToScale:(float)resizeScale;
-- (float) getBlendedSUV;
-- (OrthogonalMPRController*) controller;
-- (void) roiChange:(NSNotification*)note;
-- (void) roiSelected:(NSNotification*) note;
-- (void) setStartWLWW;
-- (void) stopROIEditing;
-- (void) computeMagnifyLens:(NSPoint) p;
-- (void)makeTextureFromImage:(NSImage*)image forTexture:(GLuint*)texName buffer:(GLubyte*)buffer textureUnit:(GLuint)textureUnit;
-- (void) stopROIEditingForce:(BOOL) force;
-- (void)subDrawRect: (NSRect)aRect; // Subclassable, default does nothing.
-- (void) updateImage;
-- (BOOL) shouldPropagate;
-- (NSPoint) convertFromView2iChat: (NSPoint) a;
-- (NSPoint) convertFromNSView2iChat: (NSPoint) a;
-- (void) annotMenu:(id) sender;
-- (ROI*) clickInROI: (NSPoint) tempPt;
-- (void) switchShowDescriptionInLarge;
-- (void) deleteLens;
-- (void)getOrientationText:(char *) orientation : (float *) vector :(BOOL) inv;
-- (NSMutableArray*) selectedROIs;
-- (void) computeSliceIntersection: (DCMPix*) oPix sliceFromTo: (float[2][3]) sft vector: (float*) vectorB origin: (float*) originB;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx withShift: (double) shift;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx withShift: (double) shift showPoint: (BOOL) showPoint;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift half:(BOOL) half;
-- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift half:(BOOL) half showPoint: (BOOL) showPoint;
-+ (unsigned char*) PETredTable;
-+ (unsigned char*) PETgreenTable;
-+ (unsigned char*) PETblueTable;
-- (void) startDrag:(NSTimer*)theTimer;
-- (void)deleteMouseDownTimer;
-- (id)dicomImage;
-- (void) roiLoadFromFilesArray: (NSArray*) filenames;
-- (id)windowController;
-- (BOOL)is2DViewer;
-- (void) setCOPYSETTINGSINSERIESdirectly: (BOOL) b;
--(BOOL)actionForHotKey:(NSString *)hotKey;
-+(NSDictionary*) hotKeyDictionary;
-+(NSDictionary*) hotKeyModifiersDictionary;
-
-//iChat
-// New Draw method to allow for IChat Theater
-- (void) drawRect:(NSRect)aRect withContext:(NSOpenGLContext *)ctx;
-- (BOOL)_checkHasChanged:(BOOL)flag;
-
-// Methods for mouse drag response Can be modified for subclassing
-// This allow the various tools to have different responses indifferent subclasses.
-// Making it easie to modify mouseDragged:
-- (NSPoint)currentPointInView:(NSEvent *)event;
-- (BOOL)checkROIsForHitAtPoint:(NSPoint)point forEvent:(NSEvent *)event;
-- (BOOL)mouseDraggedForROIs:(NSEvent *)event;
-- (void)mouseDraggedCrosshair:(NSEvent *)event;
-- (void)mouseDragged3DRotate:(NSEvent *)event;
-- (void)mouseDraggedZoom:(NSEvent *)event;
-- (void)mouseDraggedTranslate:(NSEvent *)event;
-- (void)mouseDraggedRotate:(NSEvent *)event;
-- (void)mouseDraggedImageScroll:(NSEvent *)event;
-- (void)mouseDraggedBlending:(NSEvent *)event;
-- (void)mouseDraggedWindowLevel:(NSEvent *)event;
-- (void)mouseDraggedRepulsor:(NSEvent *)event;
-- (void)mouseDraggedROISelector:(NSEvent *)event;
-
-- (void)deleteROIGroupID:(NSTimeInterval)groupID;
-- (void) computeColor;
-- (void)setIsLUT12Bit:(BOOL)boo;
-- (BOOL)isLUT12Bit;
-
-//- (void)displayLoupe;
-//- (void)displayLoupeWithCenter:(NSPoint)center;
-//- (void)hideLoupe;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMExport.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMExport.h
deleted file mode 100644
index 0179c43..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMExport.h
+++ /dev/null
@@ -1,90 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-@class DCMObject;
-@class DCMExportPlugin;
-
-/** \brief Export image as DICOM */
-@interface DICOMExport : NSObject
-{
- NSString *dcmSourcePath;
- DCMObject *dcmDst;
-
- // Raw data support
- unsigned char *data, *localData;
- long width, height, spp, bps;
- BOOL isSigned, modalityAsSource;
- int offset;
-
- // NSImage support
- NSImage *image;
- NSBitmapImageRep *imageRepresentation;
- unsigned char *imageData;
- BOOL freeImageData;
-
- int exportInstanceNumber, exportSeriesNumber;
- NSString *exportSeriesUID;
- NSString *exportSeriesDescription;
-
- long ww, wl;
- float spacingX, spacingY, slope;
- float sliceThickness;
- float sliceInterval;
- float orientation[ 6];
- float position[ 3];
- float slicePosition;
-}
-
-// Is this DCM file based on another DCM file?
-- (void) setSourceFile:(NSString*) isource;
-
-// Set Pixel Data from a raw source
-- (long) setPixelData: (unsigned char*) idata
- samplesPerPixel: (int) ispp
- bitsPerSample: (int) ibps
- width: (long) iwidth
- height: (long) iheight;
-
-- (long) setPixelData: (unsigned char*) deprecated
- samplePerPixel: (long) deprecated
- bitsPerPixel: (long) deprecated // This is INCORRECT - backward compatibility
- width: (long) deprecated
- height: (long) deprecated;
-
-- (void) setSigned: (BOOL) s;
-- (void) setOffset: (int) o;
-
-// Set Pixel Data from a NSImage
-- (long) setPixelNSImage: (NSImage*) iimage;
-
-// Write the image data
-- (NSString*) writeDCMFile: (NSString*) dstPath;
-- (NSString*) writeDCMFile: (NSString*) dstPath withExportDCM:(DCMExportPlugin*) dcmExport;
-- (void) setModalityAsSource: (BOOL) v;
-- (NSString*) seriesDescription;
-- (void) setSeriesDescription: (NSString*) desc;
-- (void) setSeriesNumber: (long) no;
-- (void) setDefaultWWWL: (long) ww :(long) wl;
-- (void) setSlope: (float) s;
-- (void) setPixelSpacing: (float) x :(float) y;
-- (void) setSliceThickness: (double) t;
-- (void) setOrientation: (float*) o;
-- (void) setPosition: (float*) p;
-- (void) setSlicePosition: (float) p;
-- (NSString*) SOPInstanceUID;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMTLS.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMTLS.h
deleted file mode 100644
index b1c6e43..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMTLS.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-#import "DDKeychain.h"
-
-typedef enum
-{
- RequirePeerCertificate = 0,
- VerifyPeerCertificate,
- IgnorePeerCertificate
-} TLSCertificateVerificationType;
-
-#define TLS_SEED_FILE @"/tmp/OsiriXTLSSeed"
-#define TLS_WRITE_SEED_FILE "/tmp/OsiriXTLSSeedWrite"
-#define TLS_PRIVATE_KEY_FILE @"/tmp/TLSKey"
-#define TLS_CERTIFICATE_FILE @"/tmp/TLSCert"
-#define TLS_TRUSTED_CERTIFICATES_DIR @"/tmp/TLSTrustedCert"
-#define TLS_KEYCHAIN_IDENTITY_NAME_CLIENT @"com.osirixviewer.dicomtlsclient"
-#define TLS_KEYCHAIN_IDENTITY_NAME_SERVER @"com.osirixviewer.dicomtlsserver"
-#define TLS_PRIVATE_KEY_PASSWORD @"SuperSecretPassword"
-
-/** \brief
- A utility class for secure DICOM connections with TLS.
- It provides an access to Mac OS X Keychain.
- */
-@interface DICOMTLS : NSObject {
-
-}
-
-#pragma mark Cipher Suites
-/**
- Returns the list of available Ciphersuites.
- These are basically the one available through DCMTK.
- */
-+ (NSArray*)availableCipherSuites;
-+ (NSArray*)defaultCipherSuites;
-
-#pragma mark Keychain Access
-+ (void)generateCertificateAndKeyForLabel:(NSString*)label withStringID:(NSString*)stringID;
-+ (void)generateCertificateAndKeyForLabel:(NSString*)label;
-+ (void)generateCertificateAndKeyForServerAddress:(NSString*)address port:(int)port AETitle:(NSString*)aetitle withStringID:(NSString*)stringID;
-+ (void)generateCertificateAndKeyForServerAddress:(NSString*)address port:(int)port AETitle:(NSString*)aetitle;
-+ (NSString*)uniqueLabelForServerAddress:(NSString*)address port:(NSString*)port AETitle:(NSString*)aetitle;
-+ (NSString*)keyPathForLabel:(NSString*)label withStringID:(NSString*)stringID;
-+ (NSString*)keyPathForLabel:(NSString*)label;
-+ (NSString*)keyPathForServerAddress:(NSString*)address port:(int)port AETitle:(NSString*)aetitle withStringID:(NSString*)stringID;
-+ (NSString*)keyPathForServerAddress:(NSString*)address port:(int)port AETitle:(NSString*)aetitle;
-+ (NSString*)certificatePathForLabel:(NSString*)label withStringID:(NSString*)stringID;
-+ (NSString*)certificatePathForLabel:(NSString*)label;
-+ (NSString*)certificatePathForServerAddress:(NSString*)address port:(int)port AETitle:(NSString*)aetitle withStringID:(NSString*)stringID;
-+ (NSString*)certificatePathForServerAddress:(NSString*)address port:(int)port AETitle:(NSString*)aetitle;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMToNSString.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMToNSString.h
deleted file mode 100644
index 6daa671..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DICOMToNSString.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-/** \brief Converts DICOM string to NSString */
-
-#import
-
-@interface NSString (DICOMToNSString)
-
-- (id) initWithCString:(const char *)cString DICOMEncoding:(NSString *)encoding;
-+ (id) stringWithCString:(const char *)cString DICOMEncoding:(NSString *)encoding;
-+ (NSStringEncoding)encodingForDICOMCharacterSet:(NSString *)characterSet;
-
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DNDArrayController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DNDArrayController.h
deleted file mode 100644
index 2ad9240..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DNDArrayController.h
+++ /dev/null
@@ -1,33 +0,0 @@
-
-#import
-#import
-
-
-/** \brief Network destination Array Controller for Q/R*/
-@interface DNDArrayController : NSArrayController
-{
- IBOutlet NSTableView *tableView;
- IBOutlet SFAuthorizationView *_authView;
-
- NSTableColumn *sortedColumn;
-}
-
-// table view drag and drop support
-
-- (BOOL)tableView:(NSTableView *)tv writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard;
-
-- (NSDragOperation)tableView:(NSTableView*)tv validateDrop:(id )info proposedRow:(NSInteger)row proposedDropOperation:(NSTableViewDropOperation)op;
-
-- (BOOL)tableView:(NSTableView*)tv acceptDrop:(id )info row:(NSInteger)row dropOperation:(NSTableViewDropOperation)op;
-
-
-// utility methods
-
--(void)moveObjectsInArrangedObjectsFromIndexes:(NSIndexSet *)indexSet
- toIndex:(unsigned)index;
-
-- (NSIndexSet *)indexSetFromRows:(NSArray *)rows;
-- (int)rowsAboveRow:(int)row inIndexSet:(NSIndexSet *)indexSet;
-- (void) deleteSelectedRow:(id)sender;
-- (NSTableView*) tableView;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkBox.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkBox.h
deleted file mode 100644
index 2d979de..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkBox.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-//
-
-#import
-
-/** \brief Draws a draw box for Preferences */
-@interface DarkBox : NSBox {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkPanel.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkPanel.h
deleted file mode 100644
index 52d02f6..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkPanel.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-/** \brief Experimental
-*/
-
-
-#import
-
-
-@interface DarkPanel : NSPanel {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkWindow.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkWindow.h
deleted file mode 100644
index b44d89c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DarkWindow.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-/** \brief Experimental
-*/
-#import
-
-
-@interface DarkWindow : NSWindow {
-
-}
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DefaultsOsiriX.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DefaultsOsiriX.h
deleted file mode 100644
index 8f9cd2d..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DefaultsOsiriX.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-
-// WARNING: If you add or modify this list, check ViewerController.m, DCMView.h and HotKey Pref Pane
-
-enum HotKeyActions {DefaultWWWLHotKeyAction = 0, FullDynamicWWWLHotKeyAction,
- Preset1WWWLHotKeyAction, Preset2WWWLHotKeyAction, Preset3WWWLHotKeyAction,
- Preset4WWWLHotKeyAction, Preset5WWWLHotKeyAction, Preset6WWWLHotKeyAction,
- Preset7WWWLHotKeyAction, Preset8WWWLHotKeyAction, Preset9WWWLHotKeyAction,
- FlipVerticalHotKeyAction, FlipHorizontalHotKeyAction,
- WWWLToolHotKeyAction, MoveHotKeyAction, ZoomHotKeyAction, RotateHotKeyAction,
- ScrollHotKeyAction, LengthHotKeyAction, AngleHotKeyAction, RectangleHotKeyAction,
- OvalHotKeyAction, TextHotKeyAction, ArrowHotKeyAction, OpenPolygonHotKeyAction,
- ClosedPolygonHotKeyAction, PencilHotKeyAction, ThreeDPointHotKeyAction, PlainToolHotKeyAction,
- BoneRemovalHotKeyAction, Rotate3DHotKeyAction, Camera3DotKeyAction, scissors3DHotKeyAction, RepulsorHotKeyAction, SelectorHotKeyAction, EmptyHotKeyAction, UnreadHotKeyAction, ReviewedHotKeyAction, DictatedHotKeyAction, OrthoMPRCrossHotKeyAction};
-
-
-/** \brief Sets up user defaults */
-@interface DefaultsOsiriX : NSObject {
-
-}
-
-+ (BOOL) isHUG;
-+ (BOOL) isUniGE;
-+ (BOOL) isLAVIM;
-+ (NSMutableDictionary*) getDefaults;
-+ (NSString*) hostName;
-+ (NSHost*) currentHost;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomDirParser.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomDirParser.h
deleted file mode 100644
index 4438b7c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomDirParser.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-@interface NSString(NumberStuff)
-- (BOOL)holdsIntegerValue;
-@end
-
-/** \brief Reads and parses DICOMDIRs */
-
-@interface DicomDirParser : NSObject
-{
- NSString *data, *dirpath;
-}
-
-- (id) init:(NSString*) file;
-- (void) parseArray:(NSMutableArray*) files;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomFileDCMTKCategory.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomFileDCMTKCategory.h
deleted file mode 100644
index bc02c52..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomFileDCMTKCategory.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "dicomFile.h"
-
-/** \brief C++ calls for DicomFile
-*
-* Some C++ header from DCMTK and other C++ libs can conflict with Objective C during compilation.
-* Putting them in a separate category prevents compilation errors.
-*/
-
-@interface DicomFile (DicomFileDCMTKCategory)
-
-+ (NSArray*) getEncodingArrayForFile: (NSString*) file;
-+ (BOOL) isDICOMFileDCMTK:(NSString *) file; /**< Check for validity of DICOM using DCMTK */
-+ (BOOL) isNRRDFile:(NSString *) file; /**< Test for NRRD file format */
-
-- (short) getDicomFileDCMTK; /**< Decode DICOM using DCMTK. Returns 0 on success -1 on failure. */
-- (short) getNRRDFile; /**< decode NRRD file format. Returns 0 on success -1 on failure. */
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomImage.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomImage.h
deleted file mode 100644
index d6e8fa1..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomImage.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-NSString* sopInstanceUIDDecode( unsigned char *r, int length);
-void* sopInstanceUIDEncode( NSString *sopuid);
-
-@class DCMSequenceAttribute;
-
-/** \brief Core Data Entity for an image (frame) */
-
-@interface DicomImage : NSManagedObject
-{
- NSString *completePathCache;
-
- NSString *sopInstanceUID;
- NSNumber *inDatabaseFolder;
- NSNumber *height, *width;
- NSNumber *numberOfFrames;
- NSNumber *numberOfSeries;
- NSNumber *mountedVolume;
- NSNumber *isKeyImage, *dicomTime;
- NSString *extension;
- NSString *modality;
- NSString *fileType;
-}
-
-+ (NSData*) sopInstanceUIDEncodeString:(NSString*) s;
-- (NSString*) uniqueFilename;
-- (NSSet*) paths;
-- (NSString*) completePath;
-- (NSString*) completePathResolved;
-- (void) clearCompletePathCache;
-- (DCMSequenceAttribute*) graphicAnnotationSequence;
-- (NSImage *)image;
-- (NSImage *)thumbnail;
-- (NSDictionary *)dictionary;
-- (NSString*) completePathWithDownload:(BOOL) download;
-+ (NSString*) dbPathForManagedContext: (NSManagedObjectContext *) c;
-+ (NSString*) completePathForLocalPath:(NSString*) path directory:(NSString*) directory;
-- (NSString*) SRFilenameForFrame: (int) frameNo;
-- (NSString*) SRPathForFrame: (int) frameNo;
-- (NSArray*) SRPaths;
-- (NSString *)sopInstanceUID;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomImageDCMTKCategory.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomImageDCMTKCategory.h
deleted file mode 100644
index ab18802..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomImageDCMTKCategory.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "DicomImage.h"
-
-/** \brief DCMTK calls for Dicom Image */
-@interface DicomImage (DicomImageDCMTKCategory)
-
-- (NSString *)keyObjectType;
-- (NSArray *)referencedObjects;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomSeries.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomSeries.h
deleted file mode 100644
index b4d5b5d..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomSeries.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-/** \brief Core Data Entity for a Series */
-
-@interface DicomSeries : NSManagedObject
-{
- NSNumber *dicomTime;
-}
-
-- (NSSet *)paths;
-- (NSSet *)keyImages;
-- (NSArray *)sortedImages;
-- (NSDictionary *)dictionary;
-- (NSComparisonResult)compareName:(DicomSeries*)series;
-- (NSNumber *) noFilesExcludingMultiFrames;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomStudy.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomStudy.h
deleted file mode 100644
index a6f7518..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DicomStudy.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-/** \brief Core Data Entity for a Study */
-@interface DicomStudy : NSManagedObject
-{
- BOOL isHidden;
- NSNumber *dicomTime;
-}
-
-+ (NSString*) soundex: (NSString*) s;
-- (NSNumber *) noFiles;
-- (NSSet *) paths;
-- (NSSet *) keyImages;
-- (NSArray *)imageSeries;
-- (NSArray *)reportSeries;
-- (NSArray *)structuredReports;
-- (NSArray *)keyObjectSeries;
-- (NSArray *)keyObjects;
-- (NSArray *)presentationStateSeries;
-- (NSArray *)waveFormSeries;
-- (NSManagedObject *) roiSRSeries;
-- (NSManagedObject *) reportSRSeries;
-- (NSManagedObject *) commentAndStatusSRSeries;
-- (void) syncReportAndComments;
-- (NSDictionary *)dictionary;
-- (BOOL) isHidden;
-- (void) setHidden: (BOOL) h;
-- (NSNumber *) noFilesExcludingMultiFrames;
-
-- (NSComparisonResult)compareName:(DicomStudy*)study;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DragMatrix.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DragMatrix.h
deleted file mode 100644
index 71a53e9..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DragMatrix.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-/*****************************************************************************/
-/* DragMatrix */
- /** \brief A matrix of image cells with reordering
- *
- * This calls allows you to create a matrix of image cells that can be
- * reordered (similar to object in an outline view). To use this class
- * add it to your project. In InterfaceBuilder create a matrix of
- * ImageViews. In the properties pane go to custom class and set the class
- * to DragMatrix. When a image is dragged this class sends a notification
- * "DragMatrixImageMoved". The object is itself. The user info contains
- * the following keys
- * - "images" = Selected DicomImages
- */
-/*****************************************************************************/
-
-@interface DragMatrix : NSMatrix {
- NSEvent * downEvent;
- NSRect oldDrawRect, newDrawRect;
- BOOL shouldDraw;
- IBOutlet id arrayController;
- NSArray *selection;
- NSInteger srcRow, srcCol, dstRow, dstCol;
-}
-//- (void) setController:(id)controller;
-// Private
-- (NSEvent*) downEvent;
-- (void) setDownEvent:(NSEvent *)event;
-- (void) clearDragDestinationMembers;
--(NSArray *)selection;
-
-@end
-
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DragMatrixWithDelete.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DragMatrixWithDelete.h
deleted file mode 100644
index eb225a1..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/DragMatrixWithDelete.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "DragMatrix.h"
-
-
- /** \brief A matrix of image cells with reordering and deletion */
-
-
-@interface DragMatrixWithDelete : DragMatrix {
-
-}
-
-
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyFlyThruController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyFlyThruController.h
deleted file mode 100644
index c7170fc..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyFlyThruController.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-#import "FlyThruController.h"
-
-
-@class EndoscopyVRController;
-@class EndoscopyViewer;
-
-/** \brief Manages the GUI for Endoscopy FlyThru
-*
-* Window controller for Endoscopy flythrus
-* Subclass of Flythru Controller.
-* Single property is NSMutableArray *seeds
-*/
-
-@interface EndoscopyFlyThruController : FlyThruController {
- NSMutableArray *seeds;
-
-}
-
-@property (readwrite, retain) NSMutableArray *seeds;
-
-- (void)compute;
-- (IBAction)calculate: (id)sender;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyMPRView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyMPRView.h
deleted file mode 100644
index 5cf7458..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyMPRView.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-#import "OrthogonalMPRController.h"
-#import "OrthogonalMPRView.h"
-
-/** \brief MPR views for endoscopy
-*/
-
-@interface EndoscopyMPRView : OrthogonalMPRView {
- NSPoint cameraPosition, cameraFocalPoint;
- float cameraAngle;
- long focalPointX, focalPointY, focalShiftX, focalShiftY, near, maxFocalLength;
- long viewUpX, viewUpY;
-}
-
-
-- (void) setCameraPosition: (float) x : (float) y;
-- (NSPoint) cameraPosition;
-- (void) setCameraFocalPoint: (float) x : (float) y;
-- (NSPoint) cameraFocalPoint;
-- (void) setCameraAngle: (float) alpha;
-- (float) cameraAngle;
-
-- (void) setFocalPointX: (long) x;
-- (void) setFocalPointY: (long) y;
-- (long) focalPointX;
-- (long) focalPointY;
-- (void) setFocalShiftX: (long) x;
-- (void) setFocalShiftY: (long) y;
-- (long) focalShiftX;
-- (long) focalShiftY;
-
-- (void) setViewUpX: (long) x;
-- (void) setViewUpY: (long) y;
-- (long) viewUpX;
-- (long) viewUpY;
-
--(unsigned char*) superGetRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp :(BOOL) screenCapture :(BOOL) force8bits :(BOOL) removeGraphical;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopySegmentationController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopySegmentationController.h
deleted file mode 100644
index 6c2f1e4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopySegmentationController.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-
-
-#import
-#import "OSIVoxel.h"
-
-@class ViewerController;
-
-/** \brief Window Controller for Centerline segementation.
-*
-* Window Controller for Centerline segementation
-* DEPRECATED -- PLANNED FOR DELETION
-*/
-@interface EndoscopySegmentationController : NSWindowController {
- ViewerController *_viewer, *_resultsViewer;
- NSMutableArray *_seeds;
- NSPoint _startingPoint;
-}
-
-- (NSArray *)seeds;
-- (void)addSeed:(id)seed;
-- (IBAction)calculate: (id)sender;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyVRController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyVRController.h
deleted file mode 100644
index 0c17a58..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyVRController.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-#import "VRController.h"
-
-/** \brief Controller for the VRView in the Endoscopy Window
-*/
-
-
-@interface EndoscopyVRController : VRController {
-
-}
-
-@end
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyVRView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyVRView.h
deleted file mode 100644
index 18e08e4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyVRView.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-#import "VRView.h"
-
-/** \brief VRview for Endoscopy
-*/
-@interface EndoscopyVRView : VRView {
-
-}
-
-- (void) setShadingValues:(float) ambient :(float) diffuse :(float) specular :(float) specularpower;
--(unsigned char*) superGetRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp :(BOOL) screenCapture :(BOOL) force8bits;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyViewer.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyViewer.h
deleted file mode 100644
index 79a7d29..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/EndoscopyViewer.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-#import "OrthogonalMPRController.h"
-#import "VRController.h"
-#import "EndoscopyVRController.h"
-#import "Camera.h"
-#import "OSIWindowController.h"
-
-@class OSIVoxel;
-
-/** \brief Window Controller for Endoscopy
-*/
-
-
-@interface EndoscopyViewer : OSIWindowController
-{
- IBOutlet OrthogonalMPRController *mprController;
- IBOutlet EndoscopyVRController *vrController;
- NSMutableArray *pixList;
-
- IBOutlet NSSplitView *topSplitView, *bottomSplitView;
-
- NSToolbar *toolbar;
- IBOutlet NSView *tools3DView, *tools2DView, *engineView, *shadingView, *LODView;
- IBOutlet NSMatrix *tools3DMatrix, *tools2DMatrix;
-
- IBOutlet NSView *WLWW3DView, *WLWW2DView;
- IBOutlet NSPopUpButton *wlww2DPopup, *clut2DPopup;
-
- NSString *cur2DWLWWMenu, *cur2DCLUTMenu;
-
- IBOutlet NSWindow *exportDCMWindow;
- IBOutlet NSMatrix *exportDCMViewsChoice;
- IBOutlet NSTextField *exportDCMSeriesName;
-
- BOOL exportAllViews;
-}
-
-
-@property(readonly) EndoscopyVRController *vrController;
-
-- (id) initWithPixList: (NSMutableArray*) pix :(NSArray*) files :(NSData*) vData :(ViewerController*) bC : (ViewerController*) vC;
-- (BOOL) is2DViewer;
-- (NSMutableArray*) pixList;
-//- (IBAction) centerline: (id) sender;
-- (void) setCameraRepresentation: (NSNotification*) note;
-- (void) setCameraRepresentation;
-- (void) setCameraPositionRepresentation: (Camera*) aCamera;
-- (void) setCameraFocalPointRepresentation: (Camera*) aCamera;
-- (void) setCameraViewUpRepresentation: (Camera*) aCamera;
-- (void) setCamera;
-- (void) setupToolbar;
-- (void) Apply2DCLUT:(id) sender;
-- (void) setCameraPosition:(OSIVoxel *)position focalPoint:(OSIVoxel *)focalPoint;
-
-
-#pragma mark-
-#pragma mark VR Viewer methods
-- (void) ApplyWLWW:(id) sender;
-
-#pragma mark-
-#pragma mark Tools Selection
-- (IBAction) change2DTool:(id) sender;
-- (IBAction) change3DTool:(id) sender;
-#pragma mark-
-#pragma mark NSSplitview's delegate methods
-- (void)splitViewDidResizeSubviews:(NSNotification *)aNotification;
-
-#pragma mark-
-#pragma mark export
-- (IBAction) setExportAllViews: (id) sender;
-- (BOOL) exportAllViews;
-- (void) exportDICOMFile:(id) sender;
-- (IBAction) endDCMExportSettings:(id) sender;
-- (unsigned char*) getRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FVTiff.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FVTiff.h
deleted file mode 100644
index 4179222..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FVTiff.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#ifndef FVTIFF_H
-#define FVTIFF_H
-
-#import
-#include "tiffio.h"
-
-#define TIFFTAG_FV_MMHEADER 34361
-#define TIFFTAG_FV_MMSTAMP 34362
-#define TIFFTAG_FV_USERBLOCK 34386
-
-#define FV_IMAGE_NAME_LENGTH 256
-#define FV_SPATIAL_DIMENSION 10
-#define FV_DIMNAME_LENGTH 16
-#define FV_UNITS_LENGTH 64
-
-extern void FVTIFFInitialize(void);
-
-typedef unsigned int FV_MM_HANDLE; // Size (bytes): 4
-
-typedef struct
-{
- char Name[FV_DIMNAME_LENGTH]; //Dimension name e.g. Width 16
- unsigned int Size; //Image width etc 4
- double Origin; //Origin 8
- double Resolution; //Image resolution 8
- char Units[FV_UNITS_LENGTH]; //Image calibration units 64
-
-} FV_MM_DIM_INFO; // Total Size (bytes): 100
-
-
-static const TIFFFieldInfo FVTiffFieldInfo[] = {
- { TIFFTAG_FV_MMHEADER, TIFF_VARIABLE, TIFF_VARIABLE, TIFF_BYTE, FIELD_CUSTOM, 1, 1, "FV_MMHEADER"},
- { TIFFTAG_FV_MMSTAMP, TIFF_VARIABLE, TIFF_VARIABLE, TIFF_BYTE, FIELD_CUSTOM, 1, 1, "FV_MMSTAMP"},
- { TIFFTAG_FV_USERBLOCK, TIFF_VARIABLE, TIFF_VARIABLE, TIFF_BYTE, FIELD_CUSTOM, 1, 1, "FV_USERBLOCK"},
-};
-
-typedef struct // this is from the FV docs, but I think the docs are not quite right on - Joel
-{
- short HeaderFlag; //Size of header structure 2
- unsigned char Status; //image status 1
- unsigned char ImageType; //Image Type 1
- char Name[FV_IMAGE_NAME_LENGTH]; //Image name 256
- FV_MM_HANDLE Data; //Handle to the data field 4
- unsigned int NumberOfColors; //Number of colors in palette 4
- FV_MM_HANDLE MM_256_Colors; //handle to the palette field 4
- FV_MM_HANDLE MM_All_Colors; //handle to the palette field 4
- unsigned int CommentSize; //Size of comments field 4
- FV_MM_HANDLE Comment; //handle to the comment field 4
- FV_MM_DIM_INFO DimInfo[FV_SPATIAL_DIMENSION]; //Dimension Info 1000
- FV_MM_HANDLE SpatialPosition; //obsolete??????????? 4
- short MapType; //Display mapping type 2
- short reserved; //Display mapping type 2
- double MapMin; //Display mapping minimum 8
- double MapMax; //Display mapping maximum 8
- double MinValue; //Image histogram minimum 8
- double MaxValue; //Image histogram maximum 8
- FV_MM_HANDLE Map; //Handle to gray level mapping array 4
- double Gamma; //Image gray level correction factor 8
- double Offset; //Image gray level correction offset 8
- FV_MM_DIM_INFO Gray; // 100
- FV_MM_HANDLE ThumbNail; //handle to the ThumbNail field 4
- unsigned int UserFieldSize; //Size of Voice field 4
- FV_MM_HANDLE UserFieldHandle; //handle to the Voice field 4
-
-} FV_MM_HEAD; // Total Size (bytes): 1456
-
-int FV_Read_MM_HEAD(const char* data, FV_MM_HEAD* head);
-int FV_Read_DIM_INFO(const char* data, FV_MM_DIM_INFO* info);
-NSXMLDocument* XML_from_FVTiff(NSString* srcFile);
-
-void FV_EMPTY_TIFFWarning(const char *module, const char *fmt, ...);
-
-#endif
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThru.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThru.h
deleted file mode 100644
index 7b64b7e..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThru.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import "Camera.h"
-#import "Interpolation3D.h"
-
-/** \brief Manages 3D flythrus
-*/
-
-@interface FlyThru : NSObject {
- NSMutableArray *stepCameras, *pathCameras, *stepsPositionInPath;
- int numberOfFrames;
- int interpolationMethod; // 1: spline / 2: piecewise
- BOOL constantSpeed, loop;
-
-}
-
-@property (readwrite, retain) NSMutableArray *steps;
-@property (readwrite, retain) NSMutableArray *pathCameras;
-@property (readwrite, retain) NSMutableArray *stepsPositionInPath;
-@property int numberOfFrames;
-@property int interpolationMethod;
-
-@property BOOL constantSpeed;
-@property BOOL loop;
-
-
-// steps (cameras choosed by the user)
--(id) initWithFirstCamera: (Camera*) sCamera;
--(void) addCamera: (Camera*) aCamera;
--(void) addCamera: (Camera*) aCamera atIndex: (int) index;
--(void) removeCameraAtIndex: (int) index;
--(void) removeAllCamera;
-
-
-
--(void) computePath; // interpollation of the path for every parameters
--(NSMutableArray*) path: (NSMutableArray*) pts : (int) interpolMeth : (BOOL) computeStepsPositions; // interpollation for 1 parameter
-
--(NSMutableDictionary*) exportToXML;
--(void) setFromDictionary: (NSDictionary*) xml;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruAdapter.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruAdapter.h
deleted file mode 100644
index b6a4ca0..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruAdapter.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-
-#import
-#import "Camera.h"
-#import "Window3DController.h"
-
-/** \brief Adapter for FlyThru
-*
-* Adaptor FlyThru
-* Subclassed for SR, VR, VRPro
-*/
-
-@interface FlyThruAdapter : NSObject {
-
- Window3DController *controller;
-
-}
-
-- (id) initWithWindow3DController: (Window3DController*) aWindow3DController;
-- (Camera*) getCurrentCamera;
-- (void) setCurrentViewToCamera:(Camera*)aCamera;
-- (NSImage*) getCurrentCameraImage:(BOOL) highQuality;
-- (void) prepareMovieGenerating;
-- (void) endMovieGenerating;
-- (void) setCurrentViewToLowResolutionCamera:(Camera*)aCamera;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruController.h
deleted file mode 100644
index efe78fc..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruController.h
+++ /dev/null
@@ -1,108 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import "FlyThru.h"
-#import "FlyThruAdapter.h"
-#import "Window3DController.h"
-#import "QuicktimeExport.h"
-#import "FlyThruStepsArrayController.h"
-
-/** \brief Window Controller for FlyThru
-*/
-
-@interface FlyThruController : NSWindowController {
-
- IBOutlet NSMatrix *LOD;
- IBOutlet NSBox *boxPlay;
- IBOutlet NSBox *boxExport;
- IBOutlet NSBox *boxCompute;
-
- IBOutlet NSTabView *tabView;
- IBOutlet NSTableView *FTview;
- IBOutlet NSTableColumn *colCamNumber;
- IBOutlet NSTableColumn *colCamPreview;
-
- IBOutlet NSMatrix *methodChooser;
- IBOutlet NSButton *computeButton;
-
- IBOutlet NSSlider *framesSlider;
- IBOutlet NSButton *playButton;
-
-
- IBOutlet NSTextField *MatrixSize;
- IBOutlet NSTextField *numberOfFramesTextField;
- IBOutlet NSPopUpButton *MatrixSizePopup;
-
- NSPoint boxPlayOrigin;
- NSRect windowFrame;
-
- IBOutlet NSButton *exportButton;
- IBOutlet FlyThruStepsArrayController *stepsArrayController;
-
- FlyThru *flyThru;
- Window3DController *controller3D;
- FlyThruAdapter *FTAdapter; // link between abstract fly thru and concret 3D world (such as VR, SR, ...)
-
- NSTimer *movieTimer;
- NSTimeInterval lastMovieTime;
- int curMovieIndex;
- BOOL hidePlayBox;
- BOOL hideComputeBox;
- BOOL hideExportBox;
- BOOL enableRenderingType;
- int exportFormat;
- int levelOfDetailType;
- int exportSize;
-
- IBOutlet NSButton *exportButtonOption;
- NSString *dcmSeriesName;
- int tabIndex;
-
-}
-
-@property (readwrite, retain) FlyThru *flyThru;
-@property BOOL hidePlayBox;
-@property BOOL hideComputeBox;
-@property BOOL hideExportBox;
-@property int exportFormat;
-@property (readwrite, copy) NSString *dcmSeriesName;
-@property int levelOfDetailType;
-@property int exportSize;
-@property (readonly) Camera *currentCamera;
-@property (readonly) FlyThruStepsArrayController *stepsArrayController;
-@property (readwrite, retain) FlyThruAdapter *FTAdapter;
-@property int curMovieIndex;
-@property int tabIndex;
-
-- (void)setWindow3DController:(Window3DController*) w3Dc;
-- (Window3DController*)window3DController;
-- (id) initWithFlyThruAdapter:(FlyThruAdapter*)aFlyThruAdapter;
-- (void)windowWillClose:(NSNotification *)notification;
-- (void) dealloc;
-- (IBAction) flyThruSetCurrentView:(id) sender;
-- (IBAction) flyThruCompute:(id) sender;
-- (void) flyThruPlayStop:(id) sender;
-- (void) performMovieAnimation:(id) sender;
-- (IBAction) flyThruQuicktimeExport :(id) sender;
-- (NSImage*) imageForFrame:(NSNumber*) cur maxFrame:(NSNumber*) max;
-- (void) updateThumbnails;
-- (NSButton*) exportButtonOption;
-- (void)setCurMovieIndex:(int)index;
-- (Camera *)currentCamera;
-- (void)setupController;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruStepsArrayController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruStepsArrayController.h
deleted file mode 100644
index 91b3094..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruStepsArrayController.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright(c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-@class FlyThruController;
-
-
-/** \brief Manages the array of FlyThru steps
-*
-* A subclass of NSArrayController used to manage the steps of the flythru.
-* Each step consists of a Camera -- See Camera.h
-* Uses the usual NSArrayController methods.
-*/
-
-
-@interface FlyThruStepsArrayController : NSArrayController {
- IBOutlet FlyThruController *flyThruController;
- IBOutlet NSTableView *tableview;
-}
-
-- (IBAction) flyThruButton:(id) sender;
-- (void) flyThruTag:(int) x;
-- (void) resetCameraIndexes;
-- (IBAction)updateCamera:(id)sender;
-- (IBAction)resetCameras:(id)sender;
-- (void) keyDown:(NSEvent *)theEvent;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruTableView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruTableView.h
deleted file mode 100644
index b527422..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/FlyThruTableView.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright(c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-/** \brief TableView for FlyThru steps
-*
-* TableView subclass to manage drag and drop ofsteps
-* for Flythrus
-*/
-
-
-@interface FlyThruTableView : NSTableView {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/GLString.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/GLString.h
deleted file mode 100644
index 7124773..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/GLString.h
+++ /dev/null
@@ -1,128 +0,0 @@
-//
-// File: GLString.h
-// (Originally StringTexture.h)
-//
-// Abstract: Uses Quartz to draw a string into an OpenGL texture
-//
-// Version: 1.1 - Minor enhancements and bug fixes.
-// 1.0 - Original release.
-//
-//
-// Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple")
-// in consideration of your agreement to the following terms, and your use,
-// installation, modification or redistribution of this Apple software
-// constitutes acceptance of these terms. If you do not agree with these
-// terms, please do not use, install, modify or redistribute this Apple
-// software.
-//
-// In consideration of your agreement to abide by the following terms, and
-// subject to these terms, Apple grants you a personal, non - exclusive
-// license, under Apple's copyrights in this original Apple software ( the
-// "Apple Software" ), to use, reproduce, modify and redistribute the Apple
-// Software, with or without modifications, in source and / or binary forms;
-// provided that if you redistribute the Apple Software in its entirety and
-// without modifications, you must retain this notice and the following text
-// and disclaimers in all such redistributions of the Apple Software. Neither
-// the name, trademarks, service marks or logos of Apple Inc. may be used to
-// endorse or promote products derived from the Apple Software without specific
-// prior written permission from Apple. Except as expressly stated in this
-// notice, no other rights or licenses, express or implied, are granted by
-// Apple herein, including but not limited to any patent rights that may be
-// infringed by your derivative works or by other works in which the Apple
-// Software may be incorporated.
-//
-// The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO
-// WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
-// WARRANTIES OF NON - INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A
-// PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION
-// ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
-//
-// IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
-// CONSEQUENTIAL DAMAGES ( INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-// INTERRUPTION ) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION
-// AND / OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER
-// UNDER THEORY OF CONTRACT, TORT ( INCLUDING NEGLIGENCE ), STRICT LIABILITY OR
-// OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//
-// Copyright ( C ) 2003-2007 Apple Inc. All Rights Reserved.
-//
-
-#import
-#import
-#import
-#import
-#import
-
-@interface NSBezierPath (RoundRect)
-+ (NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect cornerRadius:(float)radius;
-
-- (void)appendBezierPathWithRoundedRect:(NSRect)rect cornerRadius:(float)radius;
-@end
-
-@interface GLString : NSObject {
- CGLContextObj cgl_ctx; // current context at time of texture creation
- GLuint texName;
- NSSize texSize;
-
- NSAttributedString * string;
- NSColor * textColor; // default is opaque white
- NSColor * boxColor; // default transparent or none
- NSColor * borderColor; // default transparent or none
- BOOL staticFrame; // default in NO
- BOOL antialias; // default to YES
- NSSize marginSize; // offset or frame size, default is 4 width 2 height
- NSSize frameSize; // offset or frame size, default is 4 width 2 height
- float cRadius; // Corner radius, if 0 just a rectangle. Defaults to 4.0f
- NSBitmapImageRep * bitmap;
-
- BOOL requiresUpdate;
-}
-
-// this API requires a current rendering context and all operations will be performed in regards to thar context
-// the same context should be current for all method calls for a particular object instance
-
-// designated initializer
-- (id) initWithAttributedString:(NSAttributedString *)attributedString withTextColor:(NSColor *)color withBoxColor:(NSColor *)color withBorderColor:(NSColor *)color;
-
-- (id) initWithString:(NSString *)aString withAttributes:(NSDictionary *)attribs withTextColor:(NSColor *)color withBoxColor:(NSColor *)color withBorderColor:(NSColor *)color;
-
-// basic methods that pick up defaults
-- (id) initWithString:(NSString *)aString withAttributes:(NSDictionary *)attribs;
-- (id) initWithAttributedString:(NSAttributedString *)attributedString;
-
-- (void) dealloc;
-
-- (GLuint) texName; // 0 if no texture allocated
-- (NSSize) texSize; // actually size of texture generated in texels, (0, 0) if no texture allocated
-
-- (NSColor *) textColor; // get the pre-multiplied default text color (includes alpha) string attributes could override this
-- (NSColor *) boxColor; // get the pre-multiplied box color (includes alpha) alpha of 0.0 means no background box
-- (NSColor *) borderColor; // get the pre-multiplied border color (includes alpha) alpha of 0.0 means no border
-- (BOOL) staticFrame; // returns whether or not a static frame will be used
-
-- (NSSize) frameSize; // returns either dynamc frame (text size + margins) or static frame size (switch with staticFrame)
-
-- (NSSize) marginSize; // current margins for text offset and pads for dynamic frame
-
-- (void) genTexture; // generates the texture without drawing texture to current context
-- (void) drawWithBounds:(NSRect)bounds; // will update the texture if required due to change in settings (note context should be setup to be orthographic scaled to per pixel scale)
-- (void) drawAtPoint:(NSPoint)point;
-
-// these will force the texture to be regenerated at the next draw
-- (void) setMargins:(NSSize)size; // set offset size and size to fit with offset
-- (void) useStaticFrame:(NSSize)size; // set static frame size and size to frame
-- (void) useDynamicFrame; // set static frame size and size to frame
-
-- (void) setString:(NSAttributedString *)attributedString; // set string after initial creation
-- (void) setString:(NSString *)aString withAttributes:(NSDictionary *)attribs; // set string after initial creation
-
-- (void) setTextColor:(NSColor *)color; // set default text color
-- (void) setBoxColor:(NSColor *)color; // set default text color
-- (void) setBorderColor:(NSColor *)color; // set default text color
-
-- (BOOL) antialias;
-- (void) setAntialias:(bool)request;
-
-@end
-
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HangingProtocolController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HangingProtocolController.h
deleted file mode 100644
index 7e26142..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HangingProtocolController.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-// Hanging Protocol Controller manages the current Active Advanced Hanging Protocol.
-#import
-
-@class LayoutWindowController;
-@class LayoutArrayController;
-@interface HangingProtocolController : NSObjectController {
- IBOutlet LayoutWindowController *_layoutWindowController;
- IBOutlet LayoutArrayController *_layoutArrayController;
-}
-
-
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HistoView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HistoView.h
deleted file mode 100644
index cf52266..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HistoView.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-@class ROI;
-
-/** \brief View for histogram display */
-
-@interface HistoView : NSView
-{
- float *dataArray;
- long dataSize, bin, curMousePosition, pixels, minV, maxV;
- float maxValue;
- ROI *curROI;
- NSColor *backgroundColor, *binColor, *selectedBinColor, *textColor, *borderColor;
-}
-- (void)setData:(float*)array :(long) size :(long) b;
-- (void)setMaxValue:(float)value :(long) pixels;
-- (void)setCurROI: (ROI*) r;
-- (void)setRange:(long) mi :(long) max;
-
-- (NSColor*)backgroundColor;
-- (NSColor*)binColor;
-- (NSColor*)selectedBinColor;
-- (NSColor*)textColor;
-- (NSColor*)borderColor;
-
-- (void)setBackgroundColor:(NSColor*)aColor;
-- (void)setBinColor:(NSColor*)aColor;
-- (void)setSelectedBinColor:(NSColor*)aColor;
-- (void)setTextColor:(NSColor*)aColor;
-- (void)setBorderColor:(NSColor*)aColor;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HistogramWindow.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HistogramWindow.h
deleted file mode 100644
index 1a00867..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HistogramWindow.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import "ROI.h"
-#import "HistoView.h"
-
-#define HISTOSIZE 512
-
-/** \brief Window Controller for histogram display */
-
-@interface HistoWindow : NSWindowController {
-
- ROI *curROI;
-
- float *data, histoData[ HISTOSIZE], maxValue, minValue;
- long dataSize;
-
- IBOutlet HistoView *histo;
- IBOutlet NSSlider *binSlider;
- IBOutlet NSTextField *binText, *maxText;
-}
-
-- (id) initWithROI: (ROI*) iroi;
-- (ROI*) curROI;
-- (IBAction) changeBin: (id) sender;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HornRegistration.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HornRegistration.h
deleted file mode 100644
index 06f3b39..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/HornRegistration.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-
-#import
-
-/** \brief VTK horn registration */
-
-
-@interface HornRegistration : NSObject {
- NSMutableArray *modelPoints, *sensorPoints;
- double *adRot, *adTrans;
-}
-
-- (void) addModelPointX: (double) x Y: (double) y Z: (double) z;
-- (void) addSensorPointX: (double) x Y: (double) y Z: (double) z;
-- (void) addModelPoint: (double*) point;
-- (void) addSensorPoint: (double*) point;
-- (short) numberOfPoint;
-- (void) computeVTK:(double*) matrixResult;
-
-- (double*) rotation;
-- (double*) translation;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/IChatTheatreDelegate.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/IChatTheatreDelegate.h
deleted file mode 100644
index 830a7e4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/IChatTheatreDelegate.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import
-
-/** \brief Delegate for managing iChat Theatre */
-
-@interface IChatTheatreDelegate : NSObject {
- BOOL _hasChanged;
- IBOutlet WebView *web;
-}
-
-@property(readonly) WebView *web;
-
-/** Shared delegate for iChat Theater */
-+ (IChatTheatreDelegate*) sharedDelegate;
-
-/** Release the shared delegate */
-+ (void) releaseSharedDelegate;
-
-/** Notification sent iChat Theater state has changed */
-- (void)_stateChanged:(NSNotification *)aNotification;
-
-/** Flag to indicate if iChat Theater is running */
-- (BOOL)isIChatTheatreRunning;
-
-/** Set the window to use as the data source */
-- (void)setVideoDataSource:(NSWindow*)window;
-
-
-/** draw image for iChat Theater
-* We synchronise to make sure we're not drawing in two threads
-* simultaneously. */
-- (void)drawImage:(NSImage *)image inBounds:(NSRect)rect;
-
-
-/** The _hasChanged flag is set to 'NO' after any check (by a client of this
-* class), and 'YES' after a frame is drawn that is not identical to the
-* previous one (in the drawInBounds: method).
-* Returns the current state of the flag, and sets it to the passed in value.
-*/
-- (BOOL)_checkHasChanged:(BOOL)flag;
-
-
-
-/** Calling with 'NO' clears _hasChanged after the call (see above).
-*/
-- (BOOL)checkHasChanged;
-
-/** Show help window for iChat theater */
-- (void)showIChatHelp;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/IChatTheatreHelpWindowController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/IChatTheatreHelpWindowController.h
deleted file mode 100644
index 9f60e1c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/IChatTheatreHelpWindowController.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-/** \brief Window Controller for iChat Theatre Help Window*/
-@interface IChatTheatreHelpWindowController : NSWindowController {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ISO8601DateFormatter.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ISO8601DateFormatter.h
deleted file mode 100644
index 073e3ca..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ISO8601DateFormatter.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/*ISO8601DateFormatter.h
- *
- *Created by Peter Hosey on 2009-04-11.
- *Copyright 2009 Peter Hosey. All rights reserved.
- */
-
-#import
-
-/*This class converts dates to and from ISO 8601 strings. A good introduction to ISO 8601:
- *
- *Parsing can be done strictly, or not. When you parse loosely, leading whitespace is ignored, as is anything after the date.
- *The loose parser will return an NSDate for this string: @" \t\r\n\f\t 2006-03-02!!!"
- *Leading non-whitespace will not be ignored; the string will be rejected, and nil returned. See the README that came with this addition.
- *
- *The strict parser will only accept a string if the date is the entire string. The above string would be rejected immediately, solely on these grounds.
- *Also, the loose parser provides some extensions that the strict parser doesn't.
- *For example, the standard says for "-DDD" (an ordinal date in the implied year) that the logical representation (meaning, hierarchically) would be "--DDD", but because that extra hyphen is "superfluous", it was omitted.
- *The loose parser will accept the extra hyphen; the strict parser will not.
- *A full list of these extensions is in the README file.
- */
-
-/*The format to either expect or produce.
- *Calendar format is YYYY-MM-DD.
- *Ordinal format is YYYY-DDD, where DDD ranges from 1 to 366; for example, 2009-32 is 2009-02-01.
- *Week format is YYYY-Www-D, where ww ranges from 1 to 53 (the 'W' is literal) and D ranges from 1 to 7; for example, 2009-W05-07.
- */
-enum {
- ISO8601DateFormatCalendar,
- ISO8601DateFormatOrdinal,
- ISO8601DateFormatWeek,
-};
-typedef NSUInteger ISO8601DateFormat;
-
-//The default separator for time values. Currently, this is ':'.
-extern unichar ISO8601DefaultTimeSeparatorCharacter;
-
-@interface ISO8601DateFormatter: NSFormatter
-{
- NSTimeZone *defaultTimeZone;
- ISO8601DateFormat format;
- unichar timeSeparator;
- BOOL includeTime;
- BOOL parsesStrictly;
-}
-
-@property(retain) NSTimeZone *defaultTimeZone;
-
-#pragma mark Parsing
-
-//As a formatter, this object converts strings to dates.
-
-@property BOOL parsesStrictly;
-
-- (NSDateComponents *) dateComponentsFromString:(NSString *)string;
-- (NSDateComponents *) dateComponentsFromString:(NSString *)string timeZone:(out NSTimeZone **)outTimeZone;
-- (NSDateComponents *) dateComponentsFromString:(NSString *)string timeZone:(out NSTimeZone **)outTimeZone range:(out NSRange *)outRange;
-
-- (NSDate *) dateFromString:(NSString *)string;
-- (NSDate *) dateFromString:(NSString *)string timeZone:(out NSTimeZone **)outTimeZone;
-- (NSDate *) dateFromString:(NSString *)string timeZone:(out NSTimeZone **)outTimeZone range:(out NSRange *)outRange;
-
-#pragma mark Unparsing
-
-@property ISO8601DateFormat format;
-@property BOOL includeTime;
-@property unichar timeSeparator;
-
-- (NSString *) stringFromDate:(NSDate *)date;
-- (NSString *) stringFromDate:(NSDate *)date timeZone:(NSTimeZone *)timeZone;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITK.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITK.h
deleted file mode 100644
index 0765243..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITK.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-
-#import
-
-typedef float itkPixelType;
-//typedef itk::RGBPixel itkPixelType;
-typedef itk::Image< itkPixelType, 3 > ImageType;
-typedef itk::ImportImageFilter< itkPixelType, 3 > ImportFilterType;
-
-
-/** \brief Creates an itkImageImportFilter
-*/
-
-@interface ITK : NSObject {
-
- // ITK objects
- ImportFilterType::Pointer importFilter;
-}
-
-#ifdef id
-#define redefineID
-#undef id
-#endif
-
-
-- (id) initWith :(NSArray*) pix :(float*) srcPtr :(long) slice;
-- (id) initWithPix :(NSArray*) pix volume:(float*) volumeData sliceCount:(long) slice resampleData:(BOOL)resampleData;
-
-#ifdef redefineID
-#define id Id
-#undef redefineID
-#endif
-
-- (ImportFilterType::Pointer) itkImporter;
-- (void)setupImportFilterWithSize:(ImportFilterType::SizeType)size
- origin:(double[3])origin
- spacing:(double[3])spacing
- data:(float *)data
- filterWillOwnBuffer:(BOOL)filterWillOwnBuffer;
-
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKBrushROIFilter.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKBrushROIFilter.h
deleted file mode 100644
index 3724bfe..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKBrushROIFilter.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-
-@class ROI;
-
-/** \brief Filters brush ROIs
-*
-* Filters brush ROI
-* Erode, dilate, open, close
-*/
-
-@interface ITKBrushROIFilter : NSObject {
-
-unsigned char *kernelDilate, *kernelErode;
-}
-
-// filters
-- (void) erode:(ROI*)aROI withStructuringElementRadius:(int)structuringElementRadius;
-- (void) dilate:(ROI*)aROI withStructuringElementRadius:(int)structuringElementRadius;
-- (void) close:(ROI*)aROI withStructuringElementRadius:(int)structuringElementRadius;
-- (void) open:(ROI*)aROI withStructuringElementRadius:(int)structuringElementRadius;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKSegmentation3D.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKSegmentation3D.h
deleted file mode 100644
index c84c655..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKSegmentation3D.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-#ifdef __cplusplus
-#define id Id
- #include "itkImage.h"
- #include "itkImportImageFilter.h"
-#undef id
-#import "ITK.h"
-#else
-@class ITK;
-#endif
-
-@class ViewerController;
-
-
-/** \brief ITK based segmentation for region growing
-*/
-@interface ITKSegmentation3D : NSObject {
-
- ITK *itkImage;
- BOOL _resampledData;
-
-}
-
-#ifdef id
-#define redefineID
-#undef id
-#endif
-
-+ (NSArray*) fastGrowingRegionWithVolume: (float*) volume width:(long) w height:(long) h depth:(long) depth seedPoint:(long*) seed from:(float) from pixList:(NSArray*) pixList;
-- (id) initWith :(NSMutableArray*) pix :(float*) volumeData :(long) slice;
-- (id) initWithPix :(NSMutableArray*) pix volume:(float*) volumeData slice:(long) slice resampleData:(BOOL)resampleData;
-- (void) regionGrowing3D:(ViewerController*) srcViewer :(ViewerController*) destViewer :(long) slice :(NSPoint) startingPoint :(int) algorithmNumber :(NSArray*) parameters :(BOOL) setIn :(float) inValue :(BOOL) setOut :(float) outValue :(int) roiType :(long) roiResolution :(NSString*) newname :(BOOL) mergeWithExistingROIs;
-// extract lumen for Centerline calculation
-//- (NSArray *)endoscopySegmentationForViewer:(ViewerController*) srcViewer seeds:(NSArray *)seeds;
-+ (NSMutableArray*) extractContour:(unsigned char*) map width:(long) width height:(long) height;
-+ (NSMutableArray*) extractContour:(unsigned char*) map width:(long) width height:(long) height numPoints:(long) numPoints;
-+ (NSMutableArray*) extractContour:(unsigned char*) map width:(long) width height:(long) height numPoints:(long) numPoints largestRegion:(BOOL) largestRegion;
-
-#ifdef redefineID
-#define id Id
-#undef redefineID
-#endif
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKSegmentation3DController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKSegmentation3DController.h
deleted file mode 100644
index 27b96fe..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKSegmentation3DController.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-@class ViewerController;
-
-
-/** \brief Segmentation WindowController
-*/
-
-
-@interface ITKSegmentation3DController : NSWindowController {
-
- ViewerController *viewer, *resultsViewer;
-
- // parameters
- IBOutlet NSBox *parametersBox;
- IBOutlet NSMatrix *growingMode;
- IBOutlet NSPopUpButton *algorithmPopup;
- NSPoint startingPoint;
- IBOutlet NSTextField *startingPointWorldPosition, *startingPointPixelPosition, *startingPointValue;
- IBOutlet NSForm *params;
- // results
- IBOutlet NSBox *resultsBox;
- IBOutlet NSMatrix *outputResult;
- IBOutlet NSMatrix *pixelsSet;
- IBOutlet NSMatrix *pixelsValue;
- IBOutlet NSSlider *roiResolution;
- IBOutlet NSTextField *newName;
-
- IBOutlet NSButton *computeButton;
-
- // Algorithms
- NSArray *algorithms;
- NSArray *parameters;
- NSArray *defaultsParameters;
- NSArray *urlHelp;
-}
-+ (id) segmentationControllerForViewer:(ViewerController*) v;
-
-- (IBAction) compute:(id) sender;
-- (IBAction) preview:(id) sender;
-- (id) initWithViewer:(ViewerController*) v;
-- (ViewerController*) viewer;
-- (IBAction) changeAlgorithm: (id) sender;
-- (void) setNumberOfParameters: (int) n;
-
-- (IBAction) algorithmGetHelp:(id) sender;
-- (void) fillAlgorithmPopup;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKTransform.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKTransform.h
deleted file mode 100644
index b264db8..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ITKTransform.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-
-@class ViewerController;
-@class DCMPix;
-
-
-#ifdef __cplusplus
-#import "ITK.h"
-#else
-@class ITK;
-#endif
-
-#ifdef id
-#define redefineID
-#undef id
-#endif
-
-
-/** /brief ITK based affine transform */
-
-@interface ITKTransform : NSObject {
- ITK *itkImage;
- ViewerController *originalViewer, *resultViewer;
-}
-
-- (id) initWithViewer: (ViewerController *) viewer;
-- (ViewerController*) computeAffineTransformWithParameters: (double*)theParameters resampleOnViewer:(ViewerController*)referenceViewer;
-- (ViewerController*) createNewViewerWithBuffer:(float*)aBuffer length: (long) length resampleOnViewer:(ViewerController*)referenceViewer;
-
-+ (float*) resampleWithParameters: (double*)theParameters firstObject: (DCMPix*) firstObject firstObjectOriginal: (DCMPix*) firstObjectOriginal noOfImages: (int) noOfImages length: (long*) length itkImage: (ITK*) itkImage;
-+ (float*) reorient2Dimage: (double*) theParameters firstObject: (DCMPix*) firstObject firstObjectOriginal: (DCMPix*) firstObjectOriginal length: (long*) length;
-
-#ifdef redefineID
-#define id Id
-#undef redefineID
-#endif
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ImageAndTextCell.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ImageAndTextCell.h
deleted file mode 100644
index 1c72fa8..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/ImageAndTextCell.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-/** \brief Cell that can contain text and and image */
-
-#import
-
-@interface ImageAndTextCell : NSTextFieldCell {
-@private
- NSImage *image, *lastImage, *lastImageAlternate;
- BOOL clickedInLastImage;
-}
-
-- (void)setImage:(NSImage *)anImage;
-- (void)setLastImage:(NSImage *)anImage;
-- (void)setLastImageAlternate:(NSImage *)anImage;
-- (NSImage *)image;
-
-- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
-- (NSSize)cellSize;
-- (BOOL) clickedInLastImage;
-
-@end
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Interpolation3D.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Interpolation3D.h
deleted file mode 100644
index 99fab33..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Interpolation3D.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-
-
-#import
-#import "Point3D.h"
-
-/** \brief Interpolates flight path between FlyThru steps
-*/
-
-@interface Interpolation3D : NSObject {
-}
-
-- (void) addPoint: (float) t : (Point3D*) p;
-- (Point3D*) evaluateAt: (float) t;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/JPEGExif.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/JPEGExif.h
deleted file mode 100644
index 263332c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/JPEGExif.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-/** \brief add exif to JPEG */
-@interface JPEGExif : NSObject {
-
-}
-
-+ (void) addExif:(NSURL*) url properties:(NSDictionary*) exifDict format: (NSString*) format;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KFSplitView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KFSplitView.h
deleted file mode 100644
index bd16899..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KFSplitView.h
+++ /dev/null
@@ -1,71 +0,0 @@
-//
-// KFSplitView.h
-// KFSplitView v. 1.3, 11/27/2004
-//
-// Copyright (c) 2003-2004 Ken Ferry. Some rights reserved.
-// http://homepage.mac.com/kenferry/software.html
-//
-// This work is licensed under a Creative Commons license:
-// http://creativecommons.org/licenses/by-nc/1.0/
-//
-// Send me an email if you have any problems (after you've read what there is to read).
-//
-// You can reach me at kenferry at the domain mac.com.
-
-#import
-
-@interface KFSplitView:NSSplitView
-{
- // retained
- NSMutableSet *kfCollapsedSubviews;
- NSMutableArray *kfDividerRects;
- NSString *kfPositionAutosaveName;
- NSCursor *kfIsVerticalResizeCursor;
- NSCursor *kfNotIsVerticalResizeCursor;
-
- // not retained
- NSCursor *kfCurrentResizeCursor;
- NSUserDefaults *kfDefaults;
- NSNotificationCenter *kfNotificationCenter;
- BOOL kfIsVertical;
- id kfDelegate;
-}
-
-// sets the collapse-state of a subview, which is completely independent
-// of that subview's frame (as in NSSplitView). (Sometime) after calling this
-// you'll need to tell the splitview to resize its subviews.
-// Normally, that would be this call:
-// [kfSplitView resizeSubviewsWithOldSize:[kfSplitView bounds].size];
-- (void)setSubview:(NSView *)subview isCollapsed:(BOOL)flag;
-
-// To find documentation for these methods refer to Apple's NSWindow
-// documentation for the corresponding methods (e.g. -setFrameAutosaveName:).
-// To use an autosave name, call -setPositionAutosaveName: from the -awakeFromNib
-// method of a controller.
-+ (void)removePositionUsingName:(NSString *)name;
-- (void)savePositionUsingName:(NSString *)name;
-- (BOOL)setPositionUsingName:(NSString *)name;
-- (BOOL)setPositionAutosaveName:(NSString *)name;
-- (NSString *)positionAutosaveName;
-- (void)setPositionFromPlistObject:(id)string;
-- (id)plistObjectWithSavedPosition;
-- (void)kfRecalculateDividerRects;
-
-@end
-
-@interface NSObject(KFSplitViewDelegate)
-
-// in notification argument 'object' will be sender, 'userInfo' will have key @"subview"
-- (void)splitViewDidCollapseSubview:(NSNotification *)notification;
-- (void)splitViewDidExpandSubview:(NSNotification *)notification;
-
-- (void)splitView:(id)sender didDoubleClickInDivider:(int)index;
-- (void)splitView:(id)sender didFinishDragInDivider:(int)index;
-
-@end
-
-// notifications: 'object' will be sender, 'userInfo' will have key @"subview".
-// The delegate is automatically registered to receive these notifications.
-extern NSString* const KFSplitViewDidCollapseSubviewNotification;
-extern NSString* const KFSplitViewDidExpandSubviewNotification;
-
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectController.h
deleted file mode 100644
index 8e43637..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectController.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-/** \brief Window Controller for creating key Object Notes */
-@interface KeyObjectController : NSWindowController {
- int _title;
- NSString *_keyDescription;
- id _study;
- NSString *_seriesUID;
-}
-
-- (id)initWithStudy:(id)study;
-- (int)intTitle;
-- (void)setIntTitle:(int)title;
-- (NSString *) keyDescription;
-- (void)setKeyDescription:(NSString *)keyDescription;
-
-- (IBAction)closeWindow:(id)sender;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectPopupController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectPopupController.h
deleted file mode 100644
index d5ba7d9..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectPopupController.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-@class ViewerController;
-
-/** \brief Control for KeyObjectReport popup button*/
-@interface KeyObjectPopupController : NSObject {
- NSArray *_reports;
- NSMenu *_menu;
- ViewerController *_viewerController;
- NSPopUpButton *_popupButton;
- id series;
-}
-
-- (id)initWithViewerController:(ViewerController *)controller popup:(NSPopUpButton *)popupButton;
-- (NSArray *)reports;
-- (void)setReports:(NSArray *)reports;
-- (NSMenu *)menu;
-- (void)setMenu:(NSMenu *)menu;
-- (void)willPopUp:(NSNotification *)note;
-- (IBAction)useKeyObjectNote:(id)sender;
-
-
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectReport.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectReport.h
deleted file mode 100644
index 7bc9542..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/KeyObjectReport.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-#undef verify
-#include "dsrdoc.h"
-
-/** \brief DICOM key object note */
-@interface KeyObjectReport : NSObject {
- id _study;
- DSRDocument *_doc;
- NSArray *_keyImages;
- NSString *_keyDescription;
- int _title;
- NSString *_seriesUID;
-}
-
- - (id) initWithStudy:(id)study
- title:(int)title
- description:(NSString *)keyDescription
- seriesUID:(NSString *)seriesUID;
- - (void)createKO;
- - (BOOL)writeFileAtPath:(NSString *)path;
- - (BOOL)writeHTMLAtPath:(NSString *)path;
- - (NSString *)sopInstanceUID;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLDCMView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLDCMView.h
deleted file mode 100644
index d4ce15f..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLDCMView.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-#import "DCMView.h"
-#import "LLMPRViewer.h"
-
-@interface LLDCMView : DCMView {
- IBOutlet LLMPRViewer *viewer;
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRController.h
deleted file mode 100644
index 1c5cbd7..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRController.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "OrthogonalMPRController.h"
-
-@class LLMPRView;
-
-@interface LLMPRController : OrthogonalMPRController {
- NSRange pixListRange;
-}
-
-- (void)resliceFromNotification: (NSNotification*)notification;
-- (void)shiftView:(OrthogonalMPRView*)view x:(int)deltaX y:(int)deltaY;
-- (void)removeBonesAtX:(int)x y:(int)y fromView:(LLMPRView*)view;
-- (void)setPixListRange:(NSRange)range;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRView.h
deleted file mode 100644
index 87ac1b6..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRView.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "OrthogonalMPRView.h"
-#import "LLMPRViewer.h"
-
-@interface LLMPRView : OrthogonalMPRView {
- IBOutlet LLMPRViewer* viewer;
-}
-
--(long)thickSlabX;
--(long)thickSlabY;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRViewer.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRViewer.h
deleted file mode 100644
index d932bd6..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLMPRViewer.h
+++ /dev/null
@@ -1,123 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "OrthogonalMPRViewer.h"
-#import "LLMPRController.h"
-#import "DCMView.h"
-#import "LLScoutViewer.h"
-
-#import "Schedulable.h"
-#import "Scheduler.h"
-#import "StaticScheduler.h"
-
-@class LLDCMView;
-
-@interface LLMPRViewer : OrthogonalMPRViewer {
- IBOutlet LLMPRController *injectedMPRController;
- IBOutlet LLDCMView *subtractedOriginalView, *subtractedXReslicedView, *subtractedYReslicedView;
- float *subtractedOriginalBuffer, *subtractedXReslicedBuffer, *subtractedYReslicedBuffer;
- int xShift, yShift, zShift;
- ViewerController *notInjectedViewer;
- short thickSlabMode, thickSlab;
- NSRange pixListRange;
- LLScoutViewer *scoutViewer;
- IBOutlet NSPopUpButton *thickSlabModePopUp;
- IBOutlet NSPanel *parametersPanel;
- IBOutlet NSTextField *injectedMinValueTextField, *injectedMaxValueTextField, *notInjectedMinValueTextField, *notInjectedMaxValueTextField, *subtractionMinValueTextField, *subtractionMaxValueTextField;
- IBOutlet NSSlider *injectedMinValueSlider, *injectedMaxValueSlider, *notInjectedMinValueSlider, *notInjectedMaxValueSlider, *subtractionMinValueSlider, *subtractionMaxValueSlider, *dilatationRadiusSlider, *closingRadiusSlider, *lowPassFilterSizeSlider;
- int injectedMinValue, injectedMaxValue, notInjectedMinValue, notInjectedMaxValue, subtractionMinValue, subtractionMaxValue;
- IBOutlet NSTextField *xShiftTextField, *yShiftTextField, *zShiftTextField;
- IBOutlet NSTextField *dilatationRadiusTextField, *closingRadiusTextField, *lowPassFilterSizeTextField;
- int dilatationRadius, closingRadius, lowPassFilterSize;
-
- IBOutlet NSButton *displayBonesButton;
- BOOL displayBones;
- IBOutlet NSSlider *bonesThresholdSlider;
- IBOutlet NSTextField *bonesThresholdTextField;
- int bonesThreshold;
-
- IBOutlet NSPopUpButton *settingsPopup;
- NSString *settingsName;
- IBOutlet NSWindow *settingsNameSheetWindow;
- IBOutlet NSTextField *settingsNameTextField;
-
- IBOutlet NSPopUpButton *convolutionsPopup;
- BOOL applyConvolution;
- float convolutionKernel[25];
- NSString *convolutionName;
-}
-
-- (id)initWithPixList:(NSArray*)pix:(NSArray*)pixToSubstract:(NSArray*)files:(NSData*)vData:(ViewerController*)vC:(ViewerController*)bC:(LLScoutViewer*)sV;
-- (void)setPixListRange:(NSRange)range;
-- (void)resliceFromNotification: (NSNotification*)notification;
-- (void)changeWLWW:(NSNotification*)note;
-- (void)_setThickSlabMode:(int)mode;
-- (void)refreshSubtractedViews;
-- (void)shiftSubtractionX:(int)deltaX y:(int)deltaY z:(int)deltaZ;
-- (IBAction)resetShift:(id)sender;
-- (void)resetShift;
-- (void)applyShiftX:(int)x y:(int)y toBuffer:(float*)buffer withWidth:(int)width height:(int)height;
-- (void)removeBonesAtX:(int)x y:(int)y z:(int)z;
-- (void)resampleBuffer:(float*)buffer withWidth:(int)width height:(int)height factor:(float)factor inNewBuffer:(float*)newBuffer;
-- (void)produceResultData:(NSMutableData**)volumeData pixList:(NSMutableArray*)pix;
-- (void)produceResultInMemory:(id)sender;
-- (void)produce3DResult:(id)sender;
-
-- (void)blendingPropagate:(LLDCMView*)sender;
-
-- (void)showParametersPanel:(id)sender;
-- (IBAction)setParameterValue:(id)sender;
-- (IBAction)resetParametersSliders:(id)sender;
-//- (IBAction)defaultValuesParametersSliders:(id)sender;
-//- (IBAction)saveParametersValuesAsDefault:(id)sender;
-//- (void)setInitialDefaultParametersValues;
-- (int)injectedMinValue;
-- (int)injectedMaxValue;
-- (int)notInjectedMinValue;
-- (int)notInjectedMaxValue;
-- (int)subtractionMinValue;
-- (int)subtractionMaxValue;
-- (void)setInjectedMinValue:(int)v;
-- (void)setInjectedMaxValue:(int)v;
-- (void)setNotInjectedMinValue:(int)v;
-- (void)setNotInjectedMaxValue:(int)v;
-- (void)setSubtractionMinValue:(int)v;
-- (void)setSubtractionMaxValue:(int)v;
-
-- (IBAction)toggleDisplayBones:(id)sender;
-- (IBAction)setBonesThreshold:(id)sender;
-
-- (IBAction)setDilatationRadius:(id)sender;
-- (IBAction)setClosingRadius:(id)sender;
-
-- (IBAction)setLowPassFilterSize:(id)sender;
-- (IBAction)applyConvolutionFilter:(id)sender;
-- (void)applyConvolutionWithName:(NSString*)name;
-- (void)buildConvolutionsMenu;
-
-- (void)initialDefaultSettings;
-- (void)addCurrentSettings:(id)sender;
-- (IBAction)cancelAddSettings:(id)sender;
-- (IBAction)saveSettings:(id)sender;
-- (void)saveSettingsAs:(NSString*)title;
-- (IBAction)removeCurrentSettings:(id)sender;
-- (void)removeSettingsWithTitle:(NSString*)title;
-- (NSDictionary*)settingsForTitle:(NSString*)title;
-- (void)applySettingsForTitle:(NSString*)title;
-- (IBAction)applySettings:(id)sender;
-- (void)buildSettingsMenu;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutOrthogonalReslice.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutOrthogonalReslice.h
deleted file mode 100644
index 99eed72..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutOrthogonalReslice.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "OrthogonalReslice.h"
-
-@interface LLScoutOrthogonalReslice : OrthogonalReslice {
-
-}
-
-@end
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutView.h
deleted file mode 100644
index 57b2041..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutView.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "OrthogonalMPRView.h"
-
-@interface LLScoutView : OrthogonalMPRView {
- int topLimit, bottomLimit;
- BOOL isFlipped, draggingTopLimit, draggingBottomLimit;
-}
-
-- (void)setTopLimit:(int)newLimit;
-- (void)setBottomLimit:(int)newLimit;
-- (void)setIsFlipped:(BOOL)boo;
-- (void)getOpenGLLimitPosition:(float*)positions;
-- (void)drawArrowButtonAtPosition:(float)position;
-- (NSRect)rectForArrowButtonAtIndex:(int)index;
-- (NSRect)rectForLimitAtIndex:(int)index;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutViewer.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutViewer.h
deleted file mode 100644
index 5a5b6d5..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLScoutViewer.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "OrthogonalMPRController.h"
-#import "ViewerController.h"
-
-@class LLMPRViewer;
-@class ViewerController;
-
-@interface LLScoutViewer : NSWindowController {
- IBOutlet OrthogonalMPRController *mprController;
- ViewerController *viewer, *blendingViewer;
- int topLimit, bottomLimit;
- LLMPRViewer *mprViewerTop, *mprVieweMiddle, *mprViewerBottom;
- NSArray *dcmPixList, *dcmFileList;
-}
-
-+ (BOOL)haveSamePixelSpacing:(NSArray*)pixA :(NSArray*)pixB;
-+ (BOOL)haveSameImagesCount:(NSArray*)pixA :(NSArray*)pixB;
-+ (BOOL)haveSameImagesLocations:(NSArray*)pixA :(NSArray*)pixB;
-+ (BOOL)verifyRequiredConditions:(NSArray*)pixA :(NSArray*)pixB;
-
-- (id) initWithPixList: (NSMutableArray*) pix :(NSArray*) files :(NSData*) vData :(ViewerController*) vC :(ViewerController*) bC;
-
-- (BOOL)is2DViewer;
-
-- (void)setTopLimit:(int)top bottomLimit:(int)bottom;
-- (void)displayMPR:(int)index;
-
-- (void)toggleDisplayResliceAxes;
-- (void)blendingPropagateOriginal:(OrthogonalMPRView*)sender;
-- (void)blendingPropagateX:(OrthogonalMPRView*)sender;
-- (void)blendingPropagateY:(OrthogonalMPRView*)sender;
-
-- (void)CloseViewerNotification:(NSNotification*)note;
-
-- (BOOL)isStackUpsideDown;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLSubtraction.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLSubtraction.h
deleted file mode 100644
index 7e4b324..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LLSubtraction.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "DCMPix.h"
-#import "DCMView.h"
-
-#import "Schedulable.h"
-#import "Scheduler.h"
-#import "StaticScheduler.h"
-
-@interface LLSubtraction : NSObject {
-
-}
-
-+ (void)subtractBuffer:(float*)bufferB to:(float*)bufferA withWidth:(long)width height:(long)height minValueA:(int)minA maxValueA:(int)maxA minValueB:(int)minB maxValueB:(int)maxB minValueSubtraction:(int)minS maxValueSubtraction:(int)maxS displayBones:(BOOL)displayBones bonesThreshold:(int)bonesThreshold;
-+ (void)subtractBuffer:(float*)bufferB to:(float*)bufferA withWidth:(long)width height:(long)height;
-+ (void)subtractDCMPix:(DCMPix*)pixB to:(DCMPix*)pixA minValueA:(int)minA maxValueA:(int)maxA minValueB:(int)minB maxValueB:(int)maxB minValueSubtraction:(int)minS maxValueSubtraction:(int)maxS displayBones:(BOOL)displayBones bonesThreshold:(int)bonesThreshold;
-+ (void)subtractDCMPix:(DCMPix*)pixB to:(DCMPix*)pixA;
-+ (void)subtractDCMView:(DCMView*)viewB to:(DCMView*)viewA;
-
-+ (void)removeSmallConnectedPartInBuffer:(float*)buffer withWidth:(long)width height:(long)height;
-+ (void)removeSmallConnectedPartDCMPix:(DCMPix*)pix;
-
-+ (void)erodeBuffer:(unsigned char*)buffer withWidth:(int)width height:(int)height structuringElementRadius:(int)structuringElementRadius;
-+ (void)dilateBuffer:(unsigned char*)buffer withWidth:(int)width height:(int)height structuringElementRadius:(int)structuringElementRadius;
-+ (void)erode:(float*)buffer withWidth:(long)width height:(long)height structuringElementRadius:(int)structuringElementRadius;
-+ (void)dilate:(float*)buffer withWidth:(long)width height:(long)height structuringElementRadius:(int)structuringElementRadius;
-+ (void)close:(float*)buffer withWidth:(long)width height:(long)height structuringElementRadius:(int)structuringElementRadius;
-
-+ (void)lowPassFilterOnBuffer:(float*)buffer withWidth:(int)width height:(int)height structuringElementSize:(int)structuringElementSize;
-+ (void)convolveBuffer:(float*)buffer withWidth:(int)width height:(int)height withKernel:(float*)kernel kernelSize:(int)kernelSize;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogArrayController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogArrayController.h
deleted file mode 100644
index a435b54..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogArrayController.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-/** \brief Array Controller for network logs */
-@interface LogArrayController : NSArrayController {
-
-}
-
-//- (void)save:(id)sender;
-- (IBAction)nothing:(id)sender;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogManager.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogManager.h
deleted file mode 100644
index 7fa15b6..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogManager.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-/** \brief Managed network logging */
-@interface LogManager : NSObject
-{
- NSTimer *_timer;
- NSMutableDictionary *_currentLogs;
-}
-
-+ (id) currentLogManager;
-- (void) checkLogs:(NSTimer *)timer;
-- (NSString *) logFolder;
-- (void) resetLogs;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogTableView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogTableView.h
deleted file mode 100644
index 88d14b4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogTableView.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-/** \brief TableView for Network logs */
-
-@interface LogTableView : NSTableView {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogWindowController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogWindowController.h
deleted file mode 100644
index 8bce83c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LogWindowController.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-/** \brief Window Controller for network logs */
-@interface LogWindowController : NSWindowController
-{
- IBOutlet NSArrayController *receive, *move, *send, *web;
-}
-
-- (NSManagedObjectContext*) managedObjectContext;
-- (IBAction) export:(id) sender;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeController.h
deleted file mode 100644
index fa656cd..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeController.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-#import "LoupeView.h"
-
-@interface LoupeController : NSWindowController {
- IBOutlet LoupeView *loupeView;
-}
-
-- (void)setTexture:(char*)texture withSize:(NSSize)textureSize bytesPerRow:(int)bytesPerRow rotation:(float)rotation;
-//- (void)setTexture:(char*)texture withSize:(NSSize)textureSize bytesPerRow:(int)bytesPerRow viewSize:(NSSize)viewSize;
-- (void)centerWindowOnMouse;
-- (void)setWindowCenter:(NSPoint)center;
-- (void)drawLoupeBorder:(BOOL)drawLoupeBorder;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeView.h
deleted file mode 100644
index 49381b1..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeView.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-#import "DCMView.h"
-
-#include
-#include
-#include
-
-@interface LoupeView : NSOpenGLView {
- NSImage *loupeImage, *loupeMaskImage;
-
- GLuint loupeTextureID, loupeTextureWidth, loupeTextureHeight;
- GLubyte *loupeTextureBuffer;
-
- GLuint loupeMaskTextureID, loupeMaskTextureWidth, loupeMaskTextureHeight;
- GLubyte *loupeMaskTextureBuffer;
-
- GLuint textureID, textureWidth, textureHeight;
- GLubyte *textureBuffer;
- float textureRotation;
-
- BOOL drawLoupeBorder;
-}
-
-@property BOOL drawLoupeBorder;
-
-- (void)makeTextureFromImage:(NSImage*)image forTexture:(GLuint*)texName buffer:(GLubyte*)buffer;
-- (void)setTexture:(char*)texture withSize:(NSSize)textureSize bytesPerRow:(int)bytesPerRow rotation:(float)rotation;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeWindow.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeWindow.h
deleted file mode 100644
index f03cfae..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/LoupeWindow.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import
-
-
-@interface LoupeWindow : NSWindow {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPR2DController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPR2DController.h
deleted file mode 100644
index 9dfaaa2..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPR2DController.h
+++ /dev/null
@@ -1,95 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import "DCMPix.h"
-#import "ColorTransferView.h"
-#import "ViewerController.h"
-#import "PreviewView.h"
-#import "Window3DController.h"
-
-
-@class MPR2DView;
-@class DICOMExport;
-
-/** \brief Window Controller for 2D MPR */
-@interface MPR2DController : Window3DController
-{
- IBOutlet NSWindow *quicktimeWindow;
- IBOutlet NSMatrix *quicktimeMode;
- IBOutlet NSMatrix *quicktimeRotation, *quicktimeRotationView;
- IBOutlet NSTextField *quicktimeFrames;
-
- IBOutlet NSSlider *slider;
- IBOutlet PreviewView *originalView;
- IBOutlet NSView *toolsView, *ThickSlabView;
- IBOutlet NSView *WLWWView, *axesView, *BlendingView, *movieView, *iPhotoView, *orientationView;
- IBOutlet MPR2DView *view;
- IBOutlet NSMatrix *orientationMatrix;
-
- NSToolbar *toolbar;
- NSMutableArray *pixList[ 100];
- NSArray *fileList;
- NSData *volumeData[ 100];
- short curMovieIndex, maxMovieIndex;
-
- IBOutlet NSTextField *blendingPercentage;
- IBOutlet NSSlider *blendingSlider;
- BOOL blending;
- ViewerController *blendingController, *viewerController;
-
- NSTimeInterval lastMovieTime;
- NSTimer *movieTimer;
-
- IBOutlet NSTextField *movieTextSlide;
- IBOutlet NSButton *moviePlayStop;
- IBOutlet NSSlider *movieRateSlider;
- IBOutlet NSSlider *moviePosSlider;
- IBOutlet NSMatrix *toolMatrix;
-
- DICOMExport *exportDCM;
-}
-
--(NSSlider*) slider;
--(void) setSliderValue:(int) i;
--(void) load3DState;
--(MPR2DView*) MPR2Dview;
--(id) initWithPix:(NSMutableArray*) pix :(NSArray*) files :(NSData*) volumeData :(ViewerController*) bC :(ViewerController*) vC;
-- (void) setupToolbar;
--(void) setDefaultTool:(id) sender;
-- (void)setCurrentTool:(int)tool;
-- (void) ApplyOpacityString:(NSString*) str;
--(ViewerController*) blendingController;
--(void) updateBlendingImage;
-- (void) blendingSlider:(id) sender;
--(void) ApplyCLUTString:(NSString*) str;
-- (void) setWLWW:(float) wl :(float) ww;
-- (void) MoviePlayStop:(id) sender;
-- (void) movieRateSliderAction:(id) sender;
-- (void) moviePosSliderAction:(id) sender;
--(void) addMoviePixList:(NSMutableArray*) pix :(NSData*) vData;
--(DCMView*) originalView;
-- (IBAction) updateImage:(id) sender;
--(IBAction) endQuicktime:(id) sender;
--(IBAction) export2iPhoto:(id) sender;
-- (ViewerController *)viewerController;
-- (void)applyWLWWForString:(NSString *)menuString;
-- (void)bringToFrontROI:(ROI*)roi;
-- (void)setMode:(long)mode toROIGroupWithID:(NSTimeInterval)groupID;
-- (IBAction) setOrientationTool:(id)sender;
-- (void) updateOrientationMatrix;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPR2DView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPR2DView.h
deleted file mode 100644
index e0a6ff4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPR2DView.h
+++ /dev/null
@@ -1,205 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import "DCMPix.h"
-#import "ViewerController.h"
-
-#ifdef __cplusplus
-#import "VTKView.h"
-#define id Id
-#include "vtkCommand.h"
-#include "vtkProperty.h"
-#include "vtkActor.h"
-#include "vtkPolyData.h"
-#include "vtkRenderer.h"
-#include "vtkRenderWindow.h"
-#include "vtkRenderWindowInteractor.h"
-#include "vtkVolume16Reader.h"
-#include "vtkPolyDataMapper.h"
-#include "vtkActor.h"
-#include "vtkOutlineFilter.h"
-#include "vtkImageReader.h"
-#include "vtkImageImport.h"
-#include "vtkCamera.h"
-#include "vtkStripper.h"
-#include "vtkLookupTable.h"
-#include "vtkImageDataGeometryFilter.h"
-#include "vtkProperty.h"
-#include "vtkPolyDataNormals.h"
-#include "vtkContourFilter.h"
-#include "vtkImageData.h"
-#include "vtkImageMapToColors.h"
-#include "vtkImageActor.h"
-#include "vtkLight.h"
-#include "vtkImplicitPlaneWidget.h"
-#include "vtkImagePlaneWidget.h"
-#include "vtkImageBlend.h"
-#include "vtkImageReslice.h"
-#include "vtkTransform.h"
-#include "vtkImageResample.h"
-#include "vtkTransformPolyDataFilter.h"
-#include "vtkSphereSource.h"
-#include "vtkPolyDataToImageStencil.h"
-#include "vtkLineWidget.h"
-#include "vtkActor2D.h"
-#include "vtkMapper2D.h"
-#include "vtkPicker.h"
-#include "vtkPointPicker.h"
-#include "vtkImageChangeInformation.h"
-#undef id
-#else
-typedef char* vtkTransform;
-typedef char* vtkImageActor;
-typedef char* vtkImageMapToColors;
-typedef char* vtkLookupTable;
-typedef char* vtkImageReslice;
-typedef char* vtkImageImport;
-typedef char* vtkRenderer;
-typedef char* vtkCamera;
-typedef char* vtkActor;
-typedef char* vtkPolyDataMapper;
-typedef char* vtkOutlineFilter;
-typedef char* vtkLineWidget;
-typedef char* vtkImageChangeInformation;
-#endif
-
-#import "ThickSlabController.h"
-
-#import "Schedulable.h"
-#import "Scheduler.h"
-#import "StaticScheduler.h"
-
-enum {
- fovMaxX = 0,
- fovMaxY,
- fovMaxZ};
-
-
-/** \brief View used to create MPR images */
-@interface MPR2DView : NSOpenGLView
-{
- float blendingAxis[ 3], blendingAngle, blendingAxis2[ 3], blendingAngle2;
- BOOL negVector;
- long orientationVector;
-
- vtkTransform *sliceTransform, *blendingSliceTransform, *perpendicularSliceTransform;
-
- NSMutableArray *pixList;
- NSArray *filesList, *filesListBlending;
- float *data, *dataFRGB;
- DCMPix *firstObject;
-
- float vectors[ 9];
- float blendingVectors[ 9];
-
- NSMutableArray *blendingPixList;
- DCMPix *blendingFirstObject;
- float *blendingData, blendingFactor;
- ViewerController *blendingController;
-
- ThickSlabController* thickSlabCtl;
-
- short currentTool;
- BOOL boneVisible, skinVisible;
-
- vtkImageImport *blendingReader;
- vtkImageActor *blendingSaggital, *blendingCoronal, *blendingAxial;
- vtkImageMapToColors *blendingAxialColors, *blendingCoronalColors, *blendingSaggitalColors;
- vtkLookupTable *blendingBwLut;
- float blendingSliceThickness;
- vtkImageReslice *slice;
-
- long FOV, FOVP;
- float sliceThickness;
- int extent[6];
- vtkImageReslice *rotate, *rotatePerpendicular, *blendingRotate;
-
- vtkImageImport *reader;
- vtkImageActor *saggital, *coronal, *axial;
- vtkImageMapToColors *axialColors, *coronalColors, *saggitalColors;
- vtkLookupTable *bwLut;
-
- vtkRenderer *aRenderer;
- vtkCamera *aCamera;
-
- vtkActor *outlineRect;
- vtkPolyDataMapper *mapOutline;
- vtkOutlineFilter *outlineData;
-
- vtkImageChangeInformation *changeImageInfo;
-
- vtkLineWidget *line;
- float slicePt[3];
-
- IBOutlet PreviewView *perpendicularView;
- IBOutlet PreviewView *finalView;
- IBOutlet PreviewView *finalViewBlending;
- NSMutableArray *perPixList, *finalPixList, *finalPixListBlending;
-
- BOOL firstTime, firstTimeBlending;
-
- long thickSlab;
- long thickSlabMode;
- float thickSlabGap;
-
- IBOutlet NSSlider *sliderThickSlab;
- IBOutlet NSTextField *textThickSlab;
- IBOutlet NSButton *activatedThickSlab;
- IBOutlet NSPopUpButton *thickSlabPopUp;
-
- IBOutlet NSPopUpButton *OpacityPopup;
-
- BOOL mouseUpMessagePending;
-
- float *imResult, *imResultBlending, *fullVolume, *fullVolumeBlending;
- long thickSlabCount;
-
- int fovMaxAxis;
-}
-
-- (IBAction) setThickSlabActivated: (id) sender;
--(unsigned char*) getRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp :(BOOL) screenCapture :(BOOL) force8bits;
--(void) adjustWLWW: (float) iwl :(float) iww :(NSString*) mode;
--(void) setCurrentTool:(short) i;
--(id)initWithFrame:(NSRect)frame;
--(short) setPixSource:(NSMutableArray*)pix :(NSArray*)files :(float*) volumeData;
--(void) setBlendingPixSource:(ViewerController*) vc;
--(void) dealloc;
--(void) setBlendingWLWW:(float) wl :(float) ww;
--(void) getWLWW:(float*) wl :(float*) ww;
--(void) setCLUT:( unsigned char*) r : (unsigned char*) g : (unsigned char*) b;
--(void) setBlendingCLUT:( unsigned char*) r : (unsigned char*) g : (unsigned char*) b;
--(void) setBlendingFactor:(float) f;
--(void) scrollWheelInt:(float) inc :(long) update;
--(IBAction) setThickSlab:(id) sender;
--(IBAction) setThickSlabMode:(id) sender;
--(IBAction) setThickSlabGap:(id) sender;
--(float) thickSlab;
--(void) movieChangeSource:(float*) volumeData;
--(void) movieBlendingChangeSource;
--(short) setPixSource:(NSMutableArray*)pix :(NSArray*)files :(float*) volumeData;
--(void) axView:(id) sender;
--(NSMutableDictionary*) get3DStateDictionary;
--(void) set3DStateDictionary:(NSDictionary*) dict;
--(NSImage*) nsimage:(BOOL) notused;
--(void) setOpacity:(NSArray*) array;
--(void) rotateOriginal :(float) angle;
--(void) rotatePerpendicular :(float) angle;
--(PreviewView*) finalView;
--(void) setOrientationVector:(long) x;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRController.h
deleted file mode 100644
index c8d175d..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRController.h
+++ /dev/null
@@ -1,147 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "OSIWindowController.h"
-#import "MPRDCMView.h"
-#import "VRController.h"
-#import "VRView.h"
-
-@class MPRDCMView;
-
-@interface MPRController : Window3DController
-{
- // To avoid the Cocoa bindings memory leak bug...
- IBOutlet NSObjectController *ob;
-
- // To be able to use Cocoa bindings with toolbar...
- IBOutlet NSView *tbLOD, *tbThickSlab, *tbWLWW, *tbTools, *tbShading, *tbMovie, *tbBlending, *tbSyncZoomLevel;
-
- NSToolbar *toolbar;
-
- IBOutlet NSMatrix *toolsMatrix;
- IBOutlet NSPopUpButton *popupRoi;
-
- IBOutlet MPRDCMView *mprView1, *mprView2, *mprView3;
- IBOutlet NSSplitView *horizontalSplit, *verticalSplit;
-
- // Blending
- DCMView *blendedMprView1, *blendedMprView2, *blendedMprView3;
- float blendingPercentage;
- int blendingMode;
- BOOL blendingModeAvailable;
- NSString *startingOpacityMenu;
-
- NSMutableArray *undoQueue, *redoQueue;
-
- ViewerController *viewer2D, *fusedViewer2D;
- VRController *hiddenVRController;
- VRView *hiddenVRView;
-
- NSMutableArray *filesList[ MAX4D], *pixList[ MAX4D];
- DCMPix *originalPix;
- NSData *volumeData[ MAX4D];
- BOOL avoidReentry;
-
- // 4D Data support
- NSTimeInterval lastMovieTime;
- NSTimer *movieTimer;
- int curMovieIndex, maxMovieIndex;
- float movieRate;
- IBOutlet NSSlider *moviePosSlider;
-
- Point3D *mousePosition;
- int mouseViewID;
-
- BOOL displayMousePosition;
-
- // Export Dcm & Quicktime
- IBOutlet NSWindow *dcmWindow;
- IBOutlet NSWindow *quicktimeWindow;
- IBOutlet NSView *dcmSeriesView;
- int dcmFrom, dcmTo, dcmMode, dcmSeriesMode, dcmRotation, dcmRotationDirection, dcmNumberOfFrames, dcmQuality, dcmBatchNumberOfFrames, dcmFormat;
- float dcmInterval, previousDcmInterval;
- BOOL dcmSameIntervalAndThickness, dcmBatchReverse;
- NSString *dcmSeriesName;
- MPRDCMView *curExportView;
- BOOL quicktimeExportMode;
- NSMutableArray *qtFileArray;
-
- int dcmmN;
-
- // Clipping Range
- float clippingRangeThickness;
- int clippingRangeMode;
-
- NSArray *wlwwMenuItems;
-
- float LOD;
- BOOL lowLOD;
-
- IBOutlet NSPanel *shadingPanel;
- IBOutlet ShadingArrayController *shadingsPresetsController;
- BOOL shadingEditable;
- IBOutlet NSButton *shadingCheck;
- IBOutlet NSTextField *shadingValues;
-
- IBOutlet NSView *tbAxisColors;
- NSColor *colorAxis1, *colorAxis2, *colorAxis3;
-
- BOOL windowWillClose;
-}
-
-@property float clippingRangeThickness, dcmInterval, blendingPercentage;
-@property int dcmmN, clippingRangeMode, mouseViewID, dcmFrom, dcmTo, dcmMode, dcmSeriesMode, dcmRotation, dcmRotationDirection, dcmNumberOfFrames, dcmQuality, dcmBatchNumberOfFrames;
-@property int dcmFormat, curMovieIndex, maxMovieIndex, blendingMode;
-@property (retain) Point3D *mousePosition;
-@property (retain) NSArray *wlwwMenuItems;
-@property (retain) NSString *dcmSeriesName;
-@property (readonly) DCMPix *originalPix;
-@property float LOD, movieRate;
-@property BOOL lowLOD, dcmSameIntervalAndThickness, displayMousePosition, blendingModeAvailable, dcmBatchReverse;
-@property (retain) NSColor *colorAxis1, *colorAxis2, *colorAxis3;
-@property (readonly) MPRDCMView *mprView1, *mprView2, *mprView3;
-@property (readonly) NSSplitView *horizontalSplit, *verticalSplit;
-
-+ (double) angleBetweenVector:(float*) a andPlane:(float*) orientation;
-
-- (id)initWithDCMPixList:(NSMutableArray*)pix filesList:(NSMutableArray*)files volumeData:(NSData*)volume viewerController:(ViewerController*)viewer fusedViewerController:(ViewerController*)fusedViewer;
-- (DCMPix*) emptyPix: (DCMPix*) originalPix width: (long) w height: (long) h;
-- (MPRDCMView*) selectedView;
-- (void) computeCrossReferenceLines:(MPRDCMView*) sender;
-- (IBAction)setTool:(id)sender;
-- (void) setToolIndex: (int) toolIndex;
-- (float) getClippingRangeThicknessInMm;
-- (void) propagateWLWW:(MPRDCMView*) sender;
-- (void)bringToFrontROI:(ROI*) roi;
-- (id) prepareObjectForUndo:(NSString*) string;
-- (void)createWLWWMenuItems;
-- (void)UpdateWLWWMenu:(NSNotification*)note;
-- (void)ApplyWLWW:(id)sender;
-- (void)applyWLWWForString:(NSString *)menuString;
-- (void) updateViewsAccordingToFrame:(id) sender;
-- (void)findShadingPreset:(id) sender;
-- (IBAction)editShadingValues:(id) sender;
-- (void) moviePlayStop:(id) sender;
-- (IBAction) endDCMExportSettings:(id) sender;
-- (void) addMoviePixList:(NSMutableArray*) pix :(NSData*) vData;
-- (void)updateToolbarItems;
-- (void)toogleAxisVisibility:(id) sender;
-- (BOOL) getMovieDataAvailable;
-- (void)Apply3DOpacityString:(NSString*)str;
-- (void)Apply2DOpacityString:(NSString*)str;
-- (NSImage*) imageForROI: (int) i;
-- (void) setROIToolTag:(int) roitype;
-- (IBAction) roiGetInfo:(id) sender;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRDCMView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRDCMView.h
deleted file mode 100644
index 54f6a47..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRDCMView.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-#import "DCMView.h"
-#import "VRController.h"
-#import "MPRController.h"
-
-@interface MPRDCMView : DCMView
-{
- int viewID;
- VRView *vrView;
- DCMPix *pix;
- Camera *camera;
- MPRController *windowController;
- float angleMPR;
- BOOL dontUseAutoLOD;
-
- float crossLinesA[2][3];
- float crossLinesB[2][3];
-
- int viewExport;
- float fromIntervalExport, toIntervalExport;
- float LOD, previousResolution, previousPixelSpacing, previousOrientation[ 9], previousOrigin[ 3];
-
- BOOL rotateLines;
- BOOL moveCenter;
- BOOL displayCrossLines;
- BOOL lastRenderingWasMoveCenter;
-
- float rotateLinesStartAngle;
-
- BOOL dontReenterCrossReferenceLines;
-
- BOOL dontCheckRoiChange;
-}
-
-@property (readonly) DCMPix *pix;
-@property (retain) Camera *camera;
-@property float angleMPR, fromIntervalExport, toIntervalExport, LOD;
-@property int viewExport;
-@property BOOL displayCrossLines, dontUseAutoLOD;
-@property (readonly) VRView *vrView;
-@property (readonly) BOOL rotateLines, moveCenter;
-
-- (BOOL)is2DTool:(short)tool;
-- (void) setDCMPixList:(NSMutableArray*)pix filesList:(NSArray*)files roiList:(NSMutableArray*)rois firstImage:(short)firstImage type:(char)type reset:(BOOL)reset;
-- (void) setVRView: (VRView*) v viewID:(int) i;
-- (void) updateViewMPR;
-- (void) updateViewMPR:(BOOL) computeCrossReferenceLines;
-- (void) setCrossReferenceLines: (float[2][3]) a and: (float[2][3]) b;
-- (void) saveCamera;
-- (void) restoreCamera;
-- (void) restoreCameraAndCheckForFrame: (BOOL) v;
-- (void) updateMousePosition: (NSEvent*) theEvent;
-- (void) detect2DPointInThisSlice;
-- (void) magicTrick;
-- (void) removeROI: (NSNotification*) note;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRFinalView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRFinalView.h
deleted file mode 100644
index afdcf51..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRFinalView.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "MPRPreviewView.h"
-
-/** \brief Does nothing */
-@interface MPRFinalView : NSObject {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRPerpendicularView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRPerpendicularView.h
deleted file mode 100644
index 9c0e604..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRPerpendicularView.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-// This view manages the perpendicular view in the MPR window
-
-#import
-#import "MPRPreviewView.h"
-
-/** \brief Does nothing */
-
-@interface MPRPerpendicularView : MPRPreviewView {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRPreviewView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRPreviewView.h
deleted file mode 100644
index b93fbfe..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MPRPreviewView.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "PreviewView.h"
-
-/** \brief Initial MPR view */
-@interface MPRPreviewView : PreviewView {
-
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MSRGSegmentation.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MSRGSegmentation.h
deleted file mode 100644
index 7074f09..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MSRGSegmentation.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*=========================================================================
-Program: OsiriX
-
-Copyright (c) OsiriX Team
-All rights reserved.
-Distributed under GNU - GPL
-
-See http://www.osirix-viewer.com/copyright.html for details.
-
-This software is distributed WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-=========================================================================*/
-
-
-
-#import
-
-#ifdef __cplusplus
-#import "ITK.h"
-#else
-@class ITK;
-#endif
-
-@class ViewerController;
-
-@interface MSRGSegmentation : NSObject {
- NSMutableArray* criteriaViewerList;
- ViewerController* markerViewer;
- unsigned char* markerBuffer;
- int sizeMarker[3];
- int numberOfCriteria;
- int width,height,depth;
- // bounding parameters
- BOOL isBounding;
- NSRect boundingRegion;
- BOOL isGrow3D;
- int boundingZstart;
- int boundingZEnd;
-}
-- (id) initWithViewerList:(NSMutableArray*)list currentViewer:(ViewerController*)srcViewer boundingBoxOn:(BOOL)boundOn GrowIn3D:(BOOL)growing3D boundingRect:(NSRect)rectBounding boundingBeginZ:(int)bZstart boundingEndZ:(int)bEndZ;
-- (id) start3DMSRGSegmentationWithOneCriterion;
-- (id) startMSRGSegmentation;
-- (BOOL) build2DMarkerBuffer;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Mailer.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Mailer.h
deleted file mode 100644
index 8f3f65f..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Mailer.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-// Import Carbon.h, and add an ivar to your class's .h:
-// You could roll this into the Mail class as presented above
-
-#import
-/** \brief Sends email */
-@interface Mailer : NSObject {
-
-ComponentInstance myComponent;
-}
-
-- (void)runScript:(NSString *)txt;
-- (BOOL)sendMail:(NSString *)richBody to:(NSString *)to subject:(NSString *)subject isMIME:(BOOL)isMIME name:(NSString *)client sendNow:(BOOL)sendWithoutUserReview image:(NSString*) imagePath;
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MenuDictionary.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MenuDictionary.h
deleted file mode 100644
index 774fde3..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MenuDictionary.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-//#import "NSMenu.h"
-
-
-/** \brief MenuDictionary category used to modify contextual menus */
-@interface NSMenu (MenuDictionary)
-- (NSMenu*)initWithTitle:(NSString *)aTitle withDictionary:(NSDictionary *)aDictionary forWindowController:(NSWindowController *)aWindowController;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MoveManager.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MoveManager.h
deleted file mode 100644
index 7826b5c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MoveManager.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-/** \brief move manager */
-@interface MoveManager : NSObject {
- NSMutableSet *_set;
-}
-
-+ (id)sharedManager;
-- (void)addMove:(id)move;
-- (void)removeMove:(id)move;
-- (BOOL)containsMove:(id)move;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MutableArrayCategory.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MutableArrayCategory.h
deleted file mode 100644
index 0863900..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MutableArrayCategory.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-/** \brief Category to shuffle arrays */
-@interface NSArray (ArrayCategory)
-
-- (NSArray*)shuffledArray;
-
-@end
-
-/** \brief Category to shuffle mutableArrays */
-@interface NSMutableArray (MutableArrayCategory)
-
-//appends array to self except when the object is already in the array as determined by isEqual:
-- (void)mergeWithArray:(NSArray*)array;
-- (BOOL)containsString:(NSString *)string;
-- (void) removeDuplicatedStrings;
-- (void) removeDuplicatedStringsInSyncWithThisArray: (NSMutableArray*) otherArray;
-- (void) removeDuplicatedObjects;
-
-//randomizes the array
-- (void)shuffle;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyNSTextView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyNSTextView.h
deleted file mode 100644
index 275ac1f..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyNSTextView.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-
-@interface MyNSTextView : NSTextView {
-//
-}
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyOutlineView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyOutlineView.h
deleted file mode 100644
index 1692a0f..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyOutlineView.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-//
-=========================================================================*/
-
-
-
-#import
-/** \brief OutlineView for BrowserController */
-@interface MyOutlineView : NSOutlineView
-{
- NSArray *allColumns;
-}
-
-- (void)removeAllColumns;
-- (NSTableColumn *)initialColumnWithIdentifier:(id)identifier;
-- (BOOL)isColumnWithIdentifierVisible:(id)identifier;
-- (void)setColumnWithIdentifier:(id)identifier visible:(BOOL)visible;
-- (void)setInitialState;
-- (void)restoreColumnState:(NSObject *)columnState;
-- (NSObject < NSCoding > *)columnState;
-- (NSArray*) allColumns;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyPoint.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyPoint.h
deleted file mode 100644
index c2f4311..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/MyPoint.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-
-/** \brief Wrapper for NSPoint */
-
-@interface MyPoint : NSObject {
- NSPoint pt;
-}
-
-@property(assign) NSPoint point;
-@property(readonly) float x, y;
-
-+ (MyPoint*)point:(NSPoint)a;
-- (id)initWithPoint:(NSPoint)a;
-
-- (void)setPoint:(NSPoint)a;
-- (void)move:(float)x :(float)y;
-
-- (BOOL)isEqualToPoint:(NSPoint)a;
-- (BOOL)isNearToPoint:(NSPoint)a :(float)scale :(float)ratio;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Alignment.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Alignment.h
deleted file mode 100644
index 4a61965..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Alignment.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-typedef uint8_t N2Alignment;
-
-extern const N2Alignment N2Top;
-extern const N2Alignment N2Bottom;
-extern const N2Alignment N2Left;
-extern const N2Alignment N2Right;
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Button.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Button.h
deleted file mode 100644
index 02e3278..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Button.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface N2Button : NSButton {
- id _representedObject;
-}
-
-@property(retain) id representedObject;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ButtonCell.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ButtonCell.h
deleted file mode 100644
index d30a7dd..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ButtonCell.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface N2ButtonCell : NSButtonCell {
- NSString* _keyEq;
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2CellDescriptor.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2CellDescriptor.h
deleted file mode 100644
index bd13807..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2CellDescriptor.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "N2MinMax.h"
-#import "N2Alignment.h"
-
-@interface N2CellDescriptor : NSObject {
- NSView* _view;
- N2Alignment _alignment;
- N2MinMax _widthConstraints;
- CGFloat _invasivity;
-// NSUInteger _rowSpan;
- NSUInteger _colSpan;
- BOOL _filled;
-}
-
-@property(retain) NSView* view;
-@property N2Alignment alignment;
-@property N2MinMax widthConstraints;
-//@property NSUInteger rowSpan;
-@property NSUInteger colSpan;
-@property CGFloat invasivity;
-@property BOOL filled;
-
-+(N2CellDescriptor*)descriptor;
-+(N2CellDescriptor*)descriptorWithView:(NSView*)view;
-+(N2CellDescriptor*)descriptorWithWidthConstraints:(const N2MinMax&)widthConstraints;
-+(N2CellDescriptor*)descriptorWithWidthConstraints:(const N2MinMax&)widthConstraints alignment:(N2Alignment)alignment;
-
--(N2CellDescriptor*)view:(NSView*)view;
--(N2CellDescriptor*)alignment:(N2Alignment)alignment;
--(N2CellDescriptor*)widthConstraints:(const N2MinMax&)widthConstraints;
-//-(N2CellDescriptor*)rowSpan:(NSUInteger)rowSpan;
--(N2CellDescriptor*)colSpan:(NSUInteger)colSpan;
--(N2CellDescriptor*)invasivity:(CGFloat)invasivity;
--(N2CellDescriptor*)filled:(BOOL)filled;
-
--(NSSize)optimalSize;
--(NSSize)optimalSizeForWidth:(CGFloat)width;
--(NSRect)sizeAdjust;
-
-#pragma mark Deprecated
--(N2CellDescriptor*)initWithWidthConstraints:(const N2MinMax&)widthConstraints alignment:(N2Alignment)alignment DEPRECATED_ATTRIBUTE;
-
-@end
-
-@interface N2ColumnDescriptor : N2CellDescriptor
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ColorWell.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ColorWell.h
deleted file mode 100644
index 409849e..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ColorWell.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
- =========================================================================*/
-
-#import "N2Button.h"
-
-
-@interface N2ColorWell : N2Button {
- NSColor* _color;
-}
-
-@property(retain) NSColor* color;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ColumnLayout.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ColumnLayout.h
deleted file mode 100644
index 6363830..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ColumnLayout.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import "N2Layout.h"
-
-
-@interface N2ColumnLayout : N2Layout {
- NSArray* _columnDescriptors;
- NSMutableArray* _rows;
-}
-
--(id)initForView:(N2View*)view columnDescriptors:(NSArray*)columnDescriptors controlSize:(NSControlSize)controlSize;
-
--(NSArray*)rowAtIndex:(NSUInteger)index;
--(NSUInteger)appendRow:(NSArray*)row;
--(void)insertRow:(NSArray*)row atIndex:(NSUInteger)index;
--(void)removeRowAtIndex:(NSUInteger)index;
--(void)removeAllRows;
-
-#pragma mark Deprecated
-
--(NSArray*)lineAtIndex:(NSUInteger)index DEPRECATED_ATTRIBUTE;
--(NSUInteger)appendLine:(NSArray*)line DEPRECATED_ATTRIBUTE;
--(void)insertLine:(NSArray*)line atIndex:(NSUInteger)index DEPRECATED_ATTRIBUTE;
--(void)removeLineAtIndex:(NSUInteger)index DEPRECATED_ATTRIBUTE;
--(void)removeAllLines DEPRECATED_ATTRIBUTE;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Connection.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Connection.h
deleted file mode 100644
index 0bcf138..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Connection.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-extern const NSString* N2ConnectionStatusDidChangeNotification;
-
-enum N2ConnectionStatus {
- N2ConnectionStatusClosed = 0,
- N2ConnectionStatusConnecting,
- N2ConnectionStatusOpening,
- N2ConnectionStatusOk
-};
-
-@interface N2Connection : NSObject {
- NSString* _address;
- NSInteger _port;
- NSInputStream* _inputStream;
- NSOutputStream* _outputStream;
- NSMutableData *_inputBuffer, *_outputBuffer;
- NSTimer* _lifecycle;
- BOOL _hasBytesAvailable, _hasSpaceAvailable, _handleConnectionClose;
- NSUInteger _handleOpenCompleted;
- N2ConnectionStatus _status;
-}
-
-@property(readonly) NSString* address;
-@property N2ConnectionStatus status;
-
--(id)initWithAddress:(NSString*)address port:(NSInteger)port;
--(id)initWithAddress:(NSString*)address port:(NSInteger)port is:(NSInputStream*)is os:(NSOutputStream*)os;
-
--(void)open;
--(void)reconnect;
--(void)close;
--(void)invalidate;
-
--(void)reconnectToAddress:(NSString*)address port:(NSInteger)port;
-
--(void)lifecycle;
--(void)writeData:(NSData*)data;
--(void)handleData:(NSMutableData*)data;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ConnectionListener.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ConnectionListener.h
deleted file mode 100644
index c534fc8..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2ConnectionListener.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-const extern NSString* N2ConnectionListenerOpenedConnectionNotification;
-const extern NSString* N2ConnectionListenerOpenedConnection;
-
-@class N2Connection;
-
-@interface N2ConnectionListener : NSObject {
- Class _class;
- CFSocketRef ipv4socket;
- CFSocketRef ipv6socket;
- NSMutableArray* _clients;
-}
-
--(id)initWithPort:(NSInteger)port connectionClass:(Class)classs;
--(id)initWithPath:(NSString*)path connectionClass:(Class)classs;
--(N2Connection*)handleNewConnectionFromAddress:(NSData*)addr inputStream:(NSInputStream*)istr outputStream:(NSOutputStream*)ostr;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Debug.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Debug.h
deleted file mode 100644
index f76a029..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Debug.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-@interface N2Debug : NSObject {
-}
-
-+(BOOL)isActive;
-+(void)setActive:(BOOL)active;
-
-@end
-
-
-#ifdef DEBUG
-#define DLog NSLog
-#else
-#define DLog(args...) { if ([N2Debug isActive]) NSLog(args); }
-#endif
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2DisclosureBox.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2DisclosureBox.h
deleted file mode 100644
index 5bb4d01..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2DisclosureBox.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-@class N2DisclosureButtonCell;
-
-extern NSString* N2DisclosureBoxDidToggleNotification;
-extern NSString* N2DisclosureBoxWillExpandNotification;
-extern NSString* N2DisclosureBoxDidExpandNotification;
-extern NSString* N2DisclosureBoxWillCollapseNotification;
-extern NSString* N2DisclosureBoxDidCollapseNotification;
-
-@interface N2DisclosureBox : NSBox {
- BOOL _showingExpanded;
- IBOutlet NSView* _content;
- CGFloat _contentHeight;
-}
-
-@property BOOL enabled;
-@property(readonly) N2DisclosureButtonCell* titleCell;
-
--(id)initWithTitle:(NSString*)title content:(NSView*)view;
--(void)toggle:(id)sender;
--(void)expand:(id)sender;
--(void)collapse:(id)sender;
--(BOOL)isExpanded;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2DisclosureButtonCell.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2DisclosureButtonCell.h
deleted file mode 100644
index e3dcccf..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2DisclosureButtonCell.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-@interface N2DisclosureButtonCell : NSButtonCell {
- NSMutableDictionary* _attributes;
-}
-
-@property(readonly) NSMutableDictionary* attributes;
-
--(NSSize)textSize;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Exceptions.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Exceptions.h
deleted file mode 100644
index 26161fb..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Exceptions.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-extern NSString* N2VirtualMethodException;
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Layout.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Layout.h
deleted file mode 100644
index b7de8df..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Layout.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-#import "NSView+N2.h"
-
-@class N2View;
-
-@interface N2Layout : NSObject {
- N2View* _view;
- NSControlSize _controlSize;
- BOOL _forcesSuperviewHeight, _forcesSuperviewWidth;
-// private:
- NSRect _margin;
- NSSize _separation;
- BOOL _layingOut, _enabled;
-}
-
-@property(readonly) N2View* view;
-@property NSControlSize controlSize;
-@property BOOL forcesSuperviewHeight;
-@property BOOL forcesSuperviewWidth;
-@property NSRect margin;
-@property NSSize separation;
-@property BOOL enabled;
-
--(id)initWithView:(N2View*)view controlSize:(NSControlSize)size;
--(void)layOut;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2MinMax.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2MinMax.h
deleted file mode 100644
index ce1d89b..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2MinMax.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-extern const CGFloat N2NoMin, N2NoMax;
-
-typedef struct N2MinMax {
- CGFloat min, max;
-} N2MinMax;
-
-N2MinMax N2MakeMinMax(CGFloat min, CGFloat max);
-N2MinMax N2MakeMinMax(CGFloat val);
-N2MinMax N2MakeMinMax();
-N2MinMax N2MakeMin(CGFloat min);
-N2MinMax N2MakeMax(CGFloat max);
-CGFloat N2MinMaxConstrainedValue(const N2MinMax& mm, CGFloat val);
-void N2ExtendMinMax(N2MinMax& n2minmax, CGFloat value);
-N2MinMax N2ComposeMinMax(const N2MinMax& mm1, const N2MinMax& mm2);
-N2MinMax operator+(const N2MinMax& mm1, const N2MinMax& mm2);
-N2MinMax operator+(const N2MinMax& mm, const CGFloat& f);
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Operators.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Operators.h
deleted file mode 100644
index 4ec0a55..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Operators.h
+++ /dev/null
@@ -1,128 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-extern NSString* N2LinesDontInterceptException;
-
-CGFloat NSSign(const CGFloat f);
-CGFloat NSLimit(const CGFloat v, const CGFloat min, const CGFloat max);
-
-#pragma mark NSSize
-
-namespace n2 {
- NSSize floor(const NSSize& s);
- NSSize ceil(const NSSize& s);
- NSSize round(const NSSize& s);
-}
-
-NSSize NSRoundSize(NSSize s) DEPRECATED_ATTRIBUTE;
-
-NSSize NSMakeSize(CGFloat wh);
-NSSize operator-(const NSSize& s); // -[x,y] = [-x,-y]
-NSSize operator+(const NSSize& s1, const NSSize& s2); // [x,y]+[X,Y] = [x+X,y+Y]
-NSSize operator+=(NSSize& s1, const NSSize& s2);
-NSSize operator-(const NSSize& s1, const NSSize& s2); // [x,y]-[X,Y] = -[X,Y]+[x,y] = [x-X,y-Y]
-NSSize operator-=(NSSize& s1, const NSSize& s2);
-NSSize operator*(const NSSize& s1, const NSSize& s2);
-NSSize operator*=(NSSize& s1, const NSSize& s2);
-NSSize operator/(const NSSize& s1, const NSSize& s2);
-NSSize operator/=(NSSize& s1, const NSSize& s2);
-BOOL operator==(const NSSize& s1, const NSSize& s2);
-BOOL operator!=(const NSSize& s1, const NSSize& s2);
-
-NSSize operator+(const NSSize& s, const CGFloat f);
-NSSize operator+=(NSSize& s, const CGFloat f);
-NSSize operator-(const NSSize& s, const CGFloat f);
-NSSize operator-=(NSSize& s, const CGFloat f);
-NSSize operator*(const CGFloat f, const NSSize& s); // [x,y]*d = [x*d,y*d]
-NSSize operator/(const CGFloat f, const NSSize& s);
-NSSize operator*(const NSSize& s, const CGFloat f);
-NSSize operator*=(NSSize& s, const CGFloat f);
-NSSize operator/(const NSSize& s, const CGFloat f);
-NSSize operator/=(NSSize& s, const CGFloat f);
-
-NSPoint operator-(const NSPoint& p); // -[x,y] = [-x,-y]
-NSPoint operator+(const NSPoint& p1, const NSPoint& p2); // [x,y]+[X,Y] = [x+X,y+Y]
-NSPoint operator+=(NSPoint& p1, const NSPoint& p2);
-NSPoint operator-(const NSPoint& p1, const NSPoint& p2); // [x,y]-[X,Y] = -[X,Y]+[x,y] = [x-X,y-Y]
-NSPoint operator-=(NSPoint& p1, const NSPoint& p2);
-NSPoint operator*(const NSPoint& p1, const NSPoint& p2);
-NSPoint operator*=(NSPoint& p1, const NSPoint& p2);
-NSPoint operator/(const NSPoint& p1, const NSPoint& p2);
-NSPoint operator/=(NSPoint& p1, const NSPoint& p2);
-BOOL operator==(const NSPoint& p1, const NSPoint& p2);
-BOOL operator!=(const NSPoint& p1, const NSPoint& p2);
-
-NSPoint operator+(const NSPoint& p, const CGFloat f);
-NSPoint operator+=(NSPoint& p, const CGFloat f);
-NSPoint operator-(const NSPoint& p, const CGFloat f);
-NSPoint operator-=(NSPoint& p, const CGFloat f);
-NSPoint operator*(const CGFloat f, const NSPoint& p);
-NSPoint operator/(const CGFloat f, const NSPoint& p);
-NSPoint operator*(const NSPoint& p, const CGFloat f); // [x,y]*d = [x*d,y*d]
-NSPoint operator*=(NSPoint& p, const CGFloat f);
-NSPoint operator/(const NSPoint& p, const CGFloat f); // [x,y]/d = [x/d,y/d]
-NSPoint operator/=(NSPoint& p, const CGFloat f);
-
-NSPoint NSMakePoint(const NSSize& s);
-NSSize operator+(const NSSize& s, const NSPoint& p);
-NSSize operator+=(NSSize& s, const NSPoint& p);
-NSPoint operator+(const NSPoint& p, const NSSize& s);
-NSPoint operator+=(NSPoint& p, const NSSize& s);
-NSSize operator-(const NSSize& s, const NSPoint& p);
-NSPoint operator-(const NSPoint& p, const NSSize& s);
-NSSize operator*(const NSSize& s, const NSPoint& p);
-NSPoint operator*(const NSPoint& p, const NSSize& s);
-NSSize operator/(const NSSize& s, const NSPoint& p);
-NSPoint operator/(const NSPoint& p, const NSSize& s);
-
-CGFloat NSDistance(const NSPoint& p1, const NSPoint& p2);
-CGFloat NSAngle(const NSPoint& p1, const NSPoint& p2);
-NSPoint NSMiddle(const NSPoint& p1, const NSPoint& p2);
-
-typedef struct _NSVector : NSPoint {
-} NSVector;
-
-NSVector NSMakeVector(CGFloat x, CGFloat y);
-NSVector NSMakeVector(const NSPoint& from, const NSPoint& to);
-NSVector NSMakeVector(const NSPoint& p);
-NSPoint NSMakePoint(const NSVector& p);
-
-NSVector operator!(const NSVector& v);
-
-CGFloat NSLength(const NSVector& v);
-CGFloat NSAngle(const NSVector& v);
-
-typedef struct _NSLine {
- NSPoint origin;
- NSVector direction;
-} NSLine;
-
-NSLine NSMakeLine(const NSPoint& origin, const NSVector& direction);
-NSLine NSMakeLine(const NSPoint& p1, const NSPoint& p2);
-
-CGFloat NSAngle(const NSLine& l);
-BOOL NSParallel(const NSLine& l1, const NSLine& l2);
-CGFloat NSLineInterceptionValue(const NSLine& l1, const NSLine& l2);
-NSPoint NSLineAtValue(const NSLine& l, CGFloat u);
-NSPoint operator*(const NSLine& l1, const NSLine& l2); // intersection of lines
-CGFloat NSLineYAtX(const NSLine& l1, CGFloat x);
-
-NSRect NSMakeRect(const NSPoint& o, const NSSize& s);
-NSRect NSInsetRect(const NSRect& r, const NSSize& s);
-NSRect operator+(const NSRect& r, const NSSize& s);
-NSRect operator-(const NSRect& r, const NSSize& s);
-BOOL operator==(const NSRect& r1, const NSRect& r2);
-BOOL operator!=(const NSRect& r1, const NSRect& r2);
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Pair.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Pair.h
deleted file mode 100644
index 9e4eea8..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Pair.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-@interface N2Pair : NSObject {
- id _first, _second;
-}
-
-@property(retain) id first, second;
-
--(id)initWith:(id)first and:(id)second;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Panel.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Panel.h
deleted file mode 100644
index e414069..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Panel.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-@class N2View;
-
-@interface N2Panel : NSPanel {
- BOOL _canBecomeKeyWindow;
-}
-
-@property BOOL canBecomeKeyWindow;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2PopUpButton.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2PopUpButton.h
deleted file mode 100644
index bc88a95..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2PopUpButton.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface N2PopUpButton : NSPopUpButton
-
-
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Resizer.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Resizer.h
deleted file mode 100644
index 2307370..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Resizer.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface N2Resizer : NSObject {
- NSView* _observed;
- NSView* _affected;
- BOOL _resizing;
-}
-
-@property(retain) NSView* observed;
-@property(retain) NSView* affected;
-
--(id)initByObservingView:(NSView*)observed affecting:(NSView*)affected;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Shell.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Shell.h
deleted file mode 100644
index 690635a..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Shell.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface N2Shell : NSObject
-
-+(NSString*)execute:(NSString*)path;
-+(NSString*)execute:(NSString*)path arguments:(NSArray*)arguments;
-+(NSString*)execute:(NSString*)path arguments:(NSArray*)arguments expectedStatus:(int)expectedStatus;
-+(NSString*)hostname;
-+(NSString*)mac;
-+(int)userId;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2SingletonObject.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2SingletonObject.h
deleted file mode 100644
index 753fa88..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2SingletonObject.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-@interface N2SingletonObject : NSObject {
- @protected
- BOOL _hasInited;
-}
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Step.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Step.h
deleted file mode 100644
index db0566e..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Step.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-extern NSString* N2StepDidBecomeActiveNotification;
-extern NSString* N2StepDidBecomeInactiveNotification;
-extern NSString* N2StepDidBecomeEnabledNotification;
-extern NSString* N2StepDidBecomeDisabledNotification;
-extern NSString* N2StepTitleDidChangeNotification;
-
-@interface N2Step : NSObject {
- NSString* _title;
- NSView* _enclosedView;
- BOOL _necessary, _active, _enabled, _done, _shouldStayVisibleWhenInactive;
-}
-
-@property(retain) NSString* title;
-@property(readonly) NSView* enclosedView;
-@property(getter=isNecessary) BOOL necessary;
-@property(getter=isActive) BOOL active;
-@property(getter=isEnabled) BOOL enabled;
-@property(getter=isDone) BOOL done;
-@property BOOL shouldStayVisibleWhenInactive;
-
--(id)initWithTitle:(NSString*)title enclosedView:(NSView*)view;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2StepView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2StepView.h
deleted file mode 100644
index 31ff39c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2StepView.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-@class N2Step;
-
-@interface N2StepView : N2DisclosureBox {
- N2Step* _step;
-}
-
-@property(readonly) N2Step* step;
-
--(id)initWithStep:(N2Step*)step;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Steps.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Steps.h
deleted file mode 100644
index 5713239..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Steps.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-@class N2Step; //, N2StepsView;
-
-extern NSString* N2StepsDidAddStepNotification;
-extern NSString* N2StepsWillRemoveStepNotification;
-extern NSString* N2StepsNotificationStep;
-
-@interface N2Steps : NSArrayController {
-// IBOutlet N2StepsView* _view;
- N2Step* _currentStep;
- IBOutlet id _delegate;
-}
-
-@property(retain) id delegate;
-@property(assign) N2Step* currentStep;
-// @property(readonly) N2StepsView* view;
-
--(void)enableDisableSteps;
-
--(BOOL)hasNextStep;
--(BOOL)hasPreviousStep;
-
--(IBAction)nextStep:(id)sender;
--(IBAction)previousStep:(id)sender;
--(IBAction)skipStep:(id)sender;
--(IBAction)stepValueChanged:(id)sender;
--(IBAction)reset:(id)sender;
-
--(void)setCurrentStep:(N2Step*)step;
-
-@end
-
-@interface NSObject (N2StepsDelegate)
-
--(void)steps:(N2Steps*)steps willBeginStep:(N2Step*)step;
--(void)steps:(N2Steps*)steps valueChanged:(id)sender;
--(BOOL)steps:(N2Steps*)steps shouldValidateStep:(N2Step*)step;
--(void)steps:(N2Steps*)steps validateStep:(N2Step*)step;
-
-@end
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2StepsView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2StepsView.h
deleted file mode 100644
index 70e39fe..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2StepsView.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import "N2View.h"
-@class N2Steps, N2Step, N2StepView, N2ColumnLayout;
-
-@interface N2StepsView : N2View {
- IBOutlet N2Steps* _steps;
-}
-
--(void)stepsDidAddStep:(NSNotification*)notification;
--(N2StepView*)stepViewForStep:(N2Step*)step;
--(void)layOut;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2UserDefaults.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2UserDefaults.h
deleted file mode 100644
index 64ed92c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2UserDefaults.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface N2UserDefaults : NSObject {
- NSMutableDictionary* _dictionary;
- NSString* _identifier;
- BOOL _autosave, _needsAutosave;
-}
-
-@property(readonly, retain) NSString* identifier;
-@property BOOL autosave;
-
-+(N2UserDefaults*)defaultsForObject:(id)o;
-+(N2UserDefaults*)defaultsForClass:(Class)c;
-+(N2UserDefaults*)defaultsForIdentifier:(NSString*)identifier;
-
--(id)initWithIdentifier:(NSString*)identifier;
-
--(id)objectForKey:(NSString*)key;
--(BOOL)hasObjectForKey:(NSString*)key;
--(void)setObject:(id)obj forKey:(NSString*)key;
-
--(id)unarchiveObjectForKey:(NSString*)key default:(id)def class:(Class)c;
--(void)archiveAndSetObject:(id)value forKey:(NSString*)key;
-
--(NSInteger)integerForKey:(NSString*)key default:(NSInteger)def;
--(void)setInteger:(NSInteger)value forKey:(NSString*)key;
-
--(float)floatForKey:(NSString*)key default:(float)def;
--(void)setFloat:(float)value forKey:(NSString*)key;
-
--(double)doubleForKey:(NSString*)key default:(double)def;
--(void)setDouble:(double)value forKey:(NSString*)key;
-
--(BOOL)boolForKey:(NSString*)key default:(BOOL)def;
--(void)setBool:(BOOL)value forKey:(NSString*)key;
-
--(NSColor*)colorForKey:(NSString*)key default:(NSColor*)def;
--(void)setColor:(NSColor*)value forKey:(NSString*)key;
-
--(NSRect)rectForKey:(NSString*)key default:(NSRect)def;
--(void)setRect:(NSRect)value forKey:(NSString*)key;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2View.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2View.h
deleted file mode 100644
index d4a01f9..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2View.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-#import
-
-@class N2Layout;
-
-extern NSString* N2ViewBoundsSizeDidChangeNotification;
-extern NSString* N2ViewBoundsSizeDidChangeNotificationOldBoundsSize;
-
-@interface N2View : NSView {
- NSControlSize _controlSize;
- NSSize _minSize, _maxSize;
- N2Layout* _layout;
- NSColor* _foreColor;
- NSColor* _backColor;
-}
-
-@property NSControlSize controlSize;
-@property NSSize minSize, maxSize;
-@property(retain) N2Layout* layout;
-@property(retain) NSColor* foreColor;
-@property(retain) NSColor* backColor;
-
--(void)formatSubview:(NSView*)view;
--(void)resizeSubviews;
-
-@end
-
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Window.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Window.h
deleted file mode 100644
index 9a79e36..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2Window.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-@class N2View;
-
-@interface NSWindow (N2)
-
--(NSSize)contentSizeForFrameSize:(NSSize)frameSize;
--(NSSize)frameSizeForContentSize:(NSSize)contentSize;
-
-@end
-
-@interface N2Window : NSWindow
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2XMLRPC.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2XMLRPC.h
deleted file mode 100644
index 7c3e49f..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2XMLRPC.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface N2XMLRPC : NSObject {
-}
-
-+(NSObject*)ParseElement:(NSXMLNode*)n;
-+(NSString*)FormatElement:(NSObject*)o;
-+(NSString*)ReturnElement:(NSInvocation*)invocation;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2XMLRPCConnection.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2XMLRPCConnection.h
deleted file mode 100644
index 1b7ade4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/N2XMLRPCConnection.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "N2Connection.h"
-
-@interface N2XMLRPCConnection : N2Connection {
- id _delegate;
- BOOL _executed, _waitingToClose;
- NSTimer* _timeout;
-}
-
-@property(retain) id delegate;
-
--(void)handleRequest:(CFHTTPMessageRef)request;
--(void)writeAndReleaseResponse:(CFHTTPMessageRef)response;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NS(Attributed)String+Geometrics.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NS(Attributed)String+Geometrics.h
deleted file mode 100644
index 1208bf9..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NS(Attributed)String+Geometrics.h
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
-
- * SUMMARY
-
- The methods in these @interfaces are typically used to dynamically size
- an NSTextView or NSTextField to fit their strings. They return the
- ^used^ size, width or height of the given string/attributes, constrained
- by the maximum dimensions passed in the 'width' and 'height' arguments.
-
- * RENDERING IN NSTextView VS. NSTextField
-
- Text rendered in a multiline line-wrapped NSTextField leaves much more
- space between lines than text rendered in an NSTextView. The total points
- per line is typically 10-20% higher.
-
- Because most apps use NSTextView to render multiline text, using a
- line-wrapped NSTextField looks funny, and obviously it wastes useful
- screen area. But there are more subtle disadavantages if you wish to
- estimate the size of the rendered text, typically done in
- order to size the view.
-
- First of all, you cannot get a perfect estimate of the height.
- Although using the proper typesetterBehavior in the NSLayoutManager
- providing the estimate fixes the severe 10-20% underestimation which
- you'd get from using the default NSTypesetterLatestBehavior,
- it still usually gives results that are a little inaccurate.
- The error depends on the font and the size.
- For Arial and Helvetica, the calculated height is usually underestimated
- by the measure of one glyph descender; i.e. the measurement extends
- only to the baseline of the last line.
- For Lucida Grande smaller-sized fonts (9-10 pt), and for most sizes of
- Goudy Old Style, the calculated height is overestimated, by about one line.
- For Stencil, the calculated height is accurate.
- For Zapfino, the calculated height is usually underrestimated by 1-3 pixels.
- These are the only fonts that I looked at the results for.
-
- Finally, although the typesetterBehavior seems to be, at this time,
- equal to NSTypesetterBehavior_10_2_WithCompatibility, I suppose that
- this could change in the future. This will change the vertical
- size of the rendered text.
-
- For these reasons, using a wrapped NSTextField to render multiline text is
- therefore discouraged in favor of using an NSTextView.
-
- * THE GLOBAL VARIABLE gNSStringGeometricsTypesetterBehavior
-
- The estimate of line spacing is controlled by the NSTypesetterBehavior
- setting in NSLayoutManager used in these methods. Therefore, you must
- specify the NSTypsetterBehavior you desire when using one of these methods
- to get a measurement.
-
- Rather than providing a 'typsetterBehavior' argument in each of the methods in
- this category, which would make them really messy just to support a
- discouraged usage, a global variable, gNSStringGeometricsTypesetterBehavior, is
- initialized with the value NSTypesetterLatestBehavior. This value is
- appropriate to estimating height of text to be rendered in an NSTextView.
- This is also the default behavior in NSLayoutManager.
-
- Therefore, if you want to get measurements for text to be rendered in an
- NSTextView, these methods will "just work".
-
- Also, if you want to get the dimensions for text which will render in a
- single line, even in NSTextField, these methods will "just work".
-
- However, if you want to get dimensions of a string as rendered in the
- discouraged NSTextField with line wrapping, set the global variable
- gNSStringGeometricsTypesetterBehavior to
- NSTypesetterBehavior_10_2_WithCompatibility before invoking these methods.
- Invoking any of these methods will automatically set it back to the
- default value of NSTypesetterLatestBehavior.
-
- * ARGUMENTS width and height
-
- In the sizeFor... methods, pass either a width or height which is known to
- be larger than the width or height that is required. Usually, one of these
- should be the "unlimited" value of FLT_MAX.
- If text will be drawn on one line, you may pass FLT_MAX for width.
-
- * ARGUMENT attributes, NSAttributedString attributes
-
- The dictionary 'attributes', or for NSAttributedString (Geometrics), the
- attributes of the receiver, must contain at least one key:
- NSFontAttributeName, with value an NSFont object.
- Other keys in 'attributes' are ignored.
-
- * DEGENERATE ARGUMENT CASES
-
- If the receiver has 0 -length, all of these methods will return 0.0.
- If 'font' argument is nil, will log error to console and return 0.0 x 0.0.
-
- It is sometimes useful to know that, according to Douglas Davidson,
- http://www.cocoabuilder.com/archive/message/cocoa/2002/2/13/66379,
- "The default font for text that has no font attribute set is 12-pt Helvetica."
- Can't find any official documentation on this, but it seems to be still
- true today, as of Mac OS 10.5.2, for NSTextView. For NSTextField, however,
- the default font is 12-pt Lucida Grande.
-
- If you pass a nil 'font' argument, these methods will log an error and
- return 0.0. But if you pass an NSAttributedString with no font attribute
- for a run, these methods will calculate assuming 12-pt regular Helvetica.
-
- * INTERNAL DESIGN
-
- -[NSAttributedString sizeForWidth:height] is the primitive workhorse method.
- All other methods in these @interfaces invoke this method under the hood.
- Basically, it stuffs your string into an NSTextContainer, stuffs this into
- an NSLayout Manager, and then gets the answer by invoking
- -[NSLayoutManager usedRectForTextContainer:]. The idea is copied from here:
- http://developer.apple.com/documentation/Cocoa/Conceptual/TextLayout/Tasks/StringHeight.html
-
- * AUTHOR
-
- Please send bug reports or other comments to Jerry Krinock, jerry@ieee.org
- Updates may be available at http://sheepsystems.com/sourceCode
-
- * ACKNOWLEDGEMENTS
-
- Thanks very much to Steve Nygard for taking the project one night,
- recognizing the importance of the line fragment padding and hyphenation
- factor, and the idea of generalizing to support NSAttributedString.
-
- */
-
-#import
-
-extern int gNSStringGeometricsTypesetterBehavior ;
-
-@interface NSAttributedString (Geometrics)
-
-// Measuring Attributed Strings
-- (NSSize)sizeForWidth:(float)width
- height:(float)height ;
-- (float)heightForWidth:(float)width ;
-- (float)widthForHeight:(float)height ;
-
-@end
-
-@interface NSString (Geometrics)
-
-// Measuring a String With Attributes
-- (NSSize)sizeForWidth:(float)width
- height:(float)height
- attributes:(NSDictionary*)attributes ;
-- (float)heightForWidth:(float)width
- attributes:(NSDictionary*)attributes ;
-- (float)widthForHeight:(float)height
- attributes:(NSDictionary*)attributes ;
-
-// Measuring a String with a constant Font
-- (NSSize)sizeForWidth:(float)width
- height:(float)height
- font:(NSFont*)font ;
-- (float)heightForWidth:(float)width
- font:(NSFont*)font ;
-- (float)widthForHeight:(float)height
- font:(NSFont*)font ;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSAppleScript+HandlerCalls.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSAppleScript+HandlerCalls.h
deleted file mode 100644
index 2c2803f..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSAppleScript+HandlerCalls.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-
-NSAppleScript+HandlerCalls.h
-ASHandlerTest
-by Buzz Andersen
-
-More information at: http://www.scifihifi.com/weblog/mac/Cocoa-AppleEvent-Handlers.html
-
-This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit
-
-http://creativecommons.org/licenses/by/1.0/
-
-or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford,
-California 94305, USA.
-
-*/
-
-#import
-
-@interface NSAppleScript (HandlerCalls)
-
-- (NSAppleEventDescriptor *) callHandler: (NSString *) handler withArguments: (NSAppleEventDescriptor *) arguments errorInfo: (NSDictionary **) errorInfo;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSBitmapImageRep+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSBitmapImageRep+N2.h
deleted file mode 100644
index 6945924..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSBitmapImageRep+N2.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSBitmapImageRep (N2)
-
--(void)setColor:(NSColor*)color;
--(NSImage*)image;
--(NSBitmapImageRep*)repUsingColorSpaceName:(NSString*)colorSpaceName;
-
--(void)ATMask:(float)level DEPRECATED_ATTRIBUTE;
--(NSBitmapImageRep*)smoothen:(NSUInteger)margin;
-//-(NSBitmapImageRep*)convolveWithFilter:(const boost::numeric::ublas::matrix&)filter fillPixel:(NSUInteger[])fillPixel;
-//-(NSBitmapImageRep*)fftConvolveWithFilter:(const boost::numeric::ublas::matrix&)filter fillPixel:(NSUInteger[])fillPixel;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSButton+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSButton+N2.h
deleted file mode 100644
index 97e5ddf..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSButton+N2.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSButton (N2)
-
--(id)initWithOrigin:(NSPoint)origin title:(NSString*)title font:(NSFont*)font;
-
--(NSSize)optimalSizeForWidth:(CGFloat)width;
--(NSSize)optimalSize;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSColor+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSColor+N2.h
deleted file mode 100644
index 941213a..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSColor+N2.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSColor (N2)
-
--(BOOL)isEqualToColor:(NSColor*)color;
--(BOOL)isEqualToColor:(NSColor*)color alphaThreshold:(CGFloat)alphaThreshold;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSData+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSData+N2.h
deleted file mode 100644
index f9c1df4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSData+N2.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSData (N2)
-
-+(NSData*)dataWithHex:(NSString*)hex;
--(NSData*)initWithHex:(NSString*)hex;
-+(NSData*)dataWithBase64:(NSString*)base64;
--(NSData*)initWithBase64:(NSString*)base64;
--(NSString*)base64;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSDictionary+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSDictionary+N2.h
deleted file mode 100644
index 66ea4c7..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSDictionary+N2.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSDictionary (N2)
-
--(id)objectForKey:(id)k ofClass:(Class)cl;
--(id)keyForObject:(id)obj;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSFullScreenWindow.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSFullScreenWindow.h
deleted file mode 100644
index 548c1a9..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSFullScreenWindow.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import
-
-
-/** \brief Full Screen Window */
-@interface NSFullScreenWindow : NSWindow {
-
-}
-- (BOOL)canBecomeKeyWindow;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSImage+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSImage+N2.h
deleted file mode 100644
index 9c2d089..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSImage+N2.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-//#include
-
-@interface NSImage (N2)
-
--(void)flipImageHorizontally;
--(NSRect)boundingBoxSkippingColor:(NSColor*)color inRect:(NSRect)box;
--(NSRect)boundingBoxSkippingColor:(NSColor*)color;
-
-@end
-
-@interface N2Image : NSImage {
- NSRect _portion;
- NSSize _inchSize;
-}
-
-@property NSSize inchSize;
-@property NSRect portion;
-
--(id)initWithSize:(NSSize)size inches:(NSSize)inches;
--(id)initWithSize:(NSSize)size inches:(NSSize)inches portion:(NSRect)portion;
--(N2Image*)crop:(NSRect)rect;
--(NSPoint)convertPointFromPageInches:(NSPoint)p;
--(NSSize)originalInchSize;
--(float)resolution;
-
-@end
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSImageView+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSImageView+N2.h
deleted file mode 100644
index edd9f83..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSImageView+N2.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSImageView (N2)
-
-+(NSImageView*)createWithImage:(NSImage*)image;
-
-@end
-
-@interface N2ImageView : NSImageView
-
-@end
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSInvocation+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSInvocation+N2.h
deleted file mode 100644
index 384ca85..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSInvocation+N2.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-@interface NSInvocation (N2)
-
-+(NSInvocation*)invocationWithSelector:(SEL)sel target:(id)target argument:(id)arg;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSMutableDictionary+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSMutableDictionary+N2.h
deleted file mode 100644
index a7e7ce5..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSMutableDictionary+N2.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSMutableDictionary (N2)
-
--(void)removeObject:(id)obj;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSPanel+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSPanel+N2.h
deleted file mode 100644
index bbe9f6e..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSPanel+N2.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSPanel (N2)
-
-+(NSPanel*)alertWithTitle:(NSString*)title message:(NSString*)message defaultButton:(NSString*)defaultButton alternateButton:(NSString*)alternateButton icon:(NSImage*)icon;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSSplitViewSave.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSSplitViewSave.h
deleted file mode 100644
index 85635e4..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSSplitViewSave.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import
-#import
-
-/** \brief Category saves splitView state to User Defaults */
-@interface NSSplitView(Defaults)
-
-+ (void) saveSplitView;
-+ (void) loadSplitView;
-
-- (void) restoreDefault: (NSString *) defaultName;
-- (void) saveDefault: (NSString *) defaultName;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSString+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSString+N2.h
deleted file mode 100644
index 9091be7..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSString+N2.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSString (N2)
-
--(NSString*)markedString;
-
-+(NSString*)sizeString:(unsigned long long)size;
-+(NSString*)timeString:(NSTimeInterval)time;
-+(NSString*)dateString:(NSTimeInterval)date;
--(NSString*)stringByTrimmingStartAndEnd;
-
--(NSString*)urlEncodedString;
--(NSString*)xmlEscapedString;
--(NSString*)xmlUnescapedString;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSTextView+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSTextView+N2.h
deleted file mode 100644
index f844cb7..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSTextView+N2.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSTextView (N2)
-
-+(NSTextView*)labelWithText:(NSString*)string;
-+(NSTextView*)labelWithText:(NSString*)string alignment:(NSTextAlignment)alignment;
-
--(NSSize)adaptToContent;
--(NSSize)adaptToContent:(CGFloat)maxWidth;
-
--(NSSize)optimalSizeForWidth:(CGFloat)width;
--(NSSize)optimalSize;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSURL+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSURL+N2.h
deleted file mode 100644
index 5ff8fa5..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSURL+N2.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface N2URLParts : NSObject {
- NSString *_protocol, *_address, *_port, *_path, *_params;
-}
-
-@property(retain) NSString *protocol, *address, *port, *path, *params;
-@property(readonly) NSString* pathAndParams;
-
-@end
-
-
-@interface NSURL (N2)
-
--(N2URLParts*)parts;
-+(NSURL*)URLWithParts:(N2URLParts*)parts;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSView+N2.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSView+N2.h
deleted file mode 100644
index 9cde501..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NSView+N2.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-
-@interface NSView (N2)
-
-// Shortcut to [NSView initWithFrame:NSMakeRect(NSZeroPoint, size)]
--(id)initWithSize:(NSSize)size;
--(NSRect)sizeAdjust;
-
-@end
-
-@protocol OptimalSize
-
--(NSSize)optimalSize;
--(NSSize)optimalSizeForWidth:(CGFloat)width;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NavigatorView.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NavigatorView.h
deleted file mode 100644
index 4ce5784..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NavigatorView.h
+++ /dev/null
@@ -1,200 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "DCMView.h"
-#import "ViewerController.h"
-
-typedef enum
-{
- zoom = tZoom,
- translate = tTranslate,
- wlww = tWL,
- rotate = tRotate,
- idle = -1
-} MouseEventType;
-
-@interface NavigatorView : NSOpenGLView
-{
- NSMutableArray *thumbnailsTextureArray;
- int thumbnailWidth, thumbnailHeight;
- float sizeFactor;
-
- NSPoint mouseDownPosition, mouseDraggedPosition, mouseMovedPosition;
- MouseEventType userAction;
- NSPoint offset, translation;
- float rotationAngle, zoomFactor;
-
- int dontListenToNotification;
- float wl, ww, startWL, startWW;
- NSMutableArray *isTextureWLWWUpdated;
-
- BOOL drawLeftLateralScrollBar, drawRightLateralScrollBar;
- NSTimer *scrollTimer;
-
- NSTrackingArea *cursorTracking;
-
- int previousImageIndex, previousMovieIndex;
- ViewerController *previousViewer;
-
- BOOL mouseDragged, mouseClickedWithCommandKey;
-
- NSMutableDictionary *savedTransformDict;
-}
-
-@property(readonly) int thumbnailWidth, thumbnailHeight;
-
-+ (NSRect) rect;
-+ (NSRect) adjustIfScreenAreaIf4DNavigator: (NSRect) frame;
-
-- (int) minimumWindowHeight;
-
-/** Set the data set the Navigator is linked to.*/
-- (void)setViewer;
-
-/** Stops listening to notifications.*/
-- (void) removeNotificationObserver;
-
-/** Start listening to notifications.*/
-- (void) addNotificationObserver;
-
-/** Initializes the texture array.*/
-- (void)initTextureArray;
-
-/** Generates a texture (OpenGL) for an image.
-* @param z number of the slice.
-* @param t number of the movie frame (for 4D data set).
-* @param i index of the texture in the texture array.
-*/
-- (GLuint)generateTextureForSlice:(int)z movieIndex:(int)t arrayIndex:(int)i;
-
-/** Computes the size of the images in the Navigator.*/
-- (void)computeThumbnailSize;
-
-/** Converts a mouse location (from NSEvent) to an OpenGL Viewport location.
-* @param pointInWindow the mouse location (from locationInWindow of NSEvent).
-*/
-- (NSPoint)convertPointFromWindowToOpenGL:(NSPoint)pointInWindow;
-
-/** Computes the translation when the user click and drag the mouse
-* @param start starting position of the mouse
-* @param stop end position of the mouse
-*/
-- (void)translationFrom:(NSPoint)start to:(NSPoint)stop;
-
-/** Computes the rotation when the user click and drag the mouse
-* @param start starting position of the mouse
-* @param stop end position of the mouse
-*/
-- (void)rotateFrom:(NSPoint)start to:(NSPoint)stop;
-
-/** Computes the rotation of a point around another
-* @param pt the point to rotate
-* @param c the center of the rotation
-* @param a the angle of the rotation
-*/
-- (NSPoint)rotatePoint:(NSPoint)pt aroundPoint:(NSPoint)c angle:(float)a;
-
-/** Computes the zoom when the user click and drag the mouse
-* @param start starting position of the mouse
-* @param stop end position of the mouse
-*/
-- (void)zoomFrom:(NSPoint)start to:(NSPoint)stop;
-
-/** Computes the 'zoom' of a point according to a specific origin
-* @param pt the point to 'zoom'
-* @param c the fixed point of the zoom
-* @param f the zoom factor
-*/
-- (NSPoint)zoomPoint:(NSPoint)pt withCenter:(NSPoint)c factor:(float)f;
-
-/** This method is called when the 2D viewer update its WLWW (when the user changes the WLWW on the 2D viewer)*/
-- (void)changeWLWW:(NSNotification*)notif;
-
-/** Computes the WL and WW when the user click and drag the mouse
-* @param start starting position of the mouse
-* @param stop end position of the mouse
-*/
-- (void)wlwwFrom:(NSPoint)start to:(NSPoint)stop;
-
-/** Determines if the mouse is on the left lateral scroll bar.
-* The NavigatorView contains 2 lateral scroll bars: one on each sides of the view (left and right).
-* They consist of a dark semi-opaque rectangle with a white arrow.
-* They are use to scroll the view.
-* @param mousePos position of the mouse
-*/
-- (BOOL)isMouseOnLeftLateralScrollBar:(NSPoint)mousePos;
-
-/** Determines if the mouse is on the right lateral scroll bar.
-* The NavigatorView contains 2 lateral scroll bars: one on each sides of the view (left and right).
-* They consist of a dark semi-opaque rectangle with a white arrow.
-* They are use to scroll the view.
-* @param mousePos position of the mouse
-*/
-- (BOOL)isMouseOnRightLateralScrollBar:(NSPoint)mousePos;
-
-/** Determines if the the view can be horizontally scrolled of a certain amout.
-* @param amount the amount (in pixel) to test.
-*/
-- (BOOL)canScrollHorizontallyOfAmount:(float)amount;
-
-/** Scroll the view horizontally of a certain amout.
-* @param amount the amount (in pixel). A negative value will scroll left and a positive value will scroll right.
-*/
-- (void)scrollHorizontallyOfAmount:(float)amount;
-
-/** Scroll the view horizontally of 1 image to the left.*/
-- (void)scrollLeft;
-
-/** Determines if the the view can be horizontally scrolled of 1 image to the left.*/
-- (BOOL)cansScrollLeft;
-
-/** Scroll the view horizontally of 1 image to the right.*/
-- (void)scrollRight;
-
-/** Determines if the the view can be horizontally scrolled of 1 image to the right.*/
-- (BOOL)cansScrollRight;
-
-/** Keep scrolling when the mouse is pressed.*/
-- (void)scrollLeft:(NSTimer*)theTimer;
-
-/** Keep scrolling when the mouse is pressed.*/
-- (void)scrollRight:(NSTimer*)theTimer;
-
-/** Updates the view so that the selected image (with the red frame) is visible.*/
-- (void)displaySelectedImage;
-
-/** Determines if the the view needs a horizontal scroller (returns NO if all the images can be displayed on screen).*/
-- (BOOL)needsHorizontalScroller;
-
-/** Returns the 2D viewer that is currently linked with the Navigator.*/
-- (ViewerController*)viewer;
-
-/** Only in 4D. Returns all the 4D viewers that are linked to the same data set.*/
-- (NSArray*)associatedViewers;
-
-/** Clicking in a view of the Navigator will display the selected image in the 2D viewer.
-* Holding the command key pressed while clicking will open a new viewer.*/
-- (void)displaySelectedViewInNewWindow:(BOOL)newWindow;
-
-/** Opens a new viewer.
-* @param z number of the slice.
-* @param t number of the movie frame (for 4D data set).
-*/
-- (void)openNewViewerAtSlice:(int)z movieFrame:(int)t;
-
-- (void)saveTransformForCurrentViewer;
-- (void)loadTransformForCurrentViewer;
-
-@end
\ No newline at end of file
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NavigatorWindowController.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NavigatorWindowController.h
deleted file mode 100644
index 3849ae9..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NavigatorWindowController.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-#import "NavigatorView.h"
-@class ViewerController;
-@class DCMView;
-
-/** \brief Window Controller for the Navigator. The Navigator provides a unrolled view of the selected series (in 3D and in 4D).*/
-@interface NavigatorWindowController : NSWindowController
-{
- ViewerController *viewerController;
- IBOutlet NavigatorView *navigatorView;
- BOOL dontReEnter;
-}
-
-/** Returns the Navigator Window Controller (which is a unique object).*/
-+ (NavigatorWindowController*) navigatorWindowController;
-- (void) adjustWindowPosition;
-- (id)initWithViewer:(ViewerController*)viewer;
-- (void)setViewer:(ViewerController*)viewer;
-- (void)initView;
-/** Computes minSize and maxSize of its window.*/
-- (void)computeMinAndMaxSize;
-- (void)setWindowLevel:(NSNotification*)notification;
-
-@property(readonly) NavigatorView *navigatorView;
-@property(readonly) ViewerController *viewerController;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NetworkMoveDataHandler.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NetworkMoveDataHandler.h
deleted file mode 100644
index de5d85e..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/NetworkMoveDataHandler.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - GPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-#import
-#import
-
-/** \brief No longer in use */
-@interface NetworkMoveDataHandler : DCMCMoveResponseDataHandler {
- id logEntry;
-}
-
-+ (id)moveDataHandler;
-
-@end
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Notifications.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Notifications.h
deleted file mode 100644
index 648178d..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/Notifications.h
+++ /dev/null
@@ -1,94 +0,0 @@
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-#import
-
-extern NSString* const OsirixUpdateWLWWMenuNotification;
-extern NSString* const OsirixChangeWLWWNotification;
-extern NSString* const OsirixROIChangeNotification;
-extern NSString* const OsirixCloseViewerNotification;
-extern NSString* const OsirixUpdate2dCLUTMenuNotification;
-extern NSString* const OsirixUpdate2dWLWWMenuNotification;
-extern NSString* const OsirixLLMPRResliceNotification;
-extern NSString* const OsirixROIVolumePropertiesChangedNotification;
-extern NSString* const OsirixVRViewDidBecomeFirstResponderNotification;
-extern NSString* const OsirixUpdateVolumeDataNotification;
-extern NSString* const OsirixRevertSeriesNotification;
-extern NSString* const OsirixOpacityChangedNotification;
-extern NSString* const OsirixDefaultToolModifiedNotification;
-extern NSString* const OsirixDefaultRightToolModifiedNotification;
-extern NSString* const OsirixUpdateConvolutionMenuNotification;
-extern NSString* const OsirixCLUTChangedNotification;
-extern NSString* const OsirixUpdateCLUTMenuNotification;
-extern NSString* const OsirixUpdateOpacityMenuNotification;
-extern NSString* const OsirixRecomputeROINotification;
-extern NSString* const OsirixStopPlayingNotification;
-extern NSString* const OsirixChatBroadcastNotification;
-extern NSString* const OsirixSyncSeriesNotification;
-extern NSString* const OsirixReportModeChangedNotification;
-extern NSString* const OsirixDeletedReportNotification;
-extern NSString* const OsirixServerArrayChangedNotification;
-extern NSString* const OsirixGLFontChangeNotification;
-extern NSString* const OsirixAddToDBNotification;
-extern const NSString* const OsirixAddToDBNotificationImagesArray;
-extern NSString* const OsirixAddToDBCompleteNotification;
-extern const NSString* const OsirixAddToDBCompleteNotificationImagesArray;
-extern NSString* const OsirixNewStudySelectedNotification;
-extern NSString* const OsirixDidLoadNewObjectNotification;
-extern NSString* const OsirixRTStructNotification;
-extern NSString* const OsirixAlternateButtonPressedNotification;
-extern NSString* const OsirixROISelectedNotification;
-extern NSString* const OsirixRemoveROINotification;
-extern NSString* const OsirixROIRemovedFromArrayNotification;
-extern NSString* const OsirixChangeFocalPointNotification;
-extern NSString* const OsirixWindow3dCloseNotification;
-extern NSString* const OsirixDisplay3dPointNotification;
-extern NSString* const OsirixPluginDownloadInstallDidFinishNotification;
-extern NSString* const OsirixXMLRPCMessageNotification;
-extern NSString* const OsirixDragMatrixImageMovedNotification;
-extern NSString* const OsirixNotification;
-extern NSString* const OsiriXFileReceivedNotification;
-extern NSString* const OsirixDCMSendStatusNotification;
-extern NSString* const OsirixDCMUpdateCurrentImageNotification;
-extern NSString* const OsirixDCMViewIndexChangedNotification;
-extern NSString* const OsirixRightMouseUpNotification;
-extern NSString* const OsirixMouseDownNotification;
-extern NSString* const OsirixVRCameraDidChangeNotification;
-extern NSString* const OsirixSyncNotification;
-extern NSString* const OsirixAddROINotification;
-extern NSString* const OsirixRightMouseDownNotification;
-extern NSString* const OsirixRightMouseDraggedNotification;
-extern NSString* const OsirixLabelGLFontChangeNotification;
-extern NSString* const OsirixDrawTextInfoNotification;
-extern NSString* const OsirixDrawObjectsNotification;
-extern NSString* const OsirixDCMViewDidBecomeFirstResponderNotification;
-extern NSString* const OsirixPerformDragOperationNotification;
-extern NSString* const OsirixViewerWillChangeNotification;
-extern NSString* const OsirixViewerDidChangeNotification;
-extern NSString* const OsirixUpdateViewNotification;
-extern NSString* const KFSplitViewDidCollapseSubviewNotification;
-extern NSString* const KFSplitViewDidExpandSubviewNotification;
-extern NSString* const BLAuthenticatedNotification;
-extern NSString* const BLDeauthenticatedNotification;
-
-/**
- * OsirixPopulatedContextualMenuNotification
- * object: NSMenu*
- * userInfo:
- * - key [ViewerController className]
- * the ViewerController the rightclick occurred in
- * - key [ROI className], optional
- * the rightclicked ROI
- **/
-extern NSString* const OsirixPopulatedContextualMenuNotification;
diff --git a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/OSIVoxel.h b/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/OSIVoxel.h
deleted file mode 100644
index 4325e1c..0000000
--- a/CardiacStatistics/OsiriX Headers.framework/Versions/A/Headers/OSIVoxel.h
+++ /dev/null
@@ -1,82 +0,0 @@
-
-/*=========================================================================
- Program: OsiriX
-
- Copyright (c) OsiriX Team
- All rights reserved.
- Distributed under GNU - LGPL
-
- See http://www.osirix-viewer.com/copyright.html for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.
-=========================================================================*/
-
-
-
-
-#import