|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkImplicitFunction vtk.vtkPerlinNoise
vtkPerlinNoise - an implicit function that implements Perlin noise. vtkPerlinNoise computes a Perlin noise field as an implicit function. vtkPerlinNoise is a concrete implementation of vtkImplicitFunction. Perlin noise, originally described by Ken Perlin, is a non-periodic and continuous noise function useful for modeling real-world objects. The amplitude and frequency of the noise pattern are adjustable. This implementation of Perlin noise is derived closely from Greg Ward's version in Graphics Gems II. JavaBean wrapper for vtkPerlinNoise object.
Field Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkPerlinNoise()
|
protected |
vtkPerlinNoise(int dmy)
|
Method Summary | |
double |
evaluateFunction(double[] id0)
Evaluate PerlinNoise function. |
double |
evaluateFunction(double id0,
double id1,
double id2)
Evaluate PerlinNoise function. |
void |
evaluateGradient(double[] id0,
double[] id1)
Evaluate PerlinNoise gradient. |
double |
getAmplitude()
Set/get the amplitude of the noise function. |
java.lang.String |
getClassName()
Return the class name as a string. |
double[] |
getFrequency()
Set/get the frequency, or physical scale, of the noise function (higher is finer scale). |
double[] |
getPhase()
Set/get the phase of the noise function. |
vtkPerlinNoise |
getThisPerlinNoise()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
setAmplitude(double id0)
Set/get the amplitude of the noise function. |
void |
setFrequency(double[] id0)
Set/get the frequency, or physical scale, of the noise function (higher is finer scale). |
void |
setFrequency(double id0,
double id1,
double id2)
Set/get the frequency, or physical scale, of the noise function (higher is finer scale). |
void |
setPhase(double[] id0)
Set/get the phase of the noise function. |
void |
setPhase(double id0,
double id1,
double id2)
Set/get the phase of the noise function. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkImplicitFunction |
functionGradient, functionGradient, functionGradient, functionValue, functionValue, getMTime, getThisImplicitFunction, getTransform, setTransform |
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkPerlinNoise()
protected vtkPerlinNoise(int dmy)
Method Detail |
public vtkPerlinNoise getThisPerlinNoise()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkImplicitFunction
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkImplicitFunction
public double evaluateFunction(double[] id0)
evaluateFunction
in class vtkImplicitFunction
public double evaluateFunction(double id0, double id1, double id2)
evaluateFunction
in class vtkImplicitFunction
public void evaluateGradient(double[] id0, double[] id1)
evaluateGradient
in class vtkImplicitFunction
public void setFrequency(double id0, double id1, double id2)
public void setFrequency(double[] id0)
public double[] getFrequency()
public void setPhase(double id0, double id1, double id2)
public void setPhase(double[] id0)
public double[] getPhase()
public void setAmplitude(double id0)
public double getAmplitude()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkImplicitFunction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |