public class PlotSurface extends Object implements DataObject
Constructor and Description |
---|
PlotSurface(double[] positions,
int[] triangle_index,
float[] colors) |
Modifier and Type | Method and Description |
---|---|
Appearance |
createAppearance() |
float[] |
generateNormals(double[] positions,
int[] triangle_index) |
BranchGroup |
getBranchGroup()
This is required to add to a group
|
public PlotSurface(double[] positions, int[] triangle_index, float[] colors)
public float[] generateNormals(double[] positions, int[] triangle_index)
public Appearance createAppearance()
public BranchGroup getBranchGroup()
DataObject
getBranchGroup
in interface DataObject
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.