public class VolumeDataObject extends Object implements DataObject
Constructor and Description |
---|
VolumeDataObject(Color c) |
Modifier and Type | Method and Description |
---|---|
BranchGroup |
getBranchGroup()
This is required to add to a group
|
double[] |
getClampedMinMax() |
double[] |
getMaxRangeMinMax() |
double[] |
getMinMax() |
void |
setColor(Color c) |
void |
setMinMaxRange(double min,
double max) |
void |
setPosition(double x,
double y,
double z)
Sets the position of the lowest corner.
|
void |
setTextureData(MeshImageStack stack)
For creating a volume representing the all of the pixes of the provided mesh image stack.
|
void |
setTextureData(MeshImageStack stack,
List<int[]> pts)
For creating a volume that shows part of an image stack.
|
void |
setTextureData(VolumeDataObject vdo,
int[] low,
int[] high)
For creating a volume representing the all of the pixes of the provided mesh image stack.
|
void |
setTransparencyTrim(double low,
double high) |
void |
updateVolume()
Creates the 3D representation of the data in "texture_data"
|
public VolumeDataObject(Color c)
public void setColor(Color c)
public void setPosition(double x, double y, double z)
x
- y
- z
- public void setTextureData(VolumeDataObject vdo, int[] low, int[] high)
public void setTextureData(MeshImageStack stack)
stack
- public void setTextureData(MeshImageStack stack, List<int[]> pts)
stack
- pts
- public void setMinMaxRange(double min, double max)
public void setTransparencyTrim(double low, double high)
public void updateVolume()
public BranchGroup getBranchGroup()
DataObject
getBranchGroup
in interface DataObject
public double[] getMaxRangeMinMax()
public double[] getClampedMinMax()
public double[] getMinMax()
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.