toxi.volume
Class VolumetricBrush

java.lang.Object
  extended by toxi.volume.VolumetricBrush
Direct Known Subclasses:
BoxBrush, RoundBrush

public abstract class VolumetricBrush
extends java.lang.Object


Field Summary
static int MODE_ADDITIVE
           
static int MODE_MULTIPLY
           
static int MODE_REPLACE
           
 
Constructor Summary
VolumetricBrush(VolumetricSpace volume)
           
 
Method Summary
 void drawAtAbsolutePos(toxi.geom.Vec3D pos, float density)
           
abstract  void drawAtGridPos(float cx, float cy, float cz, float density)
           
 void setMode(int mode)
           
abstract  void setSize(float radius)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_ADDITIVE

public static final int MODE_ADDITIVE
See Also:
Constant Field Values

MODE_MULTIPLY

public static final int MODE_MULTIPLY
See Also:
Constant Field Values

MODE_REPLACE

public static final int MODE_REPLACE
See Also:
Constant Field Values
Constructor Detail

VolumetricBrush

public VolumetricBrush(VolumetricSpace volume)
Method Detail

drawAtAbsolutePos

public void drawAtAbsolutePos(toxi.geom.Vec3D pos,
                              float density)

drawAtGridPos

public abstract void drawAtGridPos(float cx,
                                   float cy,
                                   float cz,
                                   float density)

setMode

public void setMode(int mode)

setSize

public abstract void setSize(float radius)