StreamLineContainer.h

Go to the documentation of this file.
00001 
00005 #ifndef STREAMLINECONTAINER_H
00006 #define STREAMLINECONTAINER_H
00007 
00008 #import <Cocoa/Cocoa.h>
00009 #import "vec3.h"
00010 #import <vector>
00011 #import "StreamLine.h"
00012 
00013 using namespace std;
00014 
00015 @interface StreamLineContainer : NSObject {
00016         
00017         int dSep;
00018         float distance;
00019         float dTest;
00020         int maxSteps;
00021         float maxDistanceCheck;
00022         
00023         int cellsX;
00024         int cellsY;
00025         
00026         int dimX;
00027         int dimY;
00028         
00029         vector<vector<vec3>*> cells;
00030         vector<StreamLine*> streamLines;
00031 }
00032 
00044 - (id)initWithDimX:(int)_dimX dimY:(int)_dimY dsep:(int)_dSep maxSteps:(int)_maxSteps dist:(float)_dist;
00045 
00055 - (BOOL)checkDistanceFromPoint:(vec3)pos distance:(float)_distance nearest:(float &)nearest;
00056 
00062 - (void)addSamplePoint:(vec3)point;
00063 
00069 - (void)addStreamLine:(StreamLine *)streamLine;
00070 
00074 - (void)clear;
00075 
00081 - (int)getDSep;
00082 
00088 - (float)getDTest;
00089 
00095 - (void)changeDTestTo:(float)_dTest;
00096 
00102 - (void)changeDSepTo:(int)_dSep;
00103 
00109 - (StreamLine *)getNextStreamLine;
00110 
00116 - (vector<StreamLine*>)getAllStreamLines;
00117 
00123 - (int)getMaxSteps;
00124 
00130 - (float)getDist;
00131 
00132 @end
00133 
00134 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines