00001 #import <Cocoa/Cocoa.h>
00002
00003 #import "RSStreamline.h"
00004
00011 @interface ESStreamline : RSStreamline {
00012
00013 float dSep;
00014 float dSepSquared;
00015 float dTest;
00016 float dTestSquared;
00017
00018 NSArray * grid;
00019 int gridCount;
00020
00021 }
00022
00023 + (ESStreamline *) streamlineUsingMethod: (NSObject <IntegrationMethod>*)_integrationMethod Thickness: (float)_thickness
00024 DrawTriangles:(bool)_drawTriangles DrawTapering:(bool)_drawTapering DrawTexture:(int)_drawTexture
00025 ShowSeedingpoints:(bool)_showSeedingpoints StepSize: (float)stepSize maxSteps: (int)maxSteps Width:(float)width
00026 Separation: (float) dsep Threshold: (float) rtest DimensionX: (float) drawDimX DimensionY: (float) drawDimY;
00027
00028 - (id) initUsingMethod: (NSObject <IntegrationMethod>*)_integrationMethod Thickness: (float)_thickness
00029 DrawTriangles:(bool)_drawTriangles DrawTapering:(bool)_drawTapering DrawTexture:(int)_drawTexture
00030 ShowSeedingpoints:(bool)_showSeedingpoints StepSize: (float) stepsize maxSteps: (int)maxSteps Width:(float)width
00031 Separation: (float) dsep Threshold: (float) rtest DimensionX: (float) _drawDimX DimensionY: (float) _drawDimY ;
00032
00033 - (bool) isAllowed:(NSPoint)p inDistance: (float) squaredDistance nearestDistance: (float*) nearestDistance;
00034 - (bool) goBackwards;
00035
00036 @end