AnyLogic
Expand
Font size
All Implemented Interfaces:
com.anylogic.engine.internal.Child, Locatable2D, Locatable3D, AggregatableAnimationElement, HasLevel, LevelElement, SVGElement, UsdElement, Serializable, Cloneable

@AnyLogicInternalAPI
public class Preview3dShapeTopLevelPresentationGroup
extends ShapeTopLevelPresentationGroup
See Also:
Serialized Form

Field Summary

Fields inherited from class com.anylogic.engine.presentation.Shape3D

UNKNOWN_NAME

Fields inherited from interface com.anylogic.engine.presentation.UsdElement

ID_NOT_SET

Constructor Summary

ConstructorDescription
Preview3dShapeTopLevelPresentationGroup(Presentable presentable, AtomicBoolean sendCameras, Map<Long,Camera3D> cameras) 

Method Summary

Modifier and TypeMethodDescription
voidresetSVGState(SVGElement elementBeingDeleted, boolean delete, Consumer<SVGCommand> commandOutput)
Reset SVG state goes through the entire shape hierarchy and delete (generate "D" command) child shapes if needed (for example we need to delete Shape3DObjects for instanced objects explicitly in case of deletion group or other hierarchy parent) resetSVGState for children must be called before parent (to generate delete "D" command for children first)

Methods inherited from class com.anylogic.engine.presentation.Shape3D

canHandleClick, getDrawMode, getScaleZ, getZ, getZOffset, setDrawMode

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement

initializeInternal, postInitialize

Methods inherited from interface com.anylogic.engine.Locatable2D

getX, getY

Constructor Details

Preview3dShapeTopLevelPresentationGroup

public Preview3dShapeTopLevelPresentationGroup(Presentable presentable,
 AtomicBoolean sendCameras,
 Map<Long,Camera3D> cameras)

Method Details

resetSVGState

public void resetSVGState(SVGElement elementBeingDeleted,
 boolean delete,
 Consumer<SVGCommand> commandOutput)
Description copied from class: Shape
Reset SVG state goes through the entire shape hierarchy and delete (generate "D" command) child shapes if needed (for example we need to delete Shape3DObjects for instanced objects explicitly in case of deletion group or other hierarchy parent) resetSVGState for children must be called before parent (to generate delete "D" command for children first)
Specified by:
resetSVGState in interface SVGElement
Overrides:
resetSVGState in class ShapeGroup
Parameters:
elementBeingDeleted - top-level element that is being deleted
delete - flag if method was called during shape deletion (delete "D" commands can be generated)