public class DeformableMeshDataObject extends Object implements DataObject
Constructor and Description |
---|
DeformableMeshDataObject(List<Node3D> nodes,
List<Connection3D> connections,
List<Triangle3D> triangles,
double[] positions,
int[] connection_index,
int[] triangle_index) |
Modifier and Type | Method and Description |
---|---|
Appearance |
createLineAppearance() |
BranchGroup |
getBranchGroup()
This is required to add to a group
|
void |
setColor(Color color) |
void |
setShowSurface(boolean showSurface) |
void |
setSurfaceAppearance(Appearance a) |
void |
setWireColor(Color color) |
void |
updateGeometry(double[] positions) |
public DeformableMeshDataObject(List<Node3D> nodes, List<Connection3D> connections, List<Triangle3D> triangles, double[] positions, int[] connection_index, int[] triangle_index)
public void setSurfaceAppearance(Appearance a)
public void updateGeometry(double[] positions)
public Appearance createLineAppearance()
public BranchGroup getBranchGroup()
DataObject
getBranchGroup
in interface DataObject
public void setWireColor(Color color)
public void setShowSurface(boolean showSurface)
public void setColor(Color color)
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.