theba.core.Seed Class Reference

List of all members.

Public Member Functions

 Seed (int x, int y, int z, int direction, byte[] mask, Seed parent, int filledPixels)
void setCrackCount (int crackCount)
int getCrackCount ()
int countPixels (byte[][] voxels, byte id)
int getFilledPixels ()
void setFilledPixels (int filledPixels)
int getDirection ()
void setDirection (int direction)

Public Attributes

byte[] prevMask

Package Attributes

int rating

Detailed Description

A simple object used to store selected seeds before lumen-tracking is started

Author:
jensbw

Definition at line 12 of file Seed.java.


Constructor & Destructor Documentation

theba.core.Seed.Seed ( int  x,
int  y,
int  z,
int  direction,
byte[]  mask,
Seed  parent,
int  filledPixels 
)
Parameters:
x 
y 
z 
direction 
mask 
parent ==null if parent not cracked

Definition at line 34 of file Seed.java.

References theba.core.Seed.getCrackCount(), theba.core.Seed.getDirection(), and theba.core.Seed.prevMask.


Member Function Documentation

int theba.core.Seed.countPixels ( byte  voxels[][],
byte  id 
)

Definition at line 70 of file Seed.java.

References theba.core.math.Point3D.z.

int theba.core.Seed.getCrackCount (  ) 
Returns:
The absolute value of crackCount, since crackCount can have negative value, depending on direction

Definition at line 66 of file Seed.java.

Referenced by theba.core.Seed.Seed().

int theba.core.Seed.getDirection (  ) 

Definition at line 88 of file Seed.java.

Referenced by theba.core.Seed.Seed().

int theba.core.Seed.getFilledPixels (  ) 

Definition at line 80 of file Seed.java.

void theba.core.Seed.setCrackCount ( int  crackCount  ) 

Definition at line 58 of file Seed.java.

void theba.core.Seed.setDirection ( int  direction  ) 

Definition at line 92 of file Seed.java.

void theba.core.Seed.setFilledPixels ( int  filledPixels  ) 

Definition at line 84 of file Seed.java.


Member Data Documentation

Definition at line 14 of file Seed.java.

Referenced by theba.core.Seed.Seed().

int theba.core.Seed.rating [package]

Definition at line 22 of file Seed.java.


The documentation for this class was generated from the following file:

Generated on Fri Nov 13 08:57:08 2009 for Theba by  doxygen 1.6.1