T
- public abstract class BaseRenderableSeriesSceneEntity3D<T extends ISeriesRenderPassData3D> extends BaseSceneEntity implements com.scichart.core.framework.IAttachable, com.scichart.charting.visuals.renderableSeries.RenderableSeriesChangeListener
BaseRenderableSeries3D
in the 3D SceneModifier and Type | Field and Description |
---|---|
protected T |
currentRenderPassData |
protected IRenderableSeries3D |
renderableSeries |
swigCMemOwn
Modifier | Constructor and Description |
---|---|
protected |
BaseRenderableSeriesSceneEntity3D(java.lang.Class<T> seriesRenderPassDataType)
Creates new instance of
BaseRenderableSeriesSceneEntity3D class |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
detach() |
void |
hitTest(HitTestInfo3D hitTestResult,
long selectionId)
Performs hit test and saves results into
HitTestInfo3D instance |
boolean |
isAttached() |
protected boolean |
isHit(int selectedEntityId,
int selectedVertexId)
Checks if specified entity ID and vertex ID belongs to this entity
|
void |
onRenderableSeriesChanged(com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore renderableSeries) |
protected void |
onVisibilityChanged(boolean isVisible)
Called when visibility of parent
IRenderableSeries3D changes |
void |
render() |
protected void |
renderScene(T currentRenderPassData)
Perform rendering of scene entity using specified render pass data
|
void |
requestNativeMeshesUpdate()
Request update of native meshes during next render pass
|
void |
update(float _fDeltaTime) |
protected abstract void |
updateNativeEntity(T currentRenderPassData)
Perform update of native entity
|
protected abstract void |
updateNativeMeshes(T currentRenderPassData)
Performs update of native meshes used by this instance
|
protected void |
updateScene(T currentRenderPassData)
Performs update of this entity
|
attachChild, beginLines, beginPoints, beginSolidMesh, close, detachChild, dispose, getChildren
addChildEntityInternal, clearChildEntitiesInternal, debugRender, delete, draw, drawRaw, finalize, getBounds, getChildEntities, getChildInternal, getChildrenCountInternal, getCPtr, getEntityId, getHeightMap, getKind, getMesh, getSelectionHelper, getWorld, isVisible, onEngineRestart, removeChildEntityInternal, renderRaw, setEntityId, setMaterial, setPosition, setRotation, setScale, setVisible, setWorld, subscribeChildEntities, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership, unsubscribeChildEntities, updateVisibility
forceLink, getCPtr, getM_BoundBox, getM_Transform, getObjectType, getObjectTypeName, getPosition, getZOrder, setM_BoundBox, setM_Transform, setZOrder, staticClass
getCPtr, getName, load, load, loadBinary, loadBinary, onRTU, reload, save, save, saveBinary, saveBinary, setName
protected IRenderableSeries3D renderableSeries
protected T extends ISeriesRenderPassData3D currentRenderPassData
protected BaseRenderableSeriesSceneEntity3D(java.lang.Class<T> seriesRenderPassDataType)
BaseRenderableSeriesSceneEntity3D
classseriesRenderPassDataType
- The type of render pass data used for renderingpublic void attachTo(com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
public final boolean isAttached()
isAttached
in interface com.scichart.core.framework.IAttachable
public final void update(float _fDeltaTime)
update
in class SCRTSceneEntity
protected void updateScene(T currentRenderPassData)
currentRenderPassData
- The render pass data to use for updateprotected abstract void updateNativeMeshes(T currentRenderPassData)
currentRenderPassData
- The render pass data to use for updateprotected abstract void updateNativeEntity(T currentRenderPassData)
currentRenderPassData
- The render pass data to use for updatepublic final void render()
render
in class SCRTSceneEntity
protected void renderScene(T currentRenderPassData)
currentRenderPassData
- The render pass data to usepublic void requestNativeMeshesUpdate()
public void hitTest(HitTestInfo3D hitTestResult, long selectionId)
HitTestInfo3D
instancehitTestResult
- The HitTestInfo3D
to save results of hit test inselectionId
- The selection id to testprotected boolean isHit(int selectedEntityId, int selectedVertexId)
selectedEntityId
- The id of selected entityselectedVertexId
- The id of selected vertexpublic void onRenderableSeriesChanged(com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore renderableSeries)
onRenderableSeriesChanged
in interface com.scichart.charting.visuals.renderableSeries.RenderableSeriesChangeListener
protected void onVisibilityChanged(boolean isVisible)
IRenderableSeries3D
changesisVisible
- The new isVisible value