-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/pixmeo/osirixplugins int…
…o develop
- Loading branch information
Showing
26 changed files
with
6,144 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>LprojCompatibleVersion</key> | ||
<string>220.2</string> | ||
<key>LprojLocale</key> | ||
<string>en</string> | ||
<key>LprojRevisionLevel</key> | ||
<string>1</string> | ||
<key>LprojVersion</key> | ||
<string>307</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>SandBox</string> | ||
<key>CFBundleIconFile</key> | ||
<string></string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>MenuTitles</key> | ||
<array> | ||
<string>SandBox</string> | ||
</array> | ||
<key>NSPrincipalClass</key> | ||
<string>SandBoxFilter</string> | ||
<key>pluginType</key> | ||
<string>Database</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/*========================================================================= | ||
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 <Cocoa/Cocoa.h> | ||
|
||
enum burnerDestination | ||
{ | ||
CDDVD = 0, | ||
USBKey = 1, | ||
DMGFile = 2 | ||
}; | ||
|
||
@class DRTrack; | ||
@class DicomDatabase; | ||
|
||
/** \brief Window Controller for DICOM disk burning */ | ||
@interface S_BurnerWindowController : NSWindowController <NSWindowDelegate> | ||
{ | ||
volatile BOOL burning; | ||
NSMutableArray *files, *anonymizedFiles, *dbObjectsID, *originalDbObjectsID; | ||
float burnSize; | ||
IBOutlet NSTextField *nameField; | ||
IBOutlet NSTextField *sizeField, *finalSizeField; | ||
IBOutlet NSMatrix *compressionMode; | ||
IBOutlet NSButton *burnButton; | ||
IBOutlet NSButton *anonymizedCheckButton; | ||
NSString *cdName; | ||
NSTimer *burnAnimationTimer; | ||
volatile BOOL runBurnAnimation, isExtracting, isSettingUpBurn, isThrobbing, windowWillClose; | ||
NSArray *filesToBurn; | ||
BOOL _multiplePatients; | ||
BOOL cancelled; | ||
NSString *writeDMGPath, *writeVolumePath; | ||
NSUInteger selectedUSB; | ||
NSArray *anonymizationTags; | ||
int sizeInMb; | ||
NSString *password; | ||
IBOutlet NSWindow *passwordWindow; | ||
|
||
BOOL buttonsDisabled; | ||
BOOL burnSuppFolder, burnOsiriX, burnHtml, burnWeasis; | ||
|
||
int burnAnimationIndex; | ||
int irisAnimationIndex; | ||
NSTimer *irisAnimationTimer; | ||
} | ||
|
||
@property BOOL buttonsDisabled; | ||
@property NSUInteger selectedUSB; | ||
@property (retain) NSString *password; | ||
|
||
- (NSArray*) volumes; | ||
- (IBAction) ok:(id)sender; | ||
- (IBAction) cancel:(id)sender; | ||
- (IBAction) setAnonymizedCheck: (id) sender; | ||
- (id) initWithFiles:(NSArray *)theFiles; | ||
- (id)initWithFiles:(NSArray *)theFiles managedObjects:(NSArray *)managedObjects; | ||
- (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) prepareCDContent: (NSMutableArray*) dbObjects :(NSMutableArray*) originalDbObjects; | ||
- (IBAction)estimateFolderSize:(id)object; | ||
- (void)performBurn:(id)object; | ||
- (void)irisAnimation:(NSTimer*)object; | ||
- (NSNumber*)getSizeOfDirectory:(NSString*)path; | ||
- (NSString*) defaultTitle; | ||
- (void)saveOnVolume; | ||
@end |
Oops, something went wrong.