|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectendrov.hardwareFrivolous.FrivolousDiffusion
public class FrivolousDiffusion
Simulate diffusion
| Constructor Summary | |
|---|---|
FrivolousDiffusion(FrivolousComplexArray input,
int[] alpha,
float speed)
|
|
| Method Summary | |
|---|---|
void |
bleach(float bleachFactor)
|
void |
bleach(int[] roi,
int roiWidth,
int roiHeight,
int offsetX,
int offsetY,
float bleachFactor)
Bleach an arbitrary ROI |
void |
bleach(int roiWidth,
int roiHeight,
int offsetX,
int offsetY,
float bleachFactor)
Bleach a square ROI - typically the area the camera focuses on |
void |
diffuse()
|
FrivolousComplexArray |
getDiffusedArray()
|
void |
run()
Continuously simulate the physics |
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FrivolousDiffusion(FrivolousComplexArray input,
int[] alpha,
float speed)
| Method Detail |
|---|
public void diffuse()
public FrivolousComplexArray getDiffusedArray()
public void bleach(float bleachFactor)
public void bleach(int[] roi,
int roiWidth,
int roiHeight,
int offsetX,
int offsetY,
float bleachFactor)
public void bleach(int roiWidth,
int roiHeight,
int offsetX,
int offsetY,
float bleachFactor)
public void run()
run in interface java.lang.Runnablepublic void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||