file_path
stringlengths
32
153
content
stringlengths
0
3.14M
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnBundleChildProducerPy.py
""" This node is designed to shallow copy input bundle as a child in the output. """ class OgnBundleChildProducerPy: @staticmethod def compute(db) -> bool: input_bundle = db.inputs.bundle output_bundle = db.outputs.bundle # store number of children from the input db.outputs.nu...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnBundleProducer.ogn
{ "BundleProducer": { "version": 1, "description": "Node that produces output bundle for change tracking", "categories": "internal:test", "exclude": [ "usd", "docs" ], "uiName": "Test Node: Bundle Properties", "icon": { "path": "TestNodeIcon.svg" }...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnRandomBundlePoints.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.test/omni/graph/test/ogn/nodes/OgnTestIsolate.ogn
{ "TestIsolate": { "version": 1, "description": [ "Test isolate scheduling on nodes. Currently this scheduling status is only used for nodes that", "have the \"usd-write\" scheduling hint, i.e. write to the USD stage; for this specific test node", "the \"usd-write...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestCppKeywords.ogn
{ "TestCppKeywords": { "version": 1, "description": "Test that attributes named for C++ keywords produce valid code", "inputs": { "atomic_cancel": {"type": "float", "description": "KW Test for atomic_cancel"}, "atomic_commit": {"type": "float", "description": "KW Test...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnDecomposeDouble3C.ogn
{ "DecomposeDouble3C": { "version": 1, "description": ["Example node that takes in a double[3] and outputs scalars that are its components"], "uiName": "Test Node: Decompose Double3 (C++)", "icon": { "path": "TestNodeIcon.svg" }, "categories": "internal:te...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnBundleProperties.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.test/omni/graph/test/ogn/nodes/OgnBundleConsumer.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.test/omni/graph/test/ogn/nodes/OgnTestOptionalExtended.ogn
{ "TestOptionalExtendedAttribute": { "version": 1, "description": "Test node that exercises the optional flag on extended attributes", "language": "python", "categories": "internal:test", "exclude": ["tests", "usd", "docs"], "icon": { "path": "TestNodeIcon...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestAllDataTypesPy.ogn
{ "TestAllDataTypesPy": { "version": 1, "description": [ "This node is meant to exercise data access for all available data types, including all", "legal combinations of tuples, arrays, and bundle members. The test section here is intentionally", "omitted so that ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnRandomPoints.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.test/omni/graph/test/ogn/nodes/OgnTestWriteVariablePy.ogn
{ "omni.graph.test.TestWriteVariablePy": { "version": 1, "description": ["Node that test writes a value to a variable in python"], "uiName": "Write Variable", "categories": ["internal:test"], "exclude": ["tests", "usd", "docs"], "icon": { "path": "TestNode...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnFakeTutorialTupleData.cpp
// Copyright (c) 2020-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 softwa...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestAllDataTypesPod.ogn
{ "TestAllDataTypesPod": { "version": 1, "description": [ "This node is meant to exercise the data access for all available data types used by the POD type", "configuration file. It includes all other data types as well, to confirm that non-overridden", "types ret...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestDeformer.cpp
// Copyright (c) 2019-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.test/omni/graph/test/ogn/nodes/OgnRandomPointsPy.py
""" This is the implementation of the OGN node defined in OgnRandomPoints.ogn """ import numpy as np class OgnRandomPointsPy: """ Generate an array of the specified number of points at random locations within the bounding cube """ @staticmethod def compute(db) -> bool: """Compute the outp...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnComposeDouble3C.cpp
// Copyright (c) 2019-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.test/omni/graph/test/ogn/nodes/OgnTestTypeResolution.ogn
{ "TypeResolution": { "version": 1, "uiName": "Test Node: Attribute Type Resolution", "description": [ "Test node, explicitly constructed to make the attribute type resolution mechanism testable.", "It has output attributes with union and any types whose type will be ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnComposeDouble3C.ogn
{ "ComposeDouble3C": { "version": 1, "description": ["Example node that takes in the components of three doubles and outputs a double3"], "uiName": "Test Node: Compose Double3 (C++)", "icon": { "path": "TestNodeIcon.svg" }, "categories": "internal:test", ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestDataModel.cpp
// Copyright (c) 2022 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.test/omni/graph/test/ogn/nodes/OgnTestNanInf.cpp
// Copyright (c) 2022-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 softwa...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestGracefulShutdown.ogn
{ "TestGracefulShutdown": { "version": 1, "description": [ "Test node that exercises the internal state in such a way that if the extension shuts down before", "the state can be released on the nodes it will produce an error. Test scripts can use this to verify", ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnNodeDatabasePy.py
""" This node is designed to test database id. """ class OgnNodeDatabasePy: @staticmethod def compute(db) -> bool: db.outputs.id = id(db)
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestGracefulShutdown.cpp
// Copyright (c) 2022, 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.test/omni/graph/test/ogn/nodes/OgnComputeErrorCpp.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.test/omni/graph/test/ogn/nodes/OgnTestSubtract.py
""" Implementation of an OmniGraph node that subtracts a value from a double3 array """ class OgnTestSubtract: @staticmethod def compute(db): input_array = db.inputs.in_array # print(input_array) _ = db.inputs.value_to_subtract # print(value_to_subtract) db.outputs.out...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnBundleProducerPy.ogn
{ "BundleProducerPy": { "version": 1, "description": "Node that produces output bundle for change tracking", "language": "Python", "categories": "internal:test", "exclude": [ "usd", "docs" ], "uiName": "Test Node: Bundle Properties", "icon": { "pat...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnBundleProducerPy.py
""" This node is designed to produce output bundle and test bundle change tracking. """ class OgnBundleProducerPy: @staticmethod def compute(db) -> bool: # Enable tracking for output bundle db.outputs.bundle.changes().activate() # The output is being mutated by unit test retur...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestReadVariablePy.ogn
{ "omni.graph.test.TestReadVariablePy": { "version": 1, "description": ["Node that reads a value from a variable"], "uiName": "Read Variable", "categories": ["internal:test"], "exclude": ["tests", "usd", "docs"], "icon": { "path": "TestNodeIcon.svg" ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnBundleProperties.ogn
{ "BundleProperties": { "version": 1, "description": "Node that exposes properties of the bundle", "categories": "internal:test", "scheduling": ["threadsafe"], "exclude": ["usd", "docs"], "inputs": { "bundle": { "type": "bundle", ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestGatherRandomRotations.cpp
// Copyright (c) 2019-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 softwa...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnBundleChildConsumerPy.ogn
{ "BundleChildConsumerPy": { "version": 1, "description": "Consumes child bundle made by bundle child producer", "language": "Python", "uiName": "Test Node: Bundle Child Consumer", "icon": { "path": "TestNodeIcon.svg" }, "exclude": ["usd", "docs"],...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestDynamicAttributeMemory.ogn
{ "TestDynamicAttributeMemory": { "version": 1, "description": [ "Test node that exercises various memory locations for dynamic attributes.", "Add a dynamic input attribute named 'array' with type 'int[]' and a dynamic output attribute named", "'array' with type '...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestUsdCasting.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.test/omni/graph/test/ogn/nodes/OgnTestTypeResolution.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.test/omni/graph/test/ogn/nodes/OgnBundleChildProducerPy.ogn
{ "BundleChildProducerPy": { "version": 1, "description": "Produces child bundle for bundle child consumer", "language": "Python", "uiName": "Test Node: Bundle Child Producer", "icon": { "path": "TestNodeIcon.svg" }, "exclude": ["usd", "docs"], ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnRandomBundlePoints.ogn
{ "RandomBundlePoints": { "version": 1, "description": [ "Generate a bundle of 'bundleSize' arrays of 'pointCount' points at random locations within the", "bounding cube delineated by the corner points 'minimum' and 'maximum'." ], "uiName": "Test Node: Generat...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnFakeTutorialTupleData.ogn
{ "omni.tests.FakeTupleData" : { "version": 1, "categories": "internal:test", "scheduling": ["threadsafe"], "exclude": ["tests", "usd", "docs"], "description": [ "This is an alter-ego of a tutorial node that allows to test a change in the default OGN values. Do no...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestGatherRandomRotations.ogn
{ "TestGatherRandomRotations": { "description": ["A sample node that gathers (vectorizes) a bunch of translations and rotations for OmniHydra. It lays out the objects in a grid and assigns a random value for the rotation "], "uiName": "Test Node: Gather Random Rotations", "icon": { ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnComputeErrorCpp.ogn
{ "ComputeErrorCpp": { "description": [ "Generates a customizable error during its compute(), for testing", "purposes. C++ version." ], "metadata" : { "uiName": "Generate compute error (C++)" }, "icon": { "path": "TestNodeIcon.s...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnBundlePropertiesPy.ogn
{ "BundlePropertiesPy": { "version": 1, "description": "Node that exposes properties of the bundle", "language": "Python", "categories": "internal:test", "exclude": [ "usd", "docs" ], "uiName": "Test Node: Bundle Properties", "icon": { "path": "Tes...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestSchedulingHintsList.ogn
{ "TestSchedulingHintsList": { "description": [ "Test node for scheduling hints specified by a list.", "Note that the scheduling hints do not correspond to what the node actually does, they are just for testing." ], "version": 1, "language": "python", ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestAllowedTokens.ogn
{ "TestAllowedTokens": { "version": 1, "description": ["Example node testing the allowedToken list on attributes"], "language": "python", "uiName": "Test Node: Allowed Tokens (Python)", "icon": { "path": "TestNodeIcon.svg" }, "categories": "interna...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestTupleArrays.ogn
{ "TupleArrays": { "version": 1, "description": "This is a test node that passes tuple array values through, multiplied by a constant", "language": "python", "uiName": "Test Node: Tuple Array Multiplier", "icon": { "path": "TestNodeIcon.svg" }, "ca...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestAddAnyTypeAnyMemory.cpp
// Copyright (c) 2019-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 softwa...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestBundleAttributeInterpolation.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.test/omni/graph/test/ogn/nodes/OgnDecomposeDouble3C.cpp
// Copyright (c) 2019-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.test/omni/graph/test/ogn/nodes/OgnTestSerial.ogn
{ "TestSerial": { "version": 1, "description": ["Test whether a node was executed serially within the execution framework."], "uiName": "Test Node: Serial", "icon": { "path": "TestNodeIcon.svg" }, "categories": "internal:test", "exclude": ["tests",...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestNanInfPy.ogn
{ "TestNanInfPy": { "version": 1, "description": "Test node that exercises specification of NaN and Inf numbers, tuples, and arrays", "uiName": "Python Test Node: Exercise NaN and Inf", "language": "Python", "icon": { "path": "TestNodeIcon.svg" }, ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/nodes/OgnTestDeformer.ogn
{ "TestDeformer": { "version": 1, "description": [ "Test deformer node that applies a sine wave to a mesh. Set up for Realm processing in the compute(), and", " will not compute if connected to upstream node of same type with multiplier set to zero - for testing of", ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestAddAnyTypeAnyMemory.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnComputeErrorCpp.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestAllDataTypesCarb.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundleChildConsumerPy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundleConsumer.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundlePropertiesPy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestCppKeywords.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnComposeDouble3C.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnExecInputEnabledTest.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnSubtractDoubleC.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnComputeErrorPy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/__init__.py
"""====== GENERATED BY omni.graph.tools - DO NOT EDIT ======""" import omni.graph.tools._internal as ogi ogi.import_tests_in_directory(__file__, __name__)
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestAllDataTypes.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestAllDataTypesPy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnNodeDatabasePy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestCategoryDefinitions.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundleProducerPy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestNanInf.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnMultiply2IntArray.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestDeformer.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnDecomposeDouble3C.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestAllDataTypesPod.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundleProducer.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnAdd2IntArray.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestTupleArrays.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundleConsumerPy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestAllowedTokens.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnTestNanInfPy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundleChildProducerPy.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundleProperties.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/TestOgnBundleToTarget.py
import omni.kit.test import omni.graph.core as og import omni.graph.core.tests as ogts from omni.graph.core.tests.omnigraph_test_utils import _TestGraphAndNode from omni.graph.core.tests.omnigraph_test_utils import _test_clear_scene from omni.graph.core.tests.omnigraph_test_utils import _test_setup_scene from omni.grap...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/ogn/tests/usd/OgnExecInputEnabledTestTemplate.usda
#usda 1.0 ( doc ="""Generated from node description file OgnExecInputEnabledTest.ogn Contains templates for node types found in that file.""" ) def OmniGraph "TestGraph" { token evaluator:type = "push" int2 fileFormatVersion = (1, 3) token flatCacheBacking = "Shared" token pipelineStage = "pipeline...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/_impl/extension.py
"""Support required by the Carbonite extension loader""" import omni.ext from ..bindings._omni_graph_test import acquire_interface as _acquire_interface # noqa: PLE0402 from ..bindings._omni_graph_test import release_interface as _release_interface # noqa: PLE0402 class _PublicExtension(omni.ext.IExt): """Obje...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_rewire_exec_input.py
"""Tests reparenting workflows""" import omni.graph.core as og import omni.graph.core.tests as ogts # ====================================================================== class TestRewireExecInput(ogts.OmniGraphTestCase): """Run tests that exercises execution of nodes after various connection and disconnection...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_sim_cycle_dependencies.py
import omni.graph.core as og import omni.graph.core.tests as ogts class TestSimCycleDependencies(ogts.OmniGraphTestCase): # ---------------------------------------------------------------------- async def test_compute_counts(self): # Create a dirty_push graph with two ConstantInt nodes feeding into ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_rename_and_reparent.py
"""Tests reparenting and renaming workflows""" from math import isclose, nan import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.test import omni.usd # ====================================================================== class TestRenameAndReparent(ogts.OmniGraphTestCase): """Run ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_bugs.py
"""Test cases reproducing bugs that need to be fixed""" import os import tempfile import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.test import omni.usd from omni.kit import commands as kit_commands # ====================================================================== class TestBug...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_omnigraph_examples.py
import math import re import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.test import omni.timeline import omni.usd from pxr import Gf, Sdf, UsdGeom def example_deformer1(input_point, width, height, freq): tx = freq * (input_point[0] - width) / width ty = 1.5 * freq * (input_poi...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_gather_scatter.py
"""Basic tests of the compute graph""" import unittest import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.test import omni.usd from pxr import Gf, UsdGeom # ====================================================================== class TestGatherScatter(ogts.OmniGraphTestCase): """R...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_actiongraph.py
"""Basic tests of the action graph""" import omni.client import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.test import omni.usd from omni.kit.commands import execute from pxr import Gf, Sdf, Vt # ====================================================================== class TestActionGra...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_autonode.py
""" Contains support for testing methods in ../autonode/autonode.py """ import enum import random import sys import unittest from typing import Tuple import omni.graph.core as og import omni.graph.core.autonode as oga import omni.graph.core.tests as ogts # Test warp integration # Detect the testing environment and ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_omnigraph_general.py
# noqa: PLC0302 """Basic tests of the compute graph""" import os import tempfile import omni.graph.core as og import omni.graph.core._unstable as ogu import omni.graph.core.tests as ogts import omni.graph.tools.ogn as ogn import omni.kit.commands import omni.kit.test import omni.kit.undo import omni.usd import omni.us...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_instancing.py
""" Tests for omnigraph instancing """ import os import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.test import omni.usd from pxr import OmniGraphSchemaTools, Sdf # ====================================================================== class TestInstancing(ogts.OmniGraphTestCase): ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_compound_node_type_api.py
"""Tests related to the CompoundNodeType python APIs""" import carb import omni.graph.core as og import omni.graph.core._unstable as ogu import omni.graph.core.tests as ogts import omni.kit.test import omni.usd class TestCompoundNodesAPI(ogts.OmniGraphTestCase): """Tests that validate the ICompoundNodeType + pyth...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_scheduling_types.py
"""Tests related to the scheduling information feature""" import omni.graph.core as og import omni.graph.core.tests as og_tests # ============================================================================================================== class TestSchedulingHints(og_tests.OmniGraphTestCase): """Testing to ensu...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_target_type.py
import omni.graph.core as og import omni.graph.core.tests as ogts import omni.usd from pxr import OmniGraphSchemaTools GRAPH_TARGET_PRIM = og.INSTANCING_GRAPH_TARGET_PATH class TestTargetType(ogts.OmniGraphTestCase): """Tests related to using the target attribute type""" _graph_path = "/World/TestGraph" ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_variables.py
# pylint: disable=too-many-lines """ Tests for omnigraph variables """ import os import string import tempfile from typing import List, Optional, Set import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.test import omni.usd from omni.kit.usd.layers import LayerUtils from pxr import OmniGr...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_api.py
"""Testing the stability of the API in this module""" import omni.graph.core.tests as ogts import omni.graph.test as ogtest from omni.graph.tools.tests.internal_utils import _check_module_api_consistency, _check_public_api_contents # ====================================================================== class _TestOm...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_topology_commands.py
# noqa: PLC0302 """Tests for the various OmniGraph commands""" from typing import List, Tuple import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.commands import omni.kit.test import omni.usd from pxr import OmniGraphSchemaTools, Usd class TestTopologyCommands(ogts.OmniGraphTestCase): ...
omniverse-code/kit/exts/omni.graph.test/omni/graph/test/tests/test_omnigraph_context.py
"""Basic tests of the graph context""" import omni.graph.core as og import omni.graph.core.tests as ogts import omni.kit.commands import omni.kit.test import omni.kit.undo import omni.usd import omni.usd.commands from pxr import Usd class TestOmniGraphContext(ogts.OmniGraphTestCase): """Tests graph context funct...