00001 #import <Cocoa/Cocoa.h> 00002 00003 #import "FlowGeometry.h" 00004 00010 @interface FlowTimestep : NSObject { 00011 00012 FlowGeometry* flowGeometryPointer; 00013 00014 float minimum; 00015 float maximum; 00016 00017 float* data; 00018 00019 } 00020 00021 + (FlowTimestep*) createWithDataset:(float*)rawdata flowGeometry:(FlowGeometry*)flowGeometry numChannels:(int)numChannels offset:(int)offset; 00022 - (id) initWithDataset:(float*)rawdata flowGeometry:(FlowGeometry*)flowGeometry numChannels:(int)numChannels offset:(int)offset; 00023 00024 - (void) normalize:(float)min max:(float)max; 00025 - (void) normalize:(float)max; 00026 00027 - (float) getMinimum; 00028 - (float) getMaximum; 00029 - (float) getRange; 00030 00031 - (float*) getData; 00032 00033 @end