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 |
|
Trigger |
|
renderResults |
|
Render results pointer |
|
semanticFilerTokens |
|
Tokens identifying the semantic filters applied to the output semantic labels. Each token should correspond to an activated SdSemanticFilter node |
[] |
cudaPtr |
|
If true, return cuda device pointer instead of host pointer |
False |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
Received (exec) |
|
Executes when the event is received |
|
numInstances |
|
Number of instances prim in the instance arrays |
|
minInstanceIndex |
|
Instance index of the first instance prim in the instance arrays |
|
instancePrimPathPtr |
|
Array pointer of numInstances uint64_t containing the prim path tokens for every instance prims |
|
numSemantics |
|
Number of semantic prim in the semantic arrays |
|
minSemanticIndex |
|
Semantic index of the first semantic prim in the semantic arrays |
|
semanticPrimPathPtr |
|
Array pointer of numSemantics uint32_t containing the prim part of the prim path tokens for every semantic prims |
|
semanticLocalTransformPtr |
|
Array pointer of numSemantics 4x4 float matrices containing the transform from world to object space for every semantic prims |
|
semanticWorldTransformPtr |
|
Array pointer of numSemantics 4x4 float matrices containing the transform from local to world space for every semantic entity |
|
instanceMapPtr |
|
Array pointer of numInstances uint16_t containing the semantic index of the instance prim first semantic prim parent |
|
semanticMapPtr |
|
Array pointer of numSemantics uint16_t containing the semantic index of the semantic prim first semantic prim parent |
|
semanticLabelTokenPtrs |
|
Array containing for every input semantic filters the corresponding array pointer of numSemantics uint64_t representing the semantic label of the semantic prim |