Public Member Functions | Protected Attributes | Properties

StreamLine Class Reference

#import <StreamLine.h>

List of all members.

Public Member Functions

(id) - initWithGrid:startSample:
(vec3 &) - getStartSample
(BOOL) - getNextSeed:
(BOOL) - addSamplePoint:distance:
(void) - final

Protected Attributes

vec3 startSample
vector< vec3samples
list< vec3potentialSeeds

Properties

StreamLineContainergrid

Member Function Documentation

- (BOOL) addSamplePoint: (vec3 point
distance: (float &)  distance 

Adds a seeding point

Parameters:
pointThe sample point
distanceA pointer where the distance should be stored
Returns:
YES f successful
- (void) final

Adds the sample points to the grid

- (BOOL) getNextSeed: (vec3 *)  point

Calculates the next sample point from a given point

Parameters:
pointThe point from where the next sample point will be calculated
Returns:
YES if there is a next seeding point
- (vec3 &) getStartSample

Returns the start of a line

Returns:
The start of a line
- (id) initWithGrid: (StreamLineContainer *)  _grid
startSample: (vec3 &)  _startSample 

Initializes the grid

Parameters:
_gridThe container of the grid
_startSampleThe sample point from where the calculation begins
Returns:
The pointer of the object

Member Data Documentation

- (list<vec3>) potentialSeeds [protected]
- (vector<vec3>) samples [protected]
- (vec3) startSample [protected]

Property Documentation

- (StreamLineContainer *) grid [read, write, retain]

Container holding the grid for the stream line generation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines