file_path
stringlengths
32
153
content
stringlengths
0
3.14M
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialCpuGpuExtended.rst
.. _omni_graph_tutorials_CpuGpuExtended_1: .. _omni_graph_tutorials_CpuGpuExtended: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: ....
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialBundles.rst
.. _omni_graph_tutorials_BundleManipulation_1: .. _omni_graph_tutorials_BundleManipulation: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :or...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialTupleArrays.rst
.. _omni_graph_tutorials_TupleArrays_1: .. _omni_graph_tutorials_TupleArrays: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. meta...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialBundleData.rst
.. _omni_graph_tutorials_BundleData_1: .. _omni_graph_tutorials_BundleData: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. meta::...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialState.rst
.. _omni_graph_tutorials_State_1: .. _omni_graph_tutorials_State: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. meta:: :titl...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialArrayData.rst
.. _omni_graph_tutorials_ArrayData_1: .. _omni_graph_tutorials_ArrayData: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. meta:: ...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialCpuGpuBundles.rst
.. _omni_graph_tutorials_CpuGpuBundles_1: .. _omni_graph_tutorials_CpuGpuBundles: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. ...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialBundleAddAttributes.rst
.. _omni_graph_tutorials_BundleAddAttributes_1: .. _omni_graph_tutorials_BundleAddAttributes: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialBundlesPy.rst
.. _omni_graph_tutorials_BundleManipulationPy_1: .. _omni_graph_tutorials_BundleManipulationPy: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ ...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialExtendedTypes.rst
.. _omni_graph_tutorials_ExtendedTypes_1: .. _omni_graph_tutorials_ExtendedTypes: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. ...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialABI.rst
.. _omni_graph_tutorials_Abi_1: .. _omni_graph_tutorials_Abi: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. meta:: :title: T...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialCpuGpuBundlesPy.rst
.. _omni_graph_tutorials_CpuGpuBundlesPy_1: .. _omni_graph_tutorials_CpuGpuBundlesPy: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: ...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialCudaDataCpu.rst
.. _omni_graph_tutorials_CudaCpuArrays_1: .. _omni_graph_tutorials_CudaCpuArrays: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. ...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialEmpty.rst
.. _omni_graph_tutorials_Empty_1: .. _omni_graph_tutorials_Empty: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. meta:: :titl...
omniverse-code/kit/exts/omni.graph.tutorials/ogn/docs/OgnTutorialABIPy.rst
.. _omni_graph_tutorials_AbiPy_1: .. _omni_graph_tutorials_AbiPy: .. ================================================================================ .. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT. .. ================================================================================ :orphan: .. meta:: :titl...
omniverse-code/kit/exts/omni.graph.tutorials/PACKAGE-LICENSES/omni.graph.tutorials-LICENSE.md
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docume...
omniverse-code/kit/exts/omni.graph.tutorials/config/extension.toml
[package] title = "OmniGraph Tutorials" version = "1.3.3" category = "Graph" readme = "docs/README.md" changelog = "docs/CHANGELOG.md" description = "Contains a collection of tutorials on constructing OmniGraph nodes." repository = "" keywords = ["kit", "omnigraph", "core", "tutorials"] # Main Python module, available...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/__init__.py
"""There is no public API to this module.""" __all__ = [] from ._impl.extension import _PublicExtension # noqa: F401
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialTupleArraysDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.TupleArrays This is a tutorial node. It will compute the float array 'result' as the elementwise dot product of the input arrays 'a' and 'b'. """ import carb import numpy import omni.graph.core as og import omni.graph.core._omni_graph_co...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialBundlesDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.BundleManipulation This is a tutorial node. It exercises functionality for the manipulation of bundle attribute contents. """ import carb import numpy import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialVectorizedPassthroughDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.TutorialVectorizedPassThrough Simple passthrough node that copy its input to its output in a vectorized way """ import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialCpuGpuExtendedPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.CpuGpuExtendedPy This is a tutorial node. It exercises functionality for accessing data in extended attributes that are on the GPU as well as those whose CPU/GPU location is decided at runtime. The compute adds the two inputs 'gpuData' and ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialCudaDataDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.CudaData This is a tutorial node. It performs different functions on the GPU to illustrate different types of data access. The first adds inputs 'a' and 'b' to yield output 'sum', all of which are on the GPU. The second is a sample expansio...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialCpuGpuDataDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.CpuGpuData This is a tutorial node. It illustrates how to access data whose memory location, CPU or GPU, is determined at runtime in the compute method. The data types are the same as for the purely CPU and purely GPU tutorials, it is onl...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialDynamicAttributesPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.DynamicAttributesPy This is a Python node that exercises the ability to add and remove database attribute accessors for dynamic attributes. When the dynamic attribute is added the property will exist and be able to get/set the attribute val...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialCpuGpuBundlesPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.CpuGpuBundlesPy This is a tutorial node. It exercises functionality for accessing data in bundles that are on the GPU as well as bundles whose CPU/GPU location is decided at runtime. The compute looks for bundled attributes named 'points' a...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialStateAttributesPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.StateAttributesPy This is a tutorial node. It exercises state attributes to remember data from on evaluation to the next. """ import carb import sys import traceback import omni.graph.core as og import omni.graph.core._omni_graph_core as ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialBundlesPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.BundleManipulationPy This is a tutorial node. It exercises functionality for the manipulation of bundle attribute contents. The configuration is the same as omni.graph.tutorials.BundleManipulation except that the implementation language is ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialRoleDataDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.RoleData This is a tutorial node. It creates both an input and output attribute of every supported role-based data type. The values are modified in a simple way so that the compute modifies values. """ import carb import numpy import om...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialTokensPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.TokensPy This is a tutorial node. It exercises the feature of providing hardcoded token values in the database after a node type has been initialized. It sets output booleans to the truth value of whether corresponding inputs appear in the ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialOverrideTypeDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.OverrideType This is a tutorial node. It has an input and output of type float[3], an input and output of type double[3], and a type override specification that lets the node use Carbonite types for the generated data on the float[3] attrib...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialBundleDataDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.BundleData This is a tutorial node. It exercises functionality for access of data within bundle attributes. """ import carb import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.og...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialEmptyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.Empty This is a tutorial node. It does absolutely nothing and is only meant to serve as an example to use for setting up your build. """ import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni....
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialStateDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.State This is a tutorial node. It makes use of internal state information to continuously increment an output. """ import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialDynamicAttributesDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.DynamicAttributes This is a C++ node that exercises the ability to add and remove database attribute accessors for dynamic attributes. When the dynamic attribute is added the property will exist and be able to get/set the attribute values. ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialCudaDataCpuPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.CudaCpuArraysPy This is a tutorial node. It illustrates the alternative method of extracting pointers to GPU array data in which the pointer returned is a CPU pointer and can be dereferenced on the CPU side. Without the cudaPointers value s...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialDefaultsDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.Defaults This is a tutorial node. It will move the values of inputs to corresponding outputs. Inputs all have unspecified, and therefore empty, default values. """ import carb import numpy import omni.graph.core as og import omni.graph.co...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialComplexDataPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.ComplexDataPy This is a tutorial node written in Python. It will compute the point3f array by multiplying each element of the float array by the three element vector in the multiplier. """ import carb import numpy import sys import traceba...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialBundleAddAttributesPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.BundleAddAttributesPy This is a Python tutorial node. It exercises functionality for adding and removing attributes on output bundles. """ import carb import numpy import sys import traceback import carb import omni.graph.core as og impor...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialABIPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.AbiPy This tutorial node shows how to override ABI methods on your Python node. The algorithm of the node converts an RGB color into HSV components. """ import carb import numpy import sys import traceback import omni.graph.core as og imp...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialGenericMathNodeDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.GenericMathNode This is a tutorial node. It is functionally equivalent to the built-in Multiply node, but written in python as a practical demonstration of using extended attributes to write math nodes that work with any numeric types, inc...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialTupleDataDatabase.py
"""Support for simplified access to data on nodes of type omni.tutorials.TupleData This is a tutorial node. It creates both an input and output attribute of some of the supported tuple types. The values are modified in a simple way so that the compute can be tested. """ import carb import numpy import omni.graph.co...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialVectorizedABIPassthroughDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.TutorialVectorizedABIPassThrough Simple passthrough node that copy its input to its output in a vectorized way """ import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialBundleDataPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.BundleDataPy This is a tutorial node. It exercises functionality for access of data within bundle attributes. The configuration is the same as omni.graph.tutorials.BundleData except that the implementation language is Python """ import car...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialExtendedTypesPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.ExtendedTypesPy This is a tutorial node. It exercises functionality for the manipulation of the extended attribute types. It is identical to OgnTutorialExtendedTypes.ogn, except the language of implementation is selected to be python. """ ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialCpuGpuExtendedDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.CpuGpuExtended This is a tutorial node. It exercises functionality for accessing data in extended attributes that are on the GPU as well as those whose CPU/GPU location is decided at runtime. The compute adds the two inputs 'gpuData' and 'c...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialSimpleDataDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.SimpleData This is a tutorial node. It creates both an input and output attribute of every simple supported data type. The values are modified in a simple way so that the compute modifies values. """ import carb import omni.graph.core as ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialExtendedTypesDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.ExtendedTypes This is a tutorial node. It exercises functionality for the manipulation of the extended attribute types. """ from typing import Any import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og imp...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialSIMDAddDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.TutorialSIMDFloatAdd Add 2 floats together using SIMD instruction set """ import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnTutorialSIMDAddDatabase(og.Da...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialBundleAddAttributesDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.BundleAddAttributes This is a tutorial node. It exercises functionality for adding and removing attributes on output bundles. """ import carb import numpy import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialStatePyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.StatePy This is a tutorial node. It makes use of internal state information to continuously increment an output. """ import carb import sys import traceback import omni.graph.core as og import omni.graph.core._omni_graph_core as _og impor...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialArrayDataDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.ArrayData This is a tutorial node. It will compute the array 'result' as the input array 'original' with every element multiplied by the constant 'multiplier'. """ import carb import numpy import omni.graph.core as og import omni.graph.c...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialCpuGpuBundlesDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.CpuGpuBundles This is a tutorial node. It exercises functionality for accessing data in bundles that are on the GPU as well as bundles whose CPU/GPU location is decided at runtime. The compute looks for bundled attributes named 'points' and...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialTokensDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.Tokens This is a tutorial node. It exercises the feature of providing hardcoded token values in the database after a node type has been initialized. It sets output booleans to the truth value of whether corresponding inputs appear in the ha...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialCudaDataCpuDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.CudaCpuArrays This is a tutorial node. It illustrates the alternative method of extracting pointers to GPU array data in which the pointer returned is a CPU pointer and can be dereferenced on the CPU side. Without the cudaPointers value set...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/OgnTutorialSimpleDataPyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.tutorials.SimpleDataPy This is a tutorial node. It creates both an input and output attribute of every simple supported data type. The values are modified in a simple way so that the compute modifies values. It is the same as node omni.graph.tutori...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial2/tutorial2.rst
.. _ogn_tutorial_simpleData: Tutorial 2 - Simple Data Node ============================= The simple data node creates one input attribute and one output attribute of each of the simple types, where "simple" refers to data types that have a single component and are not arrays. (e.g. "float" is simple, "float[3]" is n...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial2/OgnTutorialSimpleData.ogn
{ "SimpleData" : { "version": 1, "categories": "tutorials", "scheduling": ["threadsafe"], "description": [ "This is a tutorial node. It creates both an input and output attribute of every simple", "supported data type. The values are modified in a simple way s...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial2/OgnTutorialSimpleData.cpp
// Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this softwa...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial20/OgnTutorialTokens.cpp
// Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this software an...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial20/OgnTutorialTokensPy.py
""" Implementation of a node handling hardcoded tokens. Tokens are a fixed set of strings, usually used for things like keywords and enum names. In C++ tokens are more efficient than strings for lookup as they are represented as a single long integer. The Python access methods are set up the same way, though at present...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial20/OgnTutorialTokensPy.ogn
{ "TokensPy": { "version": 1, "categories": "tutorials", "description": ["This is a tutorial node. It exercises the feature of providing hardcoded token values", "in the database after a node type has been initialized. It sets output booleans to the", ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial20/OgnTutorialTokens.ogn
{ "Tokens": { "version": 1, "categories": "tutorials", "scheduling": ["threadsafe"], "description": ["This is a tutorial node. It exercises the feature of providing hardcoded token values", "in the database after a node type has been initialized. It sets outpu...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial20/tutorial20.rst
.. _ogn_tutorial_tokens: Tutorial 20 - Tokens ==================== Tokens are a method of providing fast access to strings that have fixed contents. All strings with the same contents can be translated into the same shared token. Token comparison is as fast as integer comparisons, rather than the more expensive strin...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial7/OgnTutorialRoleData.ogn
{ "RoleData" : { "version": 1, "categories": "tutorials", "scheduling": ["threadsafe"], "description": [ "This is a tutorial node. It creates both an input and output attribute of every supported ", "role-based data type. The values are modified in a simple wa...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial7/tutorial7.rst
.. _ogn_tutorial_roleData: Tutorial 7 - Role-Based Data Node ================================= The role-based data node creates one input attribute and one output attribute of each of the role-based type. A role-based type is defined as data with an underlying simple data type, with an interpretation of that simple ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial7/OgnTutorialRoleData.cpp
// Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this software an...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial29/OgnTutorialVectorizedABIPassthrough.ogn
{ "TutorialVectorizedABIPassThrough": { "version": 1, "description": "Simple passthrough node that copy its input to its output in a vectorized way", "categories": "tutorials", "uiName": "Tutorial Node: Vectorized Passthrough via ABI", "inputs":{ "value":{ ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial29/OgnTutorialVectorizedABIPassthrough.cpp
// Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this software an...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial17/tutorial17.rst
.. _ogn_tutorial_state_attributes_py: Tutorial 17 - Python State Attributes Node ========================================== This node illustrates how you can use state attributes. These are attributes that are not meant to be connected to other nodes as they maintain a node's internal state, persistent from one evalu...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial17/OgnTutorialStateAttributesPy.ogn
{ "StateAttributesPy" : { "version": 1, "categories": "tutorials", "description": [ "This is a tutorial node. It exercises state attributes to remember data from on evaluation to the next." ], "language": "python", "metadata": { "uiName"...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial17/OgnTutorialStateAttributesPy.py
""" Implementation of a Python node that uses state attributes to maintain information between evaluations. The node has a simple monotonically increasing state output "monotonic" that can be reset by setting the state attribute "reset" to true. """ class OgnTutorialStateAttributesPy: """Use internal node state ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial11/OgnTutorialComplexDataPy.ogn
{ "ComplexDataPy": { "version": 1, "categories": "tutorials", "description": ["This is a tutorial node written in Python. It will compute the point3f array by multiplying", "each element of the float array by the three element vector in the multiplier." ], ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial11/tutorial11.rst
.. _ogn_tutorial_complexData_py: Tutorial 11 - Complex Data Node in Python ========================================= This node fills on the remainder of the (CPU for now) data types available through Python. It combines the progressive introduction in C++ of :ref:`ogn_tutorial_tupleData`, :ref:`ogn_tutorial_arrayDat...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial11/OgnTutorialComplexDataPy.py
""" Implementation of a node handling complex attribute data """ # This class exercises access to the DataModel through the generated database class for a representative set of # complex data types, including tuples, arrays, arrays of tuples, and role-based attributes. More details on # individual type definitions can ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial12/OgnTutorialABIPy.py
""" Implementation of the Python node accessing all of the simple data types. This class exercises access to the DataModel through the generated database class for all simple data types. It implements the same algorithm as the C++ node OgnTutorialABI.cpp """ import colorsys from contextlib import suppress import carb ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial12/OgnTutorialABIPy.ogn
{ "AbiPy" : { "version": 1, "categories": ["tutorials", { "tutorial:abiPy": "Tutorial nodes that override the Python ABI functions" }], "language": "python", "description": ["This tutorial node shows how to override ABI methods on your Python node.", "The algo...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial12/tutorial12.rst
.. _ogn_tutorial_abi_py: Tutorial 12 - Python ABI Override Node ====================================== Although the .ogn format creates an easy-to-use interface to the ABI of the OmniGraph node and the associated data model, there may be cases where you want to override the ABI to perform special processing. OgnTuto...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial4/OgnTutorialTupleData.ogn
{ "omni.tutorials.TupleData" : { "version": 1, "categories": "tutorials", "scheduling": ["threadsafe"], "description": [ "This is a tutorial node. It creates both an input and output attribute of some of the supported ", "tuple types. The values are modified i...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial4/tutorial4.rst
.. _ogn_tutorial_tupleData: Tutorial 4 - Tuple Data Node ============================ Tuple data, also referred to as fixed array data, consists of multiple elements of a simple type. For example *float[3]* or *double[4]*. This node creates one input attribute and one output attribute of each of the simple data types...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial4/OgnTutorialTupleData.cpp
// Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this softwa...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial3/tutorial3.rst
.. _ogn_tutorial_abi: Tutorial 3 - ABI Override Node ============================== Although the .ogn format creates an easy-to-use interface to the ABI of the OmniGraph node and the associated data model, there may be cases where you want to override the ABI to perform special processing. OgnTutorialABI.ogn -------...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial3/OgnTutorialABI.cpp
// Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this softwa...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial3/OgnTutorialABI.ogn
{ "Abi" : { "$comment": [ "Any key of a key/value pair that starts with a dollar sign, will be ignored by the parser.", "Its values can be anything; a number, string, list, or object. Since JSON does not have a", "mechanism for adding comments you can use this method inst...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial1/tutorial1.rst
.. _ogn_tutorial_empty: Tutorial 1 - Trivial Node ========================= The simplest possible node is one that implements only the mandatory fields in a node. These are the "version" and "description" fields. The existence of the file *OgnTutorialEmpty.svg* will automatically install this icon into the build dir...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial1/OgnTutorialEmpty.cpp
// Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this software an...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial1/OgnTutorialEmpty.ogn
{ "Empty" : { "version": 1, "categories": "tutorials", "scheduling": ["threadsafe"], "description": [ "This is a tutorial node. It does absolutely nothing and is only meant to ", "serve as an example to use for setting up your build." ], "metad...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial24/OgnTutorialOverrideType.ogn
{ "OverrideType" : { "version": 1, "categories": "tutorials", "scheduling": ["threadsafe"], "description": [ "This is a tutorial node. It has an input and output of type float[3], an input and output of type", "double[3], and a type override specification that...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial24/OgnTutorialOverrideType.cpp
// Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this software an...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial24/tutorial24.rst
.. _ogn_tutorial_overrideTypes: Tutorial 24 - Overridden Types ============================== By default the code generator will provide POD types for simple data, and USD types for tuple data (e.g. ``float`` and ``pxr::GfVec3f``). Sometimes you may have your own favourite math library and want to use its data types...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial15/OgnTutorialBundlesPy.ogn
{ "BundleManipulationPy": { "version": 1, "categories": "tutorials", "description": ["This is a tutorial node. It exercises functionality for the manipulation of bundle", "attribute contents. The configuration is the same as omni.graph.tutorials.BundleManipulation", ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial15/OgnTutorialBundlesPy.py
""" Implementation of the Python node accessing attributes through the bundle in which they are contained. """ import omni.graph.core as og # Types recognized by the integer filter _INTEGER_TYPES = [og.BaseDataType.INT, og.BaseDataType.UINT, og.BaseDataType.INT64, og.BaseDataType.UINT64] class OgnTutorialBundlesPy: ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial15/OgnTutorialBundles.ogn
{ "BundleManipulation": { "version": 1, "categories": "tutorials", "description": ["This is a tutorial node. It exercises functionality for the manipulation of bundle", "attribute contents." ], "uiName": "Tutorial Node: Bundle Manipulation", "i...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial15/OgnTutorialBundles.cpp
// Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this softwa...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial15/tutorial15.rst
.. _ogn_tutorial_bundle_manipulation: Tutorial 15 - Bundle Manipulation ================================= Attribute bundles are a construct that packages up groups of attributes into a single entity that can be passed around the graph. Some advantages of a bundle are that they greatly simplify graph connections, only...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/conversionTutorial/node_conversion.rst
.. _ogn_node_conversion: Tutorial - OmniGraph .ogn Conversion ==================================== This is a walkthrough of the conversion of an OmniGraph node written under the original DataModel and ABI architectures to the .ogn format, which uses the new DataModel architecture. .. note:: If you do not have build ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/conversionTutorial/build_conversion.rst
.. _ogn_build_conversion: Tutorial - OmniGraph Build Environment Conversion ================================================= These steps will set up the extension to enable building the .ogn file generation and access the generated tests, include file, and Python file. This only has to be done once per extension, af...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/conversionTutorial/building_outside_kit.rst
.. _ogn_building_outside_kit: Tutorial - Building OmniGraph Outside Kit ========================================= Every effort was made to make OmniGraph just work when you build using the Kit SDK, however there is still one piece of configuration that must be done manually. As the initial implementation of Kit does...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial6/OgnTutorialTupleArrays.ogn
{ "TupleArrays": { "version": 1, "categories": "tutorials", "scheduling": ["threadsafe"], "description": ["This is a tutorial node. It will compute the float array 'result' as the elementwise dot ", "product of the input arrays 'a' and 'b'." ], ...
omniverse-code/kit/exts/omni.graph.tutorials/omni/graph/tutorials/ogn/tutorials/tutorial6/tutorial6.rst
.. _ogn_tutorial_tupleArrays: Tutorial 6 - Array of Tuples ============================ Arrays and tuples can be combined to create common attribute types such as **float[3][]**, and array of 3 floats. This node takes two arrays of float[3]s and generates an output array consisting of the element-wise dot products. ...