public float getSample(Point p);
+ /** transform the scalar field in space */
+ public ScalarField transform(Matrix m);
+
+ /** add f to all scalar values */
+ public ScalarField plus(float f);
+
+ /** multiply all scalar values by f */
+ public ScalarField times(float f);
+
}
\ No newline at end of file
public abstract float getMinZ();
public abstract int getNumSamplesZ();
+ public ScalarField transform(Matrix m) { throw new RuntimeException("not implemented"); }
+ public ScalarField plus(float f) { throw new RuntimeException("not implemented"); }
+ public ScalarField times(float f) { throw new RuntimeException("not implemented"); }
+
}
\ No newline at end of file