public abstract class FixedResolutionFunction extends java.lang.Object implements IExplicitFunction
IExplicitFunction| Modifier and Type | Field and Description |
|---|---|
int |
depth |
boolean |
derivative |
protected float[][][][] |
fa |
int |
height |
int |
layers |
protected float |
max |
protected float |
min |
protected float[][][][][] |
na |
boolean |
normalize |
int |
width |
D1, L1, Z0| Constructor and Description |
|---|
FixedResolutionFunction(int width,
int height,
int depth,
int layers,
boolean normalize,
boolean derivative) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bufferize() |
IExplicitFunction |
copy() |
void |
copyTo(FixedResolutionFunction dst) |
protected abstract void |
fillBuffer() |
float |
get(float x,
float y,
float z,
int d) |
int |
getDepth() |
float |
getDerivative(float x,
float y,
float z,
int d,
float[] n) |
float |
getExplicit(int x,
int y,
int z,
int d) |
float |
getExplicitDerivative(int x,
int y,
int z,
int d,
float[] n) |
int |
getHeight() |
int |
getLayers() |
float |
getMax() |
float |
getMin() |
int |
getWidth() |
boolean |
hasDerivative() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExplicit2D, getExplicitDerivative2Dget2D, getDerivative2Dpublic final int width
public final int height
public final int depth
public final int layers
public final boolean normalize
public final boolean derivative
protected transient float[][][][] fa
protected transient float[][][][][] na
protected transient float min
protected transient float max
public FixedResolutionFunction(int width,
int height,
int depth,
int layers,
boolean normalize,
boolean derivative)
protected void bufferize()
public IExplicitFunction copy()
public void copyTo(FixedResolutionFunction dst)
protected abstract void fillBuffer()
public float getExplicit(int x,
int y,
int z,
int d)
getExplicit in interface IExplicitFunctionpublic float getExplicitDerivative(int x,
int y,
int z,
int d,
float[] n)
getExplicitDerivative in interface IExplicitFunctionpublic float getDerivative(float x,
float y,
float z,
int d,
float[] n)
getDerivative in interface IFunctionpublic final float getMin()
public final float getMax()
public int getWidth()
getWidth in interface IExplicitFunctionpublic int getHeight()
getHeight in interface IExplicitFunctionpublic int getDepth()
getDepth in interface IExplicitFunctionpublic int getLayers()
getLayers in interface IExplicitFunctionpublic boolean hasDerivative()
hasDerivative in interface IExplicitFunctionBonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com