AnyLogic
Expand
Font size
All Implemented Interfaces:
UsdRepresentation<JibCrane<?>>

public class JibCraneUsdRepresentation
extends AbstractUsdRepresentation<JibCrane<?>>
Associates a jib crane with a prim.

Field Summary

Fields inherited from class com.anylogic.engine.omniverse_connector.AbstractUsdRepresentation

USD_ATTR_VISIBILITY

Constructor Summary

ConstructorDescription
JibCraneUsdRepresentation(UsdContext context, JibCrane<?> crane, String cranePrimPath) 

Method Summary

Modifier and TypeMethodDescription
voidfillFrame(OmniFrame frame) 
JibCraneUsdRepresentationsetCraneVariantUpdater(String varsetName, Function<JibCrane<?>,String> provider)
Sets a variant updater (a set of alternative configurations) for a crane prim
voidsetHookPath(String hookPath)
Set path to the prim that will be used for the crane’s hook
JibCraneUsdRepresentationsetHookVariantUpdater(String varsetName, Function<JibCrane<?>,String> provider)
Sets a variant updater (a set of alternative configurations) for a crane hook prim
voidsetJibPath(String jibPath)
Set path to the prim that will be used for the crane’s jib.
JibCraneUsdRepresentationsetJibVariantUpdater(String varsetName, Function<JibCrane<?>,String> provider)
Sets a variant updater (a set of alternative configurations) for a crane jib prim
voidsetTrolleyPath(String trolleyPath)
Set path to the prim that will be used for the crane’s trolley
JibCraneUsdRepresentationsetTrolleyVariantUpdater(String varsetName, Function<JibCrane<?>,String> provider)
Sets a variant updater (a set of alternative configurations) for a crane trolley prim

Methods inherited from class java.lang.Object

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

Constructor Details

JibCraneUsdRepresentation

public JibCraneUsdRepresentation(UsdContext context,
 JibCrane<?> crane,
 String cranePrimPath)

Method Details

fillFrame

@AnyLogicInternalAPI
public void fillFrame(OmniFrame frame)
Specified by:
fillFrame in interface UsdRepresentation<JibCrane<?>>
Overrides:
fillFrame in class AbstractUsdRepresentation<JibCrane<?>>

setTrolleyVariantUpdater

public JibCraneUsdRepresentation setTrolleyVariantUpdater(String varsetName,
 Function<JibCrane<?>,String> provider)
Sets a variant updater (a set of alternative configurations) for a crane trolley prim
Parameters:
varsetName - The name of the variant set.
provider - The function that generates the name of the USD prim variant depending on the state of the element.
Returns:
Returns the reconfigured JibCraneUsdRepresentation object

setJibVariantUpdater

public JibCraneUsdRepresentation setJibVariantUpdater(String varsetName,
 Function<JibCrane<?>,String> provider)
Sets a variant updater (a set of alternative configurations) for a crane jib prim
Parameters:
varsetName - The name of the variant set.
provider - The function that generates the name of the USD prim variant depending on the state of the element.
Returns:
Returns the reconfigured JibCraneUsdRepresentation object

setHookVariantUpdater

public JibCraneUsdRepresentation setHookVariantUpdater(String varsetName,
 Function<JibCrane<?>,String> provider)
Sets a variant updater (a set of alternative configurations) for a crane hook prim
Parameters:
varsetName - The name of the variant set.
provider - The function that generates the name of the USD prim variant depending on the state of the element.
Returns:
Returns the reconfigured JibCraneUsdRepresentation object

setCraneVariantUpdater

public JibCraneUsdRepresentation setCraneVariantUpdater(String varsetName,
 Function<JibCrane<?>,String> provider)
Sets a variant updater (a set of alternative configurations) for a crane prim
Parameters:
varsetName - The name of the variant set.
provider - The function that generates the name of the USD prim variant depending on the state of the element.
Returns:
Returns the reconfigured JibCraneUsdRepresentation object

setTrolleyPath

public void setTrolleyPath(String trolleyPath)
Set path to the prim that will be used for the crane’s trolley
Parameters:
trolleyPath - USD prim path

setJibPath

public void setJibPath(String jibPath)
Set path to the prim that will be used for the crane’s jib.
Parameters:
trolleyPath - USD prim path

setHookPath

public void setHookPath(String hookPath)
Set path to the prim that will be used for the crane’s hook
Parameters:
trolleyPath - USD prim path