SdInstanceMappingPtr

Synthetic Data node to expose the scene instances semantic hierarchy information

Installation

To use this Node, you must enable omni.syntheticdata in the Extension Manager.

Inputs

Name

Type

Description

Default

exec

execution

Trigger

renderResults

uint64

Render results pointer

semanticFilerTokens

token[]

Tokens identifying the semantic filters applied to the output semantic labels. Each token should correspond to an activated SdSemanticFilter node

[]

cudaPtr

bool

If true, return cuda device pointer instead of host pointer

False

Outputs

Name

Type

Description

Default

Received (exec)

execution

Executes when the event is received

numInstances

uint

Number of instances prim in the instance arrays

minInstanceIndex

uint

Instance index of the first instance prim in the instance arrays

instancePrimPathPtr

uint64

Array pointer of numInstances uint64_t containing the prim path tokens for every instance prims

numSemantics

uint

Number of semantic prim in the semantic arrays

minSemanticIndex

uint

Semantic index of the first semantic prim in the semantic arrays

semanticPrimPathPtr

uint64

Array pointer of numSemantics uint32_t containing the prim part of the prim path tokens for every semantic prims

semanticLocalTransformPtr

uint64

Array pointer of numSemantics 4x4 float matrices containing the transform from world to object space for every semantic prims

semanticWorldTransformPtr

uint64

Array pointer of numSemantics 4x4 float matrices containing the transform from local to world space for every semantic entity

instanceMapPtr

uint64

Array pointer of numInstances uint16_t containing the semantic index of the instance prim first semantic prim parent

semanticMapPtr

uint64

Array pointer of numSemantics uint16_t containing the semantic index of the semantic prim first semantic prim parent

semanticLabelTokenPtrs

uint64[]

Array containing for every input semantic filters the corresponding array pointer of numSemantics uint64_t representing the semantic label of the semantic prim