public abstract class ContourMeshRenderableSeries3DBase extends BaseRenderableSeries3D
FreeSurfaceRenderableSeries3D
and SurfaceMeshRenderableSeries3D
BaseRenderableSeries3D.InvalidateMeshCallback, BaseRenderableSeries3D.InvalidateMetadataCallback
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.framework.SmartPropertyFloat |
contourIntervalProperty |
protected com.scichart.core.framework.SmartPropertyFloat |
contourOffsetProperty |
protected com.scichart.core.framework.SmartPropertyInteger |
contourStrokeProperty |
protected com.scichart.core.framework.SmartPropertyFloat |
contourStrokeThicknessProperty |
protected com.scichart.core.framework.SmartProperty<DrawMeshAs> |
drawMeshAsProperty |
protected com.scichart.core.framework.SmartPropertyFloat |
highlightProperty |
protected com.scichart.core.framework.SmartPropertyFloat |
lightingFactorProperty |
protected com.scichart.core.framework.SmartProperty<MeshColorPalette> |
meshColorPaletteProperty |
protected com.scichart.core.framework.SmartProperty<com.scichart.core.common.Size> |
meshColorPaletteSize |
protected com.scichart.core.framework.SmartProperty<MeshPaletteMode> |
meshPaletteModeProperty |
protected com.scichart.core.framework.SmartPropertyInteger |
strokeProperty |
protected com.scichart.core.framework.SmartPropertyFloat |
strokeThicknessProperty |
diffuseColorProperty, invalidateMeshCallback, invalidateMetadataCallback, selectedVertexColorProperty, shininessProperty, specularColorProperty, specularStrengthProperty, TAG
Modifier | Constructor and Description |
---|---|
protected |
ContourMeshRenderableSeries3DBase(GridXyzRenderPassData3D currentRenderPassData,
BaseRenderableSeriesSceneEntity3D sceneEntity)
Creates a new instance of
ContourMeshRenderableSeries3DBase class |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canUpdateRenderPassData(RenderPassState3D renderPassState)
Checks if current renderable series can update render pass data
|
void |
deselectAll()
Deselects all vertices for this renderable series
|
Texture2D |
getColorMapTexture()
Gets the ColorMapTexture generated when the
setMeshColorPalette(MeshColorPalette) property changes |
float |
getContourInterval()
Gets the contour interval
|
float |
getContourOffset()
Gets the contour offset
|
int |
getContourStroke()
Gets the contour color
|
float |
getContourStrokeThickness()
Gets the contour stroke thickness
|
DrawMeshAs |
getDrawMeshAs()
Gets how to draw the mesh
|
float |
getHighlight()
Gets value in range 0...1 that defines how much the surface is highlighted its in low lit parts.
|
float |
getLightingFactor()
Gets or sets a factor from 0.0f - 1.0f which defines how much lighting is used on cells, 0.0f = no lighting and 1.0f = fully lit
|
MeshColorPalette |
getMeshColorPalette()
Gets the MeshColorPalette which is used to calculate color from data value
|
com.scichart.core.common.Size |
getMeshColorPaletteSize()
Gets the Size of the texture to create when the
setMeshColorPalette(MeshColorPalette) property is set |
MeshPaletteMode |
getMeshPaletteMode()
Gets the
MeshPaletteMode , which defines how to apply the getMeshColorPalette() |
int |
getSeriesColor()
Gets the color which represents this
IRenderableSeries3D instance. |
int |
getStroke()
Gets the stroke color of the wireframe lines.
|
float |
getStrokeThickness()
Gets the stroke thickness to apply to the wireframe.
|
void |
performSelection(boolean isSelected,
HitTestInfo3D hitTestInfo3D)
Try to set selection for vertex using hit test results for this renderable series
|
void |
performSelection(HitTestInfo3D hitTestInfo3D)
Try to switch selection (e.g.
|
void |
setContourInterval(float contourInterval)
Sets the contour interval
|
void |
setContourOffset(float contourOffset)
Sets the contour offset
|
void |
setContourStroke(int contourStroke)
Sets the contour color
|
void |
setContourStrokeThickness(float contourStrokeThickness)
Sets the contour stroke thickness
|
void |
setDrawMeshAs(DrawMeshAs drawMeshAs)
Sets how to draw the mesh
|
void |
setHighlight(float highlight)
Sets value in range 0...1 that defines how much the surface is highlighted its in low lit parts.
|
void |
setLightingFactor(float lightingFactor)
Sets or sets a factor from 0.0f - 1.0f which defines how much lighting is used on cells, 0.0f = no lighting and 1.0f = fully lit
|
void |
setMeshColorPalette(MeshColorPalette meshColorPalette)
Sets the MeshColorPalette which is used to calculate color from data value
|
void |
setMeshColorPaletteSize(com.scichart.core.common.Size meshColorPaletteSize)
Sets the Size of the texture to create when the
setMeshColorPalette(MeshColorPalette) property is set |
void |
setMeshPaletteMode(MeshPaletteMode meshPaletteMode)
Sets the
MeshPaletteMode , which defines how to apply the getMeshColorPalette() |
void |
setStroke(int stroke)
Sets the stroke color of the wireframe lines.
|
void |
setStrokeThickness(float strokeThickness)
Sets the stroke thickness to apply to the wireframe.
|
applyThemeProvider, attachTo, detach, getContext, getCurrentRenderPassData, getDataSeries, getDataSeriesLock, getDiffuseColor, getMetadataProvider, getParentSurface, getPointMarker, getRenderPassDataLock, getSceneEntity, getSelectedVertexColor, getSeriesInfoProvider, getShininess, getSpecularColor, getSpecularStrength, hasDataSeries, hitTest, hitTest, internalUpdate, internalUpdateRenderPassData, internalUpdateRenderPassMetadata, invalidateElement, invalidateMeshes, invalidateMetadata, isOfValidType, isUpdateOfRenderPassDataRequired, isValidForDrawing, isValidForUpdate, onDataSeriesChanged, setDataSeries, setDiffuseColor, setMetadataProvider, setPointMarker, setSelectedVertexColor, setSeriesInfoProvider, setShininess, setSpecularColor, setSpecularStrength, update, updateFillMetadata, updateMeshColors, updatePointMetadata, updateRenderPassData, updateStrokeMetadata
addIsSelectedChangeListener, addIsVisibleChangeListener, decrementSuspend, getIsSelected, getIsSuspended, getIsVisible, getOpacity, getSelectedSeriesStyle, getServices, getUpdateSuspenderCount, isAttached, removeIsSelectedChangeListener, removeIsVisibleChangeListener, resumeUpdates, setIsSelected, setIsVisible, setOpacity, setSelectedSeriesStyle, suspendUpdates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addIsSelectedChangeListener, addIsVisibleChangeListener, getIsSelected, getIsVisible, getOpacity, getSelectedSeriesStyle, removeIsSelectedChangeListener, removeIsVisibleChangeListener, setIsSelected, setIsVisible, setOpacity, setSelectedSeriesStyle
protected final com.scichart.core.framework.SmartProperty<DrawMeshAs> drawMeshAsProperty
protected final com.scichart.core.framework.SmartPropertyInteger strokeProperty
protected final com.scichart.core.framework.SmartPropertyFloat strokeThicknessProperty
protected final com.scichart.core.framework.SmartProperty<MeshColorPalette> meshColorPaletteProperty
protected final com.scichart.core.framework.SmartProperty<com.scichart.core.common.Size> meshColorPaletteSize
protected final com.scichart.core.framework.SmartProperty<MeshPaletteMode> meshPaletteModeProperty
protected final com.scichart.core.framework.SmartPropertyFloat highlightProperty
protected final com.scichart.core.framework.SmartPropertyFloat lightingFactorProperty
protected final com.scichart.core.framework.SmartPropertyInteger contourStrokeProperty
protected final com.scichart.core.framework.SmartPropertyFloat contourOffsetProperty
protected final com.scichart.core.framework.SmartPropertyFloat contourIntervalProperty
protected final com.scichart.core.framework.SmartPropertyFloat contourStrokeThicknessProperty
protected ContourMeshRenderableSeries3DBase(GridXyzRenderPassData3D currentRenderPassData, BaseRenderableSeriesSceneEntity3D sceneEntity)
ContourMeshRenderableSeries3DBase
classcurrentRenderPassData
- The render pass data instancesceneEntity
- The scene entity associated with this seriespublic final void setStroke(int stroke)
getDrawMeshAs()
is WireFrame or SolidWireFramestroke
- The new stroke colorpublic final int getStroke()
getDrawMeshAs()
is WireFrame or SolidWireFramepublic final void setStrokeThickness(float strokeThickness)
getDrawMeshAs()
is WireFrame or SolidWireFramestrokeThickness
- The new stroke thicknesspublic final float getStrokeThickness()
getDrawMeshAs()
is WireFrame or SolidWireFramepublic final void setDrawMeshAs(DrawMeshAs drawMeshAs)
drawMeshAs
- The new draw mesh as valuepublic final DrawMeshAs getDrawMeshAs()
public final void setContourStroke(int contourStroke)
contourStroke
- The new contour colorpublic final int getContourStroke()
public final void setContourOffset(float contourOffset)
contourOffset
- The new contour offsetpublic final float getContourOffset()
public final void setContourInterval(float contourInterval)
contourInterval
- The new contour intervalpublic final float getContourInterval()
public final void setContourStrokeThickness(float contourStrokeThickness)
contourStrokeThickness
- The new contour stroke thicknesspublic final float getContourStrokeThickness()
public final void setMeshColorPalette(MeshColorPalette meshColorPalette)
meshColorPalette
- The new mesh color palettepublic final MeshColorPalette getMeshColorPalette()
public final void setMeshColorPaletteSize(com.scichart.core.common.Size meshColorPaletteSize)
setMeshColorPalette(MeshColorPalette)
property is setmeshColorPaletteSize
- The new size of mesh color palette texturepublic final com.scichart.core.common.Size getMeshColorPaletteSize()
setMeshColorPalette(MeshColorPalette)
property is setpublic final void setMeshPaletteMode(MeshPaletteMode meshPaletteMode)
MeshPaletteMode
, which defines how to apply the getMeshColorPalette()
meshPaletteMode
- The new mode valuepublic final MeshPaletteMode getMeshPaletteMode()
MeshPaletteMode
, which defines how to apply the getMeshColorPalette()
public final void setLightingFactor(float lightingFactor)
lightingFactor
- The new lighting factorpublic final float getLightingFactor()
public final void setHighlight(float highlight)
highlight
- The new highlight valuepublic final float getHighlight()
public Texture2D getColorMapTexture()
setMeshColorPalette(MeshColorPalette)
property changespublic int getSeriesColor()
IRenderableSeries3D
instance.IRenderableSeries3D
instance.protected boolean canUpdateRenderPassData(RenderPassState3D renderPassState)
BaseRenderableSeries3D
canUpdateRenderPassData
in class BaseRenderableSeries3D
renderPassState
- The RenderPassState3D
used in current render passpublic void performSelection(boolean isSelected, HitTestInfo3D hitTestInfo3D)
isSelected
- The selection flaghitTestInfo3D
- The hit test results to use to perform selectionpublic void performSelection(HitTestInfo3D hitTestInfo3D)
hitTestInfo3D
- The hit test results to use to perform selectionpublic void deselectAll()