This class provides simple Streamline creation, whereas a seeding points are located on a regular grid. More...
#import <RSStreamline.h>
Public Member Functions | |
(id) | - initUsingMethod:Thickness:DrawTriangles:DrawTapering:DrawTexture:ShowSeedingpoints:StepSize:maxSteps:Density:Width:DimensionX:DimensionY: |
(bool) | - isAllowedAsInitPoint:nearestDistance: |
(bool) | - isAllowedAsLinePoint:nearestDistance: |
(float) | - calculateLineWidthModification: |
(void) | - addSeeddingPointFrom:AndFlowDirection: |
(void) | - createInitialSeedingPointsSpacedBy: |
(void) | - usePoint: |
(void) | - drawStreamlines |
(bool) | - goBackwards |
(void) | - recalculate |
Call this method once to perform the calcuation. | |
(void) | - dealloc [implementation] |
Static Public Member Functions | |
(RSStreamline *) | + streamlineUsingMethod:Thickness:DrawTriangles:DrawTapering:DrawTexture:ShowSeedingpoints:StepSize:maxSteps:Density:Width:DimensionX:DimensionY: |
Protected Attributes | |
GLuint | vbo |
NSObject< IntegrationMethod > * | integrationMethod |
bool | drawTriangles |
bool | drawTapering |
int | drawTexture |
bool | showSeedingpoints |
float | stepSize |
int | maxSteps |
float | width |
float | drawDimX |
float | drawDimY |
NSMutableArray * | seedingPoints |
NSMutableArray * | lines |
This class provides simple Streamline creation, whereas a seeding points are located on a regular grid.
The strategy pattern used allows sublasses to efficiently enhance this algorithm.
- (void) recalculate |
Call this method once to perform the calcuation.