Class BaseRenderableSeriesSceneEntity3D<T>
Defines an entity to draw BaseRenderableSeries3D in the 3D Scene
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class BaseRenderableSeriesSceneEntity3D<T> extends BaseSceneEntity implements IAttachable, renderableSeries.RenderableSeriesChangeListener
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
BaseRenderableSeriesSceneEntity3D(Class<T> seriesRenderPassDataType)
Creates new instance of BaseRenderableSeriesSceneEntity3D class
Declaration
protected BaseRenderableSeriesSceneEntity3D(Class<T> seriesRenderPassDataType)
Parameters
| Type | Name | Description |
|---|---|---|
| Class<T> | seriesRenderPassDataType | The type of render pass data used for rendering |
Fields
currentRenderPassData
Declaration
protected T currentRenderPassData
Field Value
| Type | Description |
|---|---|
| T |
renderableSeries
Declaration
protected renderableSeries.IRenderableSeries3D renderableSeries
Field Value
| Type | Description |
|---|---|
| renderableSeries.IRenderableSeries3D |
tempXBuffer
Declaration
protected final FloatValues tempXBuffer
Field Value
| Type | Description |
|---|---|
| FloatValues |
tempYBuffer
Declaration
protected final FloatValues tempYBuffer
Field Value
| Type | Description |
|---|---|
| FloatValues |
tempZBuffer
Declaration
protected final FloatValues tempZBuffer
Field Value
| Type | Description |
|---|---|
| FloatValues |
Methods
applyAxisClipping(float[] originalCoords, int size, IAxis3D axis, float worldDimensionSize, boolean defaultIsVisibleRange, FloatValues buffer)
Applies axis clipping by clamping coordinate arrays to world dimension bounds when the effective clipping mode resolves to VisibleRange.
According to AxisSideClipping, Default = VisibleRange for X and Z axes,
and Default = None for Y axis. The defaultIsVisibleRange parameter controls this.
Declaration
protected static float[] applyAxisClipping(float[] originalCoords, int size, IAxis3D axis, float worldDimensionSize, boolean defaultIsVisibleRange, FloatValues buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| float[] | originalCoords | |
| int | size | Number of elements to process in the array |
| IAxis3D | axis | The axis to check for clipping settings |
| float | worldDimensionSize | The world dimension size for this axis (max bound; min bound is 0) |
| boolean | defaultIsVisibleRange | If true, Default is treated as VisibleRange (use for X/Z axes). If false, Default is treated as None (use for Y axis). |
| FloatValues | buffer |
Returns
| Type | Description |
|---|---|
| float[] |
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceContainer | services |
detach()
Declaration
public void detach()
hitTest(renderableSeries.hitTest.HitTestInfo3D hitTestResult, long selectionId)
Performs hit test and saves results into HitTestInfo3D instance
Declaration
public void hitTest(renderableSeries.hitTest.HitTestInfo3D hitTestResult, long selectionId)
Parameters
| Type | Name | Description |
|---|---|---|
| renderableSeries.hitTest.HitTestInfo3D | hitTestResult | The HitTestInfo3D to save results of hit test in |
| long | selectionId | The selection id to test |
isAttached()
Declaration
public final boolean isAttached()
Returns
| Type | Description |
|---|---|
| boolean |
isHit(int selectedEntityId, int selectedVertexId)
Checks if specified entity ID and vertex ID belongs to this entity
Declaration
protected boolean isHit(int selectedEntityId, int selectedVertexId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | selectedEntityId | The id of selected entity |
| int | selectedVertexId | The id of selected vertex |
Returns
| Type | Description |
|---|---|
| boolean | True if there was a hit for this entity, otherwise returns false |
onRenderableSeriesChanged(renderableSeries.IRenderableSeriesCore renderableSeries)
Declaration
public void onRenderableSeriesChanged(renderableSeries.IRenderableSeriesCore renderableSeries)
Parameters
| Type | Name | Description |
|---|---|---|
| IRenderableSeriesCore | renderableSeries |
onVisibilityChanged(boolean isVisible)
Called when visibility of parent IRenderableSeries3D changes
Declaration
protected void onVisibilityChanged(boolean isVisible)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | isVisible | The new isVisible value |
render()
Declaration
public final void render()
Overrides
renderScene(T currentRenderPassData)
Perform rendering of scene entity using specified render pass data
Declaration
protected void renderScene(T currentRenderPassData)
Parameters
| Type | Name | Description |
|---|---|---|
| T | currentRenderPassData | The render pass data to use |
requestNativeMeshesUpdate()
Request update of native meshes during next render pass
Declaration
public void requestNativeMeshesUpdate()
shouldClip(AxisSideClipping clipping, boolean defaultIsVisibleRange)
Declaration
protected static boolean shouldClip(AxisSideClipping clipping, boolean defaultIsVisibleRange)
Parameters
| Type | Name | Description |
|---|---|---|
| AxisSideClipping | clipping | |
| boolean | defaultIsVisibleRange |
Returns
| Type | Description |
|---|---|
| boolean |
update(float _fDeltaTime)
Declaration
public final void update(float _fDeltaTime)
Parameters
| Type | Name | Description |
|---|---|---|
| float | _fDeltaTime |
Overrides
updateNativeEntity(T currentRenderPassData)
Perform update of native entity
Declaration
protected abstract void updateNativeEntity(T currentRenderPassData)
Parameters
| Type | Name | Description |
|---|---|---|
| T | currentRenderPassData | The render pass data to use for update |
updateNativeMeshes(T currentRenderPassData)
Performs update of native meshes used by this instance
Declaration
protected abstract void updateNativeMeshes(T currentRenderPassData)
Parameters
| Type | Name | Description |
|---|---|---|
| T | currentRenderPassData | The render pass data to use for update |
updateScene(T currentRenderPassData)
Performs update of this entity
Declaration
protected void updateScene(T currentRenderPassData)
Parameters
| Type | Name | Description |
|---|---|---|
| T | currentRenderPassData | The render pass data to use for update |