public class Sizeable3DSurface extends Object implements DataObject
Constructor and Description |
---|
Sizeable3DSurface(Texture3D texture,
int[] planes,
double[] lengths) |
Modifier and Type | Method and Description |
---|---|
void |
createSurfaces(double[] lengths) |
BranchGroup |
getBranchGroup()
This is required to add to a group
|
Vector3f |
getOffset() |
void |
setTexture(Texture3D tex) |
public Sizeable3DSurface(Texture3D texture, int[] planes, double[] lengths)
texture
- volume dataplanes
- number of planes per axis.lengths
- the length each axis represents.public void createSurfaces(double[] lengths)
public Vector3f getOffset()
public void setTexture(Texture3D tex)
public BranchGroup getBranchGroup()
DataObject
getBranchGroup
in interface DataObject
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.