public class TensorsPanel extends AxisAlignedPanel
Constructor and Description |
---|
TensorsPanel(EigenTensors3 et)
Constructs a tensors panel for the specified tensor field.
|
TensorsPanel(Sampling s1,
Sampling s2,
Sampling s3,
EigenTensors3 et)
Constructs a tensors panel for the specified tensor field.
|
Modifier and Type | Method and Description |
---|---|
protected void |
draw(DrawContext dc)
Draws this node.
|
void |
setEllipsoidSize(int size)
Sets the maximum size of the ellipsoids.
|
void |
update()
Updates the panel.
|
computeBoundingSphere, getBoxConstraint, getFrame, pick, setFrame
countParents, cull, cullApply, cullBegin, cullEnd, dirtyBoundingSphere, dirtyDraw, drawApply, drawBegin, drawEnd, getAttributeBits, getBoundingSphere, getParents, getStates, getWorld, isSelected, pickApply, pickBegin, pickEnd, selectedChanged, setSelected, setStates
public TensorsPanel(EigenTensors3 et)
et
- the eigentensors; by reference, not by copy.public TensorsPanel(Sampling s1, Sampling s2, Sampling s3, EigenTensors3 et)
s1
- sampling of 1st dimension (Z axis).s2
- sampling of 2nd dimension (Y axis).s3
- sampling of 3rd dimension (X axis).et
- the eigentensors; by reference, not by copy.public void update()
public void setEllipsoidSize(int size)
size
- the maximum ellipsoid size, in samples.protected void draw(DrawContext dc)
Node