-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathUMMPPreset.h
62 lines (51 loc) · 1.54 KB
/
UMMPPreset.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//
// UMMPPresets.h
// UMMPerfusion
//
// Created by Sven Kaiser on 02.11.11.
// Copyright (c) 2012, Marcel Reich & Sven Kaiser & Markus Daab & Patrick Schülein & Engin Aslan
// All rights reserved.
//
#import <Foundation/Foundation.h>
@interface UMMPPreset : NSObject <NSCoding> {
NSString *name;
NSInteger presetTag;
NSMutableDictionary *algorithms;
}
@property (retain) NSString *name;
@property (readonly) NSInteger presetTag;
@property (readonly) NSMutableDictionary *algorithms;
- (NSMutableArray *)createCompartmentParameters;
- (NSMutableArray *)createExchangeParameters;
- (NSMutableArray *)createFiltrationParameters;
- (NSMutableArray *)createUptakeParameters;
- (NSMutableArray *)createToftsParameters;
- (NSMutableArray *)createDoubleInletUptakeParameters;
@end
@interface UMMPParameter : NSObject <NSCoding> {
@private
NSString *name;
NSString *toolTip;
double pValue;
BOOL fixed;
BOOL limitedHigh;
BOOL limitedLow;
double high;
double low;
}
@property (readonly) NSString *name;
@property (readonly) double pValue;
@property (readonly) BOOL fixed;
@property (readonly) BOOL limitedHigh;
@property (readonly) BOOL limitedLow;
@property (readonly) double high;
@property (readonly) double low;
- (id)initWithName:(NSString *)aName
andToolTip:(NSString *)aToolTip
andValue:(double)aValue
isFixed:(BOOL)isFixed
isLimitedHigh:(BOOL)isLimitedHigh
isLimitedLow:(BOOL)isLimitedLow
higherLimit:(double)higherLimit
lowerLimit:(double)lowerLimit;
@end