toxi.volume
Class RoundBrush

java.lang.Object
  extended by toxi.volume.VolumetricBrush
      extended by toxi.volume.RoundBrush

public class RoundBrush
extends VolumetricBrush


Field Summary
 
Fields inherited from class toxi.volume.VolumetricBrush
MODE_ADDITIVE, MODE_MULTIPLY, MODE_REPLACE
 
Constructor Summary
RoundBrush(VolumetricSpace volume, float radius)
          Creates a new spherical brush to work on the given volume.
 
Method Summary
 void drawAtGridPos(float cx, float cy, float cz, float density)
           
 void setSize(float radius)
           
 
Methods inherited from class toxi.volume.VolumetricBrush
drawAtAbsolutePos, setMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundBrush

public RoundBrush(VolumetricSpace volume,
                  float radius)
Creates a new spherical brush to work on the given volume.

Parameters:
volume - VolumetricSpaceArray instance
radius - radius in world units
Method Detail

drawAtGridPos

public void drawAtGridPos(float cx,
                          float cy,
                          float cz,
                          float density)
Specified by:
drawAtGridPos in class VolumetricBrush

setSize

public void setSize(float radius)
Specified by:
setSize in class VolumetricBrush