Interface IIsosurfaceTrace
- All Superinterfaces:
IAxesTrace,IImage3DTrace,org.eclipse.january.INameable,IPaletteTrace,ITrace
This trace is currently only available with Java8 and there is
no DAWN executable based on Java8 available on the website.
Probably DAWN 2.0 in 2015 will be Java8 based.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionDefault is CullFace.NONEdoubleThe Opacity component of the materialint[]The RGB components of the materialvoidsetCullFace(IIsosurfaceTrace.CullFace culling) Default is CullFace.NONEvoidsetData(org.eclipse.january.dataset.IDataset points, org.eclipse.january.dataset.IDataset textCoords, org.eclipse.january.dataset.IDataset faces, List<? extends org.eclipse.january.dataset.IDataset> axes) Plot an isosurface on the plotting system.voidsetMaterial(int red, int green, int blue, double opacity) Methods inherited from interface org.eclipse.dawnsci.plotting.api.trace.IAxesTrace
getAxes, getAxesNames, isActiveMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.IImage3DTrace
setAxesNamesMethods inherited from interface org.eclipse.january.INameable
getName, setNameMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.IPaletteTrace
addPaletteListener, getImageServiceBean, getMax, getMaxCut, getMin, getMinCut, getNanBound, getPaletteData, getPaletteName, isRescaleHistogram, removePaletteListener, setMax, setMaxCut, setMin, setMinCut, setNanBound, setPalette, setPaletteData, setPaletteName, setRescaleHistogramMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.ITrace
dispose, getData, getDataName, getRank, getUserObject, initialize, is3DTrace, isUserTrace, isVisible, setDataName, setUserObject, setUserTrace, setVisible
-
Method Details
-
setData
void setData(org.eclipse.january.dataset.IDataset points, org.eclipse.january.dataset.IDataset textCoords, org.eclipse.january.dataset.IDataset faces, List<? extends org.eclipse.january.dataset.IDataset> axes) Plot an isosurface on the plotting system. Thread safe- Parameters:
points- (float)textCoords- (float)faces- (int)axes- May be null.
-
getCullFace
IIsosurfaceTrace.CullFace getCullFace()Default is CullFace.NONE- Returns:
-
setCullFace
Default is CullFace.NONE- Parameters:
culling-
-
getMaterialRBG
int[] getMaterialRBG()The RGB components of the material- Returns:
-
getMaterialOpacity
double getMaterialOpacity()The Opacity component of the material- Returns:
-
setMaterial
void setMaterial(int red, int green, int blue, double opacity) - Parameters:
red- the red component, in the range0-255green- the green component, in the range0-255blue- the blue component, in the range0-255opacity- the opacity component, in the range0.0-1.0- Throws:
IllegalArgumentException- if any value is out of range
-