artisynth.core.mfreemodels
Class ExponentialWeightFunction

java.lang.Object
  extended by artisynth.core.mfreemodels.MFreeWeightFunction
      extended by artisynth.core.mfreemodels.RadialWeightFunction
          extended by artisynth.core.mfreemodels.ExponentialWeightFunction
All Implemented Interfaces:
DifferentiableFunction3x1, Function3x1, MISOFunction

public class ExponentialWeightFunction
extends RadialWeightFunction


Nested Class Summary
 
Nested classes/interfaces inherited from class artisynth.core.mfreemodels.RadialWeightFunction
RadialWeightFunction.RadialWeightFunctionType
 
Field Summary
 int DEFAULT_EXPONENT
           
 double DEFAULT_RADIUS
           
 double DEFAULT_VARIANCE
           
 
Fields inherited from class artisynth.core.mfreemodels.RadialWeightFunction
center, myRadius
 
Constructor Summary
ExponentialWeightFunction(Point3d x)
           
ExponentialWeightFunction(Point3d x, double rho)
           
ExponentialWeightFunction(Point3d x, double rho, int k, double s2)
           
 
Method Summary
 ExponentialWeightFunction clone()
           
 double eval(double r2)
           
 double evalDerivative(double x, double y, double z, int dx, int dy, int dz)
           
 double evalDerivative(Point3d in, int[] derivatives)
           
 int getExponent()
           
 RadialWeightFunction.RadialWeightFunctionType getType()
           
 double getVariance()
           
 void setExponent(int k)
           
 void setRadius(double rho)
           
 void setVariance(double c2)
           
 
Methods inherited from class artisynth.core.mfreemodels.RadialWeightFunction
computeCentroid, computeIntersectionCentroid, computeIntersectionCentroid, createWeightFunction, eval, eval, eval, getCenter, getInputSize, getIntersectionVolume, getIntersectionVolume, getRadius, intersects, intersects, isInDomain, setCenter, updateBounds
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_VARIANCE

public double DEFAULT_VARIANCE

DEFAULT_EXPONENT

public int DEFAULT_EXPONENT

DEFAULT_RADIUS

public double DEFAULT_RADIUS
Constructor Detail

ExponentialWeightFunction

public ExponentialWeightFunction(Point3d x)

ExponentialWeightFunction

public ExponentialWeightFunction(Point3d x,
                                 double rho)

ExponentialWeightFunction

public ExponentialWeightFunction(Point3d x,
                                 double rho,
                                 int k,
                                 double s2)
Method Detail

eval

public double eval(double r2)
Specified by:
eval in class RadialWeightFunction

setRadius

public void setRadius(double rho)
Overrides:
setRadius in class RadialWeightFunction

setExponent

public void setExponent(int k)

getExponent

public int getExponent()

setVariance

public void setVariance(double c2)

getVariance

public double getVariance()

clone

public ExponentialWeightFunction clone()
Specified by:
clone in class RadialWeightFunction

evalDerivative

public double evalDerivative(Point3d in,
                             int[] derivatives)

evalDerivative

public double evalDerivative(double x,
                             double y,
                             double z,
                             int dx,
                             int dy,
                             int dz)

getType

public RadialWeightFunction.RadialWeightFunctionType getType()
Specified by:
getType in class RadialWeightFunction