holoedit.util
Class Smooth

java.lang.Object
  extended by com.cycling74.max.MaxObject
      extended by holoedit.util.Smooth

public class Smooth
extends com.cycling74.max.MaxObject


Field Summary
protected  java.lang.String[] INLET_ASSIST
           
protected  int[] INLET_TYPES
           
protected  java.lang.String[] OUTLET_ASSIST
           
protected  int[] OUTLET_TYPES
           
private  int smooth
           
private  java.util.Vector<java.lang.Double> stack
           
 
Fields inherited from class com.cycling74.max.MaxObject
EMPTY_STRING_ARRAY, NO_INLETS, NO_OUTLETS
 
Constructor Summary
Smooth(com.cycling74.max.Atom[] atoms)
           
 
Method Summary
private  void calcSmooth(double d)
           
 void clear()
           
 void inlet(float f)
           
 void inlet(int i)
           
 void smooth(int i)
           
 
Methods inherited from class com.cycling74.max.MaxObject
anything, bail, bang, createInfoOutlet, dblclick, declareAttribute, declareAttribute, declareInlets, declareIO, declareOutlets, declareReadOnlyAttribute, declareReadOnlyAttribute, declareTypedIO, embedMessage, error, gc, getAttr, getAttrAtomArray, getAttrBool, getAttrBoolArray, getAttrByte, getAttrByteArray, getAttrChar, getAttrCharArray, getAttrDouble, getAttrDoubleArray, getAttrFloat, getAttrFloatArray, getAttributeInfo, getAttrInt, getAttrIntArray, getAttrLongArray, getAttrShort, getAttrShortArray, getAttrString, getAttrStringArray, getCodeSourcePath, getContext, getErrorStream, getInfoIdx, getInlet, getInletAssist, getInletType, getLongAttr, getMaxBox, getName, getNumInlets, getNumOutlets, getOutletAssist, getOutletType, getParentPatcher, getPostStream, list, loadbang, notifyDeleted, ouch, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outletBang, outletBangHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, post, postCodePath, save, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setInletAssist, setInletAssist, setName, setOutletAssist, setOutletAssist, showException, showException, toString, viewsource, zap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INLET_TYPES

protected int[] INLET_TYPES

OUTLET_TYPES

protected int[] OUTLET_TYPES

INLET_ASSIST

protected java.lang.String[] INLET_ASSIST

OUTLET_ASSIST

protected java.lang.String[] OUTLET_ASSIST

smooth

private int smooth

stack

private java.util.Vector<java.lang.Double> stack
Constructor Detail

Smooth

public Smooth(com.cycling74.max.Atom[] atoms)
Method Detail

clear

public void clear()

smooth

public void smooth(int i)

inlet

public void inlet(int i)
Overrides:
inlet in class com.cycling74.max.MaxObject

inlet

public void inlet(float f)
Overrides:
inlet in class com.cycling74.max.MaxObject

calcSmooth

private void calcSmooth(double d)