00001 00005 #ifndef STREAMLINE_H 00006 #define STREAMLINE_H 00007 00008 #import <Cocoa/Cocoa.h> 00009 #import <vector> 00010 #import <list> 00011 #import "vec3.h" 00012 00013 @class StreamLineContainer; 00014 00015 using namespace std; 00016 00017 @interface StreamLine : NSObject { 00018 00019 vec3 startSample; 00020 00021 StreamLineContainer *grid; 00022 00023 vector<vec3> samples; 00024 list<vec3> potentialSeeds; 00025 } 00026 00030 @property (retain) StreamLineContainer *grid; 00031 00040 - (id)initWithGrid:(StreamLineContainer *)_grid startSample:(vec3 &)_startSample; 00041 00047 - (vec3 &)getStartSample; 00048 00056 - (BOOL)getNextSeed:(vec3 *)point; 00057 00066 - (BOOL)addSamplePoint:(vec3)point distance:(float &)distance; 00067 00071 - (void)final; 00072 00073 @end 00074 00075 #endif