add ability to scale and transform ScalarFields
[anneal.git] / src / edu / berkeley / qfat / voxel / VoxelData.java
index 3781de6..9d446a4 100644 (file)
@@ -2,7 +2,7 @@ package edu.berkeley.qfat.voxel;
 import edu.berkeley.qfat.*;
 import edu.berkeley.qfat.geom.*;
 
-public abstract class VoxelData implements SampledField, HasBoundingBox {
+public abstract class VoxelData implements ScalarField, HasBoundingBox {
 
     public abstract float getSample(Point p);
 
@@ -18,4 +18,8 @@ public abstract class VoxelData implements SampledField, HasBoundingBox {
     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