file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/gsl/README.packman.md | * Package: gsl
* Version: 3.1.0.1
* From: ssh://git@gitlab-master.nvidia.com:12051/omniverse/externals/gsl.git
* Branch: master
* Commit: 5e0543eb9d231a0d3ccd7f5789aa51d1c896f6ae
* Time: Fri Nov 06 14:03:26 2020
* Computername: KPICOTT-LT
* Packman: 5.13.2
|
omniverse-code/kit/gsl/PACKAGE-INFO.yaml | Package : gsl
|
omniverse-code/kit/gsl/appveyor.yml | shallow_clone: true
platform:
- x86
- x64
configuration:
- Debug
- Release
image:
- Visual Studio 2017
- Visual Studio 2019
environment:
NINJA_TAG: v1.8.2
NINJA_SHA512: 9B9CE248240665FCD6404B989F3B3C27ED9682838225E6DC9B67B551774F251E4FF8A207504F941E7C811E7A8BE1945E7BCB94472A335EF15E23A0200A32E6D5
... |
omniverse-code/kit/gsl/CMakeLists.txt | cmake_minimum_required(VERSION 3.1.3...3.16)
project(GSL VERSION 3.1.0 LANGUAGES CXX)
include(ExternalProject)
find_package(Git)
# Use GNUInstallDirs to provide the right locations on all platforms
include(GNUInstallDirs)
# creates a library GSL which is an interface (header files only)
add_library(GSL INTERFACE)
... |
omniverse-code/kit/gsl/CMakeSettings.json | {
"configurations": [
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [
"msvc_x64_x64"
],
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
"installRoot": "${env.USERPROFILE}\\CMakeB... |
omniverse-code/kit/gsl/README.md | # GSL: Guidelines Support Library
[](https://travis-ci.org/Microsoft/GSL) [](https://ci.appveyor.com/project/neilmacintosh/GSL)
The Guidelines Support Library ... |
omniverse-code/kit/gsl/PACKAGE-LICENSES/gsl-LICENSE.md | Copyright (c) 2015 Microsoft Corporation. All rights reserved.
This code is licensed under the MIT License (MIT).
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includi... |
omniverse-code/kit/exts/omni.kit.material.library/docs/index.rst | omni.kit.material.library
###########################
Material Library
.. toctree::
:maxdepth: 1
CHANGELOG
Python API Reference
*********************
.. automodule:: omni.kit.material.library
:platform: Windows-x86_64, Linux-x86_64
:members:
:undoc-members:
:imported-members:
:exclude... |
omniverse-code/kit/exts/omni.kit.window.imageviewer/PACKAGE-LICENSES/omni.kit.window.imageviewer-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.kit.window.imageviewer/config/extension.toml | [package]
version = "1.0.6"
category = "Internal"
feature = true
title = "Image Viewer"
description="Adds context menu in the Content Browser that allows to view images."
authors = ["NVIDIA"]
changelog = "docs/CHANGELOG.md"
preview_image = "data/preview.png"
icon = "data/icon.png"
readme = "docs/README.md"
[dependenc... |
omniverse-code/kit/exts/omni.kit.window.imageviewer/omni/kit/window/imageviewer/imageviewer.py | # Copyright (c) 2018-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.kit.window.imageviewer/omni/kit/window/imageviewer/__init__.py | # Copyright (c) 2018-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.kit.window.imageviewer/omni/kit/window/imageviewer/imageviewer_utils.py | # Copyright (c) 2018-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.kit.window.imageviewer/omni/kit/window/imageviewer/content_menu.py | # Copyright (c) 2018-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.kit.window.imageviewer/omni/kit/window/imageviewer/imageviewer_extension.py | # Copyright (c) 2018-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.kit.window.imageviewer/omni/kit/window/imageviewer/singleton.py | # Copyright (c) 2018-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.kit.window.imageviewer/omni/kit/window/imageviewer/tests/__init__.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.imageviewer/omni/kit/window/imageviewer/tests/imageviewer_test.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.imageviewer/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.0.6] - 2022-06-17
### Changed
- Properly linted
## [1.0.5] - 2021-09-20
### Changed
- Fixed unittest path to golden image.
## [1.0.4] - 2021-08-18
### Changed
- Fixed console_browser leak
## [1.0.3] - 2020-12-08
### ... |
omniverse-code/kit/exts/omni.kit.window.imageviewer/docs/README.md | # Image Viewer [omni.kit.window.imageviewer]
It's The extension that can display stored graphical images in a new window.
It can handle various graphics file formats.
|
omniverse-code/kit/exts/omni.kit.window.audiorecorder/PACKAGE-LICENSES/omni.kit.window.audiorecorder-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.kit.window.audiorecorder/config/extension.toml | [package]
title = "Kit Audio Recorder Window"
category = "Audio"
version = "1.0.1"
description = "A simple audio recorder window"
detailedDescription = """This adds a window for recording audio to file from an audio
capture device.
"""
preview_image = "data/preview.png"
authors = ["NVIDIA"]
keywords = ["audio", "captur... |
omniverse-code/kit/exts/omni.kit.window.audiorecorder/omni/kit/window/audiorecorder/__init__.py | from .audio_recorder_window import *
|
omniverse-code/kit/exts/omni.kit.window.audiorecorder/omni/kit/window/audiorecorder/audio_recorder_window.py | # 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 rel... |
omniverse-code/kit/exts/omni.kit.window.audiorecorder/omni/kit/window/audiorecorder/tests/__init__.py | from .test_audiorecorder_window import * # pragma: no cover
|
omniverse-code/kit/exts/omni.kit.window.audiorecorder/omni/kit/window/audiorecorder/tests/test_audiorecorder_window.py | ## 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 a... |
omniverse-code/kit/exts/omni.command.usd/PACKAGE-LICENSES/omni.command.usd-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.command.usd/config/extension.toml | [package]
title = "Command USD"
description = "Usefull command for USD."
category = "Internal"
version = "1.0.2"
readme = "docs/README.md"
changelog="docs/CHANGELOG.md"
preview_image = "data/preview.png"
icon = "data/icon.png"
[[python.module]]
name = "omni.command.usd"
[dependencies]
"omni.kit.commands" = {}
"omni.u... |
omniverse-code/kit/exts/omni.command.usd/omni/command/usd/__init__.py | from .commands.usd_commands import *
|
omniverse-code/kit/exts/omni.command.usd/omni/command/usd/commands/__init__.py | from .usd_commands import *
from .parenting_commands import *
|
omniverse-code/kit/exts/omni.command.usd/omni/command/usd/commands/parenting_commands.py | import omni.kit.commands
import omni.usd
from typing import List
from pxr import Sdf
class ParentPrimsCommand(omni.kit.commands.Command):
def __init__(
self,
parent_path: str,
child_paths: List[str],
on_move_fn: callable = None,
keep_world_transform: bool = True
):
... |
omniverse-code/kit/exts/omni.command.usd/omni/command/usd/commands/usd_commands.py | import omni.kit.commands
import omni.usd
from typing import List
from pxr import Sdf
class TogglePayLoadLoadSelectedPrimsCommand(omni.kit.commands.Command):
def __init__(self, selected_paths: List[str]):
"""
Toggles the load/unload payload of the selected primitives undoable **Command**.
... |
omniverse-code/kit/exts/omni.command.usd/omni/command/usd/tests/__init__.py | from .test_command_usd import *
|
omniverse-code/kit/exts/omni.command.usd/omni/command/usd/tests/test_command_usd.py | import carb
import omni.kit.test
import omni.kit.undo
import omni.kit.commands
import omni.usd
from pxr import Sdf, Usd
def get_stage_default_prim_path(stage):
if stage.HasDefaultPrim():
return stage.GetDefaultPrim().GetPath()
else:
return Sdf.Path.absoluteRootPath
class TestCommandUsd(omni... |
omniverse-code/kit/exts/omni.command.usd/docs/CHANGELOG.md |
## [1.0.2] - 2022-11-10
### Removed
- Removed dependency on omni.kit.test
## [1.0.1] - 2021-03-15
### Changed
- Added "ParentPrimsCommand" and "UnparentPrimsCommand"
## [0.1.0] - 2021-02-17
### Changed
- Add "TogglePayLoadLoadSelectedPrimsCommand" and "SetPayLoadLoadSelectedPrimsCommand"
|
omniverse-code/kit/exts/omni.command.usd/docs/README.md | # Command USD [omni.command.usd]
Usefull command for USD.
|
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/style.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/extension.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/__init__.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/render_loading.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/widget.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/window.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/tests/test_widget.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/tests/__init__.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.window.welcome/omni/kit/window/welcome/tests/test_window.py | # 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 and rel... |
omniverse-code/kit/exts/omni.kit.widget.search_delegate/omni/kit/widget/search_delegate/delegate.py | # Copyright (c) 2018-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.kit.widget.search_delegate/omni/kit/widget/search_delegate/style.py | # Copyright (c) 2018-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.kit.widget.search_delegate/omni/kit/widget/search_delegate/__init__.py | # Copyright (c) 2018-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.kit.widget.search_delegate/omni/kit/widget/search_delegate/model.py | # Copyright (c) 2018-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.kit.widget.search_delegate/omni/kit/widget/search_delegate/widget.py | # Copyright (c) 2018-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.kit.widget.search_delegate/omni/kit/widget/search_delegate/tests/__init__.py | ## Copyright (c) 2018-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 softw... |
omniverse-code/kit/exts/omni.kit.widget.search_delegate/omni/kit/widget/search_delegate/tests/test_search_field.py | ## Copyright (c) 2018-2019, 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 softw... |
omniverse-code/kit/exts/omni.kit.widget.search_delegate/docs/index.rst | omni.kit.widget.search_delegate
###############################
Base module that provides a search widget for searching the file system
.. toctree::
:maxdepth: 1
CHANGELOG
.. automodule:: omni.kit.widget.search_delegate
:platform: Windows-x86_64, Linux-x86_64
:members:
:show-inheritance:
:und... |
omniverse-code/kit/exts/omni.graph/PACKAGE-LICENSES/omni.graph-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/config/extension.toml | [package]
title = "OmniGraph Python"
version = "1.50.2"
category = "Graph"
readme = "docs/README.md"
description = "Contains the implementation of the OmniGraph core (Python Support)."
preview_image = "data/preview.png"
repository = ""
keywords = ["kit", "omnigraph", "core"]
# Main Python module, available as "import ... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_omni_graph_core.pyi | """pybind11 omni.graph.core bindings"""
from __future__ import annotations
import omni.graph.core._omni_graph_core
import typing
import carb.events._events
import numpy
import omni.core._core
import omni.graph.core._omni_graph_core._internal
import omni.graph.core._omni_graph_core._og_unstable
import omni.inspect._omni... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/commands.py | import traceback
import omni.graph.tools as __ogt
from ._impl.commands import * # noqa: F401,PLW0401,PLW0614
_trace = "".join(traceback.format_stack())
__ogt.DeprecatedImport(f"Import 'omni.graph.core as og; help(og.cmds)' to access the OmniGraph commands\n{_trace}")
|
omniverse-code/kit/exts/omni.graph/omni/graph/core/__init__.py | """
This file contains the interfaces that external Python scripts can use.
Import this file and use the APIs exposed below.
To get documentation on this module and methods import this file into a Python interpreter and run dir/help, like this:
.. code-block:: python
import omni.graph.core as og
help(og.get_... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/setup.py | from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
setup(
name="torch_wrap",
ext_modules=[CUDAExtension("torch_wrap", ["Py_WrapTensor.cpp"])],
cmdclass={"build_ext": BuildExtension},
)
|
omniverse-code/kit/exts/omni.graph/omni/graph/core/autonode.py | """AutoNode - module for decorating code to populate it into OmniGraph nodes.
Allows generating nodes by decorating free functions, classes and modules by adding `@AutoFunc()` or `@AutoClass()` to
the declaration of the class.
Generating code relies on function signatures provided by python's type annotations, theref... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/omnigraph_utils.py | from omni.graph.tools import DeprecationError
raise DeprecationError("Import of omnigraph_utils no longer supported. Use 'import omni.graph.core as og' instead.")
|
omniverse-code/kit/exts/omni.graph/omni/graph/core/_1_33.py | """Backward compatible module for omni.graph. version 1.33 and earlier.
This module contains everything that was formerly visible by default but will no longer be part of the Python API
for omni.graph. If there is something here you rely on contact the OmniGraph team and let them know.
Currently the module is in pre-d... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_unstable.py | # =============================================================================================================================
# This submodule is work-in-progress and subject to change without notice
# _ _ _____ ______ _______ __ ______ _ _ _____ ______ ___ _ _____ _____ _____... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/typing.py | """OmniGraph submodule that handles all of the OmniGraph API typing information.
.. code-block:: python
import omni.graph.core.typing as ogty
def do_attribute_stuff(attribute: ogty.Attribute_t):
pass
"""
from ._impl.typing import (
Attribute_t,
Attributes_t,
AttributeSpec_t,
AttributeS... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/bindings.py | """Temporary measure for backwards compatibility to import bindings from old module structure.
The generated PyBind libraries used to be in omni/graph/core/bindings/. They were moved to
omni/graph/core to correspond to the example extension structure for Python imports. All this
file does is make the old import "impor... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/inspection.py | """Helpers for running inspection on OmniGraph objects"""
import json
from contextlib import suppress
from typing import Dict, List, Optional, Union
import carb
import omni.graph.core as og
from .errors import OmniGraphError
# The types the inspector understands
_OmniGraphObjectTypes = Union[og.Graph, og.GraphContex... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/attribute_types.py | """Support for nicer access to attribute types"""
from contextlib import suppress
import omni.graph.core as og
from .object_lookup import ObjectLookup
from .typing import AttributeWithValue_t
# Deprecated function support
from .v1_5_0.replaced_functions import BASE_DATA_TYPE_MAP # noqa
from .v1_5_0.replaced_functio... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/helpers.py | """
Classes and functions that provide simpler access to data through the ABI from Python.
Typically this creates a Pythonic layer over top of the ABI; flatcache in particular.
"""
import omni.graph.core as og # noqa
import omni.graph.tools as ogt
# ====================================================================... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/graph_controller.py | """Helpers for modifying the contents of a graph"""
from __future__ import annotations
import asyncio
from enum import Enum
from typing import Any, Dict, List, Optional, Tuple, Union
import omni.graph.core as og
import omni.graph.tools.ogn as ogn
import omni.kit
import omni.usd
from carb import log_info
from pxr impo... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/controller.py | # noqa: PLC0302
"""Utilities that handles interactions with the set of OmniGraph graphs and their contents.
The main class is og.Controller, which is an aggregate that implements each of the smaller interfaces that handle
various pieces of the graph manipulation. They are mainly kept separate to avoid a big monolithic... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/registration.py | """Utilities for managing OmniGraph Python node registration"""
from contextlib import suppress
from pathlib import Path
from types import ModuleType
import omni.graph.tools as ogt
from .register_ogn_nodes import register_ogn_nodes
# ================================================================================
c... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/data_view.py | """Helper class to access data values from the graph. Is also encapsulated in the all-purpose og.Helper class."""
from contextlib import contextmanager
from typing import Any, Dict, List, Optional
import omni.graph.core as og
from .attribute_values import AttributeDataValueHelper, AttributeValueHelper, WrappedArrayTy... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/deprecate.py | r"""This module has moved to omni.graph.tools.deprecate. This file is only here for backward compatibility.
_____ ______ _____ _____ ______ _____ _______ ______ _____
| __ \ | ____|| __ \ | __ \ | ____|/ ____| /\ |__ __|| ____|| __ \
| | | || |__ | |__) || |__) || |__ | | / ... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/database.py | # pylint: disable=too-many-lines
"""
Implementation of the support for the generated node database, which provides access tailored to the specific
configuration of a node.
"""
from __future__ import annotations
import inspect
from contextlib import suppress
from dataclasses import dataclass
from functools import parti... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/commands.py | """
Expose the public interface for all commands that work with OmniGraph. All of the available commands are packaged
up into a single "cmds" object with any redundant "Command" suffix removed. This is how you would access any of
the OmniGraph commands:
.. code-block:: python
import omni.graph.core as og
og.c... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/data_typing.py | """Contains support for wrapping Python objects around FlatCache typed data
These patterns draw heavily on the interfaces used by numpy as that is what is provided when dealing with Python
data on the CPU. The intent is to make the data interface pattern as similar as possible to make dealing with it
more consistent, ... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/extension.py | """Extension implementation required by Carbonite extension loader"""
# These are used by the extension and require explicit import here
import importlib
import json
import time
from contextlib import suppress
from pathlib import Path
from typing import List, Set, Tuple, Union
import carb
import carb.profiler
import o... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/instancing_commands.py | from typing import List, Optional
import omni
from omni.kit.usd_undo import UsdLayerUndo
from pxr import OmniGraphSchema, OmniGraphSchemaTools, Sdf
class ApplyOmniGraphAPICommand(omni.kit.commands.Command):
def __init__(
self, layer: Sdf.Layer = None, paths: Optional[List[Sdf.Path]] = None, graph_path: S... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/__init__.py | |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/register_ogn_nodes.py | """
Runtime helpers to make registration and regeneration of OGN Python files automatic
"""
import os
import re
from importlib import import_module
from pathlib import Path
from typing import Callable, Dict, List, Tuple
import carb
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
from .settings impor... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/topology_commands.py | # noqa: PLC0302
"""
Commands that modify the topology of the OmniGraph
"""
import asyncio
from contextlib import suppress
from typing import Any, List, Optional, Tuple, Union
import carb
import omni.graph.core as og
import omni.kit
import omni.kit.commands
import omni.usd
from .object_lookup import ObjectLookup
from ... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/object_lookup.py | """Accessor for objects associated with OmniGraph"""
import os
from typing import List, Optional, Tuple, Union
import omni.graph.core as og
import omni.usd
from carb import log_info, log_warn
from pxr import Sdf, Usd
from .typing import (
AttributeSpec_t,
AttributeSpecs_t,
AttributeType_t,
GraphSpec_t... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/runtime.py | # The information bracketed here with begin/end describes the interface that is recommended for use with runtime
# attributes. The documentation uses these markers to perform a literal include of this code into the docs so that
# it can be the single source of truth. Note that the interface described here is not the co... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/errors.py | """Implementation details for internal OmniGraph error types"""
import traceback
from typing import Optional
from .object_lookup import ObjectLookup
from .typing import Attribute_t
# ======================================================================
class OmniGraphError(Exception):
"""Exception to raise when... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/utils.py | """
A collection of assorted utilities used by the OmniGraph scripts
"""
import os
import sys
from contextlib import contextmanager, suppress
from dataclasses import dataclass
from functools import wraps
from typing import Any, Callable, Dict, List, Optional, Tuple, Union
import carb
import numpy as np
import omni.gra... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/generate_ogn.py | """Support for generating .ogn content from existing nodes"""
import json
from pathlib import Path
from typing import Any, Dict, List, Tuple, Union
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
# ========================================================================... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/node_controller.py | """Helpers for modifying the contents of a node"""
from typing import Any, Dict, List, Optional
import omni.graph.core as og
from .object_lookup import ObjectLookup
from .typing import Attribute_t, AttributeType_t, ExtendedAttribute_t, Node_t
from .utils import _flatten_arguments, _Unspecified
# ===================... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/attribute_values.py | """Getting and setting values for og.Attribute and og.AttributeData"""
from enum import Enum, auto
from typing import Any, Optional, Tuple
import numpy as np
import omni.graph.core as og
import omni.graph.tools as ogt
from .attribute_types import extract_attribute_type_information
from .data_typing import DataWrapper... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/versions.py | """Management of version compatibility information for the extensions (where not handled by the extension manager)"""
from enum import Enum, auto
from typing import Tuple
import carb
import omni.kit.app
# Version information returned from the extension manager
VersionType = Tuple[int, int, int, str, str]
class Comp... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/extension_information.py | """Helper to manage information about nodes, node types and their extensions"""
import json
import os
from collections import defaultdict
from typing import Dict, List, Tuple
import omni.ext
import omni.graph.core as og
import omni.kit
import omni.usd
class ExtensionInformation:
"""Class that manages information... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/settings.py | """Management for the OmniGraph settings.
The setting can be checked directly using this model:
import omni.graph.core as og
if og.Settings()(og.Settings.MY_SETTING_NAME):
# the setting value is True (for a boolean setting)
else:
# the setting value if False
You can also use the class as... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/typing.py | """Houses all of the type definitions for the various interface argument types.
For clarity these types are stored in a structure that gives them a unified naming:
.. code-block:: python
from omni.graph.core.typing import NodeSpec_t
def get_node(node_spec: NodeSpec_t):
pass
The convention used is th... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/dtypes.py | """This file contains the implementation for the dtype information describing Python data types.
It's mostly a repackaging of the information understood by OGN and FlatCache of the supported data types.
They can be passed around to provide identification of data whose type is not explicit, or ambiguous. (e.g. a Python... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/bundles.py | # The information bracketed here with begin/end describes the interface that is recommended for use with bundled
# attributes. The documentation uses these markers to perform a literal include of this code into the docs so that
# it can be the single source of truth. Note that the interface described here is not the co... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/performance.py | """Helpers for running performance tests on OmniGraph objects."""
import re
from contextlib import suppress
from typing import Dict, List
import carb
import carb.profiler
import omni.graph.core as og
# Regular expression matching event descriptions for node compute timing
RE_COMPUTE_EVENT = re.compile(r"(Py)?Compute\... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/value_commands.py | """
Commands that modify values of an existing OmniGraph
"""
from typing import Optional
import carb
import omni.graph.core as og
import omni.kit
import omni.kit.commands
import omni.usd
from omni.graph.core._impl.utils import ValueToSet_t
from pxr import Sdf
# =======================================================... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/lookup_tables.py | """
Support file for other functional modules. Kept separate just to keep the other scripts readable.
"""
from typing import Callable, Optional, Tuple
import omni.graph.core as og
__all__ = [
"IDX_ARRAY_GET",
"IDX_ARRAY_GET_TENSOR",
"IDX_ARRAY_SET",
"IDX_GET",
"IDX_GET_TENSOR",
"IDX_SET",
... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/type_resolution.py | """
Utilities helpful for type resolution logic
"""
from typing import Sequence, Tuple
import omni.graph.core as og
__all__ = ["resolve_base_coupled", "resolve_fully_coupled"]
# ================================================================================
def resolve_fully_coupled(attributes: Sequence[og.Attribu... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/autonode/util.py | from contextlib import contextmanager
PROP_INFIX = "__PROP__"
FUNC_INFIX = "__FUNC__"
GET_SUFFIX = "__GET"
SET_SUFFIX = "__SET"
NAMESPACE_INFIX = "__NSP__"
# ================================================================================
def sanitize_qualname(name: str) -> str:
return name.replace(".", NAMESPAC... |
omniverse-code/kit/exts/omni.graph/omni/graph/core/_impl/autonode/function.py | import copy
import functools
import inspect
import json
from collections import OrderedDict
from typing import Callable, Dict, List, _GenericAlias
import carb
from . import type_definitions
from .util import GeneratedCode
EXEC_ATTRIBUTE_PREFIX = "exec"
NODE_DATA_LITERAL = "node_data"
# =============================... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.