artisynth.core.mfreemodels
Class SplineWeightFunction

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

public class SplineWeightFunction
extends RadialWeightFunction


Nested Class Summary
 
Nested classes/interfaces inherited from class artisynth.core.mfreemodels.RadialWeightFunction
RadialWeightFunction.RadialWeightFunctionType
 
Field Summary
 int DEFAULT_CONTINUITY
           
 double DEFAULT_RADIUS
           
 
Fields inherited from class artisynth.core.mfreemodels.RadialWeightFunction
center, myRadius
 
Constructor Summary
SplineWeightFunction(Point3d x)
           
SplineWeightFunction(Point3d x, double rho)
           
SplineWeightFunction(Point3d x, double rho, int C)
           
 
Method Summary
 SplineWeightFunction 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 getContinuity()
           
 RadialWeightFunction.RadialWeightFunctionType getType()
           
 void setContinuity(int C)
           
 void setRadius(double rho)
           
 
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_CONTINUITY

public int DEFAULT_CONTINUITY

DEFAULT_RADIUS

public double DEFAULT_RADIUS
Constructor Detail

SplineWeightFunction

public SplineWeightFunction(Point3d x)

SplineWeightFunction

public SplineWeightFunction(Point3d x,
                            double rho)

SplineWeightFunction

public SplineWeightFunction(Point3d x,
                            double rho,
                            int C)
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

setContinuity

public void setContinuity(int C)

getContinuity

public int getContinuity()

clone

public SplineWeightFunction 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