file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.kit.audio.test.usd/docs/CHANGELOG.md | # Changelog
## [1.0.1] - 2022-06-03
### Changed
- Pass tests with either new or old Viewport.
|
omniverse-code/kit/exts/omni.kit.audio.test.usd/docs/index.rst | omni.kit.audio.test.usd
###########################
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.kit.audio.test.usd/data/tests/audio_test2.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (507.1186080917092, 515.1566469182885, 4... |
omniverse-code/kit/exts/omni.kit.audio.test.usd/data/tests/audio_test.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double radius = 500
double3 target = (0, 0, 0)
}
dictionary Perspective = {
double3 position = (500.0000000000001, 500.0000000000001, 499.999... |
omniverse-code/kit/exts/omni.graph.rtxtest/PACKAGE-LICENSES/omni.graph.rtxtest-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.rtxtest/config/extension.toml | [package]
version = "1.0.0"
title = "OmniGraph Regression Testing For Tests Requiring RTX"
category = "Graph"
readme = "docs/README.md"
changelog = "docs/CHANGELOG.md"
description = "Contains test scripts and files used to test the OmniGraph functionality that exercises rendering."
repository = ""
keywords = ["kit", "o... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/__init__.py | """There is no public API to this module."""
__all__ = []
from ._impl.extension import _PublicExtension # noqa: F401
|
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/ogn/OgnScaleAOVTextureInPlaceDatabase.py | """Support for simplified access to data on nodes of type omni.graph.rtxtest.ScaleAOVTextureInPlace
Test node for the post render graph, to scale (brighten or darken) an AOV texture in place.
"""
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as og... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/ogn/OgnScaleAOVTextureDatabase.py | """Support for simplified access to data on nodes of type omni.graph.rtxtest.ScaleAOVTexture
Helper node that tests the ComputeParams and ComputeParamsBuilder APIs in Post Render Graph nodes.
"""
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as og... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/ogn/nodes/OgnScaleAOVTexture.ogn | {
"ScaleAOVTexture": {
"version": 1,
"description": "Helper node that tests the ComputeParams and ComputeParamsBuilder APIs in Post Render Graph nodes.",
"uiName": "Test Node: Exercise the Post Render Graph scaffolding APIs",
"icon": {
"path": "TestNodeIcon.svg"
}... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/ogn/nodes/OgnScaleAOVTextureInPlace.ogn | {
"ScaleAOVTextureInPlace": {
"version": 1,
"description": "Test node for the post render graph, to scale (brighten or darken) an AOV texture in place.",
"uiName": "Test Scale AOV In Place",
"icon": {
"path": "TestNodeIcon.svg"
},
"categories": "internal:t... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/ogn/nodes/OgnScaleAOVTextureInPlace.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.rtxtest/omni/graph/rtxtest/ogn/nodes/OgnTestPostRenderGraphNodeCuda.h | // 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... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/ogn/nodes/OgnScaleAOVTexture.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.rtxtest/omni/graph/rtxtest/_impl/extension.py | """Support required by the Carbonite extension loader"""
import omni.ext
from ..bindings._omni_graph_rtxtest import acquire_interface as _acquire_interface # noqa: PLE0402
from ..bindings._omni_graph_rtxtest import release_interface as _release_interface # noqa: PLE0402
class _PublicExtension(omni.ext.IExt):
"... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/tests/__init__.py | """There is no public API to this module."""
__all__ = []
scan_for_test_modules = True
"""The presence of this object causes the test runner to automatically scan the directory for unit test cases"""
|
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/tests/test_viewport_nodes.py | """test viewport nodes"""
import asyncio
import inspect
import pathlib
import carb.input
import omni.graph.core as og
import omni.usd
from omni.kit.ui_test.input import emulate_keyboard_press
from omni.rtx.tests import RtxTest, postLoadTestSettings, testSettings
from omni.rtx.tests.test_common import wait_for_update... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/tests/test_post_render_graph.py | """Tests for the post render graph scaffolding APIs"""
import carb
import inspect
import pathlib
import omni.graph.core as og
import omni.graph.core.tests as ogts
import omni.hydratexture
from omni.kit.viewport.utility import get_active_viewport
import omni.kit.test
from omni.kit.test_helpers_gfx.compare_utils import f... |
omniverse-code/kit/exts/omni.graph.rtxtest/omni/graph/rtxtest/tests/test_gpu_interop.py | """test gpu interop nodes"""
import pathlib
import omni.graph.core as og
import omni.kit.commands
import omni.kit.stage_templates
import omni.kit.test
import omni.usd
from omni.rtx.tests import RtxTest, postLoadTestSettings, testSettings
from omni.rtx.tests.test_common import wait_for_update
from pxr import UsdGeom
... |
omniverse-code/kit/exts/omni.graph.rtxtest/docs/CHANGELOG.md | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.0] - 2022-08-30
### Added
- Migrated the prerender graph te... |
omniverse-code/kit/exts/omni.graph.rtxtest/docs/README.md | # OmniGraph Integration Testing With RTX [omni.graph.rtxtest]
This extension contains support for tests that exercise RTX features such as the pre-render graph.
## Published Documentation
The automatically-published user guide from this repo can be viewed :ref:`here<index.rst>`
|
omniverse-code/kit/exts/omni.graph.rtxtest/docs/index.rst | .. _omni.graph.rtxtest:
OmniGraph Integration RTX Testing
#################################
.. tabularcolumns:: |L|R|
.. csv-table::
:width: 100%
**Extension**: omni.graph.rtxtest,**Documentation Generated**: |today|
There were some instabilities in `omni.graph.test` tests that were related to what looked li... |
omniverse-code/kit/exts/omni.graph.rtxtest/docs/Overview.md | # OmniGraph Integration RTX Testing
```{csv-table}
**Extension**: omni.graph.action,**Documentation Generated**: {sub-ref}`today`
```
There were some instabilities in `omni.graph.test` tests that were related to what looked like rendering issues. This
extension was created to isolate the requirement for rendering-rel... |
omniverse-code/kit/exts/omni.rtx.shadercache.vulkan/omni/rtx/shadercache/vulkan/__init__.py | from .shadercache_vulkan import ShaderCacheConfig
|
omniverse-code/kit/exts/omni.rtx.shadercache.vulkan/omni/rtx/shadercache/vulkan/shadercache_vulkan.py | import omni.ext
class ShaderCacheConfig(omni.ext.IExt):
def on_startup(self, ext_id):
"""Callback when the extension is starting up"""
pass
def on_shutdown(self):
"""Callback when the extension is shutting down"""
pass
|
omniverse-code/kit/exts/omni.kit.widget.nucleus_connector/PACKAGE-LICENSES/omni.kit.widget.nucleus_connector-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.widget.nucleus_connector/config/extension.toml | [package]
title = "Kit Nucleus Connector"
version = "1.0.3"
category = "Internal"
description = "Helper extension for connecting to Nucleus servers"
authors = ["NVIDIA"]
slackids = ["UQY4RMR3N"]
repository = ""
keywords = ["kit", "ui", "nucleus"]
changelog = "docs/CHANGELOG.md"
preview_image = "data/preview.png"
[depe... |
omniverse-code/kit/exts/omni.kit.widget.nucleus_connector/omni/kit/widget/nucleus_connector/connector.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.nucleus_connector/omni/kit/widget/nucleus_connector/style.py | from omni import ui
from pathlib import Path
CURRENT_PATH = Path(__file__).parent
DATA_PATH = CURRENT_PATH.parent.parent.parent.parent.joinpath("data")
ICON_PATH = DATA_PATH.joinpath("icons")
class Colors:
Background = ui.color.shade(0xFF23211F, light=0xFF535354)
Border = ui.color.shade(0xFFA1A1A1, light=0xF... |
omniverse-code/kit/exts/omni.kit.widget.nucleus_connector/omni/kit/widget/nucleus_connector/device_auth.py | # Copyright (c) 2018-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.kit.widget.nucleus_connector/omni/kit/widget/nucleus_connector/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.widget.nucleus_connector/omni/kit/widget/nucleus_connector/__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.nucleus_connector/omni/kit/widget/nucleus_connector/test_helper.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 a... |
omniverse-code/kit/exts/omni.kit.widget.nucleus_connector/omni/kit/widget/nucleus_connector/ui.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.nucleus_connector/omni/kit/widget/nucleus_connector/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.nucleus_connector/omni/kit/widget/nucleus_connector/tests/test_ui.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.nucleus_connector/omni/kit/widget/nucleus_connector/tests/test_device_auth.py | ## Copyright (c) 2018-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 softw... |
omniverse-code/kit/exts/omni.kit.widget.nucleus_connector/omni/kit/widget/nucleus_connector/tests/test_connector.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.nucleus_connector/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.0.3] - 2023-02-17
### Added
- Adds authentication mode to ConnectorDialog, shows a simplified UI with only login info and cancel button
- Connecting to named server/reconnect/auth will now use authentication mode of Con... |
omniverse-code/kit/exts/omni.kit.widget.nucleus_connector/docs/index.rst | omni.kit.widget.nucleus_connector
#################################
A helper extension for connecting to the Nucleus server.
.. toctree::
:maxdepth: 1
CHANGELOG
.. automodule:: omni.kit.widget.nucleus_connector
:platform: Windows-x86_64, Linux-x86_64
:members:
:show-inheritance:
:undoc-member... |
omniverse-code/kit/exts/omni.graph.expression/PACKAGE-LICENSES/omni.graph.expression-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.expression/config/extension.toml | [package]
title = "OmniGraph Expression Node"
version = "1.1.2"
category = "Graph"
keywords = ["omnigraph", "expression"]
# Main module for the Python interface
[[python.module]]
name = "omni.graph.expression"
# Other extensions that need to load in order for this one to work
[dependencies]
"omni.graph" = {}
"omni.gr... |
omniverse-code/kit/exts/omni.graph.expression/omni/graph/expression/__init__.py | """There is no public API to this module."""
__all__ = []
from ._impl.extension import _PublicExtension # noqa: F401
import omni.graph.tools as ogt
ogt.DeprecatedImport("Use the omni.graph.scriptnode extension instead")
|
omniverse-code/kit/exts/omni.graph.expression/omni/graph/expression/_impl/extension.py | """Support required by the Carbonite extension loader."""
import omni.ext
# binding for C++ plugin interface
from ..bindings._omni_graph_expression import acquire_interface as _acquire_interface # noqa: PLE0402
from ..bindings._omni_graph_expression import release_interface as _release_interface # noqa: PLE0402
# p... |
omniverse-code/kit/exts/omni.graph.expression/omni/graph/expression/nodes/OgnExpression.py | import asteval
import carb
import carb.settings
import numpy as np
import omni.graph.core as cg
import omni.kit.pipapi
import omni.stageupdate
from pxr import Sdf
__IMPORT_WHITELIST__ = ["torch", "carb"]
def do_import(module, as_name=""):
if not as_name:
as_name = module
as_name = as_name[as_name.rfi... |
omniverse-code/kit/exts/omni.graph.expression/omni/graph/expression/tests/test_api.py | """Testing the stability of the API in this module"""
import omni.graph.core.tests as ogts
import omni.graph.expression as oge
from omni.graph.tools.tests.internal_utils import _check_module_api_consistency, _check_public_api_contents
# ======================================================================
class _Tes... |
omniverse-code/kit/exts/omni.graph.expression/omni/graph/expression/tests/__init__.py | """There is no public API to this module."""
__all__ = []
scan_for_test_modules = True
"""The presence of this object causes the test runner to automatically scan the directory for unit test cases"""
|
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/PACKAGE-LICENSES/omni.kit.widget.searchable_combobox-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.widget.searchable_combobox/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.4"
#Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]
# The title and description fields are primarly for displaying extension info in UI
title = "Searchable ComboBox"
# URL of the extension... |
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/omni/kit/widget/searchable_combobox/combo_model.py | import omni.ui as ui
import omni.kit.app
class ComboBoxListItem(ui.AbstractItem):
"""Single item of the model"""
def __init__(self, text):
super().__init__()
self.name_model = ui.SimpleStringModel(text)
# True when the item is visible
self.filtered = True
def prefilter(se... |
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/omni/kit/widget/searchable_combobox/search_widget.py | import asyncio
import omni.kit.app
import omni.ui as ui
from enum import IntFlag
class SearchModel(ui.AbstractValueModel):
def __init__(self, modified_fn):
super().__init__()
self._modified_fn = modified_fn
self.__str = ""
def is_in_string(self, string: str):
if self.__str == ... |
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/omni/kit/widget/searchable_combobox/__init__.py | from .search_widget import SearchModel, SearchWidget
from .combo_model import ComboBoxListItem, ComboBoxListModel, ComboBoxListDelegate
from .combo_widget import ComboListBoxWidget, build_searchable_combo_widget
|
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/omni/kit/widget/searchable_combobox/combo_widget.py | import asyncio
import carb.input
import omni.kit.app
import omni.appwindow
import omni.ui as ui
from typing import List
from .combo_model import ComboBoxListModel, ComboBoxListDelegate
from .search_widget import SearchWidget
class ComboListBoxWidget:
def __init__(
self,
search_widget: SearchWidget... |
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/omni/kit/widget/searchable_combobox/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 software an... |
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/omni/kit/widget/searchable_combobox/tests/test_search.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 a... |
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/docs/CHANGELOG.md | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.5] - 2022-05-18
+ Moved to kit
## [1.0.4] - 2021-11-26
+ Fi... |
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/docs/README.md | # Searchable ComboBox widget
To use:
```
from omni.kit.widget.searchable_combobox import build_searchable_combo_widget
def on_combo_click_fn(model):
component = model.get_value_as_string()
print(f"{component} selected")
component_list = ['3d Reconstruction', 'AEC Experience', 'AI Framework', 'AI Toybox', '... |
omniverse-code/kit/exts/omni.kit.widget.searchable_combobox/docs/index.rst | omni.kit.widget.searchable_combobox
###################################
Extension provides combobox widget with search functionality.
.. toctree::
:maxdepth: 1
CHANGELOG.md
|
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/camera_widget_delegate_manager.py | from .abstract_camera_widget_delegate import AbstractCameraButtonDelegate, AbstractCameraMenuItemDelegate
from pxr import Sdf
class CameraWidgetDelegateManager:
def destroy(self):
for delegate in AbstractCameraButtonDelegate.get_instances():
delegate.destroy()
for delegate in Abstrac... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/camera_list_delegate.py | __all__ = ["CameraListDelegate"]
import carb
import omni.usd
import omni.ui as ui
from typing import Optional
from omni.kit.viewport.menubar.core import IconMenuDelegate, USDAttributeModel
from pxr import Sdf
from .camera_widget_delegate_manager import CameraWidgetDelegateManager
class CameraListDelegate(IconMenuDe... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/style.py | from omni.ui import color as cl
import carb.tokens
from pathlib import Path
ICON_PATH = Path(carb.tokens.get_tokens_interface().resolve("${omni.kit.viewport.menubar.camera}")).joinpath("data").joinpath("icons").absolute()
ICON_CORE_PATH = Path(carb.tokens.get_tokens_interface().resolve("${omni.kit.viewport.menubar.cor... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/commands.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 and rel... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/extension.py | # Copyright (c) 2021-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.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/__init__.py | from .extension import *
from .abstract_camera_widget_delegate import * |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/utils.py | import omni.usd
from pxr import Sdf, Usd
from typing import Optional
SESSION_CAMERAS = {
"/OmniverseKit_Persp": "Perspective",
"/OmniverseKit_Top": "Top",
"/OmniverseKit_Front": "Front",
"/OmniverseKit_Right": "Right",
}
def get_camera_display(path: Sdf.Path, stage: Optional[Usd.Stage] = None):
... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/abstract_camera_widget_delegate.py | __all__ = ["AbstractCameraButtonDelegate", "AbstractCameraMenuItemDelegate"]
import abc
import weakref
import omni.ui as ui
from enum import IntEnum
from pxr import Sdf
from typing import Optional
class AbstractWidgetDelegate(abc.ABC):
"""
The base class for camera widget delegate. This delegate works for p... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/camera_menu_container.py | # Copyright (c) 2021-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.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/menu_item/single_camera_menu_item.py | import abc
from typing import Optional, Callable
import carb
import omni.ui as ui
from typing import Optional, Callable
from pxr import Sdf
from omni.kit.viewport.menubar.core import ViewportMenuDelegate, LabelMenuDelegate
from ..camera_widget_delegate_manager import CameraWidgetDelegateManager
from ..utils import get... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/menu_item/lens.py | import asyncio
from typing import Tuple, List
from pxr import Usd, Sdf
import omni.kit.app
import omni.ui as ui
from omni.ui import constant as fl
from .camera_setting import AbstractCameraSetting
from omni.kit.viewport.menubar.core import (
SeparatorDelegate,
SliderMenuDelegate,
ComboBoxMenuDelegate,
... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/menu_item/fstop.py | from pxr import Usd, Sdf
from typing import List
import omni.ui as ui
from omni.ui import constant as fl
from .camera_setting import AbstractCameraSetting
from omni.kit.viewport.menubar.core import SpinnerMenuDelegate, USDAttributeModel
__all__ = ["CameraFStop"]
class CameraFStop(AbstractCameraSetting):
def __in... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/menu_item/auto_exposure.py | from pxr import Usd, Sdf
from typing import List
import omni.ui as ui
from omni.ui import constant as fl
from .camera_setting import AbstractCameraSetting
from omni.kit.viewport.menubar.core import (
CheckboxMenuDelegate,
SpinnerMenuDelegate,
SliderMenuDelegate,
USDAttributeModel,
SettingModel,
)
... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/menu_item/camera_setting.py | import abc
from pxr import Usd, Sdf
from typing import List
import omni.ui as ui
from omni.kit.viewport.menubar.core import USDAttributeModel
__all__ = ["AbstractCameraSetting"]
class AbstractCameraSetting:
def __init__(self, model: USDAttributeModel, enabled: bool = True):
self._property_model = model
... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/menu_item/focal_distance.py |
from .camera_setting import AbstractCameraSetting
import omni.usd
import omni.ui as ui
from omni.ui import scene as sc
from omni.ui import constant as fl
import omni.kit.undo
import omni.kit.app
import omni.kit.commands
from omni.kit.viewport.menubar.core import SpinnerMenuDelegate, IconMenuDelegate, USDAttributeMode... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/menu_item/expand_menu_item.py | from typing import Dict, Optional
import omni.ui as ui
from omni.ui import constant as fl
class _ExpandButtonDelegate(ui.MenuDelegate):
"""Simple button with left arrow"""
def __init__(self, expanded: bool, **kwargs):
self._expanded = expanded
self.__icon: Optional[ui.Widget] = None
su... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/tests/test_api.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 a... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/tests/__init__.py | from .test_api import *
from .test_commands import *
from .test_ui import *
from .test_focal_distance import *
|
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/tests/test_ui.py | from omni.ui.tests.test_base import OmniUiTest
from omni.kit.viewport.menubar.camera import get_instance as _get_menubar_extension
from omni.kit.viewport.menubar.camera import SingleCameraMenuItemBase
from omni.kit.viewport.utility import get_active_viewport, get_active_viewport_window
import omni.usd
import omni.kit.a... |
omniverse-code/kit/exts/omni.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/tests/test_focal_distance.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.kit.viewport.menubar.camera/omni/kit/viewport/menubar/camera/tests/test_commands.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.kit.viewport.menubar.camera/docs/index.rst | omni.kit.viewport.menubar.camera
#################################
Camera Setting in Viewport MenuBar
.. toctree::
:maxdepth: 1
README
CHANGELOG
.. automodule:: omni.kit.viewport.menubar.camera
:platform: Windows-x86_64, Linux-x86_64
:members:
:undoc-members:
:show-inheritance:
:impor... |
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/PACKAGE-LICENSES/omni.kit.viewport.legacy_gizmos-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.viewport.legacy_gizmos/config/extension.toml | [package]
version = "1.0.10"
title = "Legacy Viewport Gizmo drawing"
description = "Deprecated API to draw gizmos in the viewport."
authors = ["NVIDIA"]
category = "Viewport"
repository = ""
readme = "docs/README.md"
keywords = ["kit", "viewport", "gizmo"]
changelog = "docs/CHANGELOG.md"
preview_image = "data/preview.... |
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/omni/kit/viewport/legacy_gizmos/__init__.py | |
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/omni/kit/viewport/legacy_gizmos/tests/test_legacy_gizmos.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 and rel... |
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/omni/kit/viewport/legacy_gizmos/tests/__init__.py | from .test_legacy_gizmos import TestLegacyGizmos
|
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.0.10] - 2023-01-31
### Added
- /app/viewport/grid/offset setting to control grid placement in relation to origin.
- Ability to disable bounding box updates during user intraction.
## [1.0.9] - 2023-01-25
### Added
- /a... |
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/docs/index.rst | omni.kit.viewport.legacy_gizmos
#################################################################################
API Reference
==============
.. automodule:: omni.kit.viewport.legacy_gizmos
:platform: Windows-x86_64, Linux-x86_64
:members:
:undoc-members:
:imported-members:
|
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/docs/Overview.md | # Overview
|
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/data/tests/gizmos.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
string boundCamera = "/OmniverseKit_Persp"
}
}
defaultPrim = "World"
metersPerUnit = 0.01
upAxis = "Y"
)
def Xform "World"
{
def DistantLight "defaultLight" (
apiSchemas = ["ShapingAPI"]
)
... |
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/data/tests/cameras.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Perspective = {
double3 position = (500, 500, 500)
double3 target = (0, 0, 0)
}
dictionary Front = {
double3 position = (0, 0, 150)
}
... |
omniverse-code/kit/exts/omni.kit.viewport.legacy_gizmos/data/tests/empty.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
string boundCamera = "/OmniverseKit_Persp"
}
}
defaultPrim = "World"
metersPerUnit = 0.01
upAxis = "Y"
)
def Xform "World"
{
}
def Camera "OmniverseKit_Persp" (
hide_in_stage_window = true
kind = "com... |
omniverse-code/kit/exts/omni.kit.notification_manager/PACKAGE-LICENSES/omni.kit.notification_manager-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.notification_manager/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.5"
category = "Internal"
# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]
# The title and description fields are primarly for displaying extension info in UI
title = "Notification Manager... |
omniverse-code/kit/exts/omni.kit.notification_manager/omni/kit/notification_manager/notification_info.py | class NotificationStatus:
WARNING = 0
INFO = 1
class NotificationButtonInfo:
def __init__(self, text, on_complete=None):
"""
Constructor for notification button.
text (str): The button text.
on_complete (Callable[]): The handler to handle button click.
"""
... |
omniverse-code/kit/exts/omni.kit.notification_manager/omni/kit/notification_manager/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.notification_manager/omni/kit/notification_manager/__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.notification_manager/omni/kit/notification_manager/manager.py | import asyncio
import carb
import omni.kit.app
import omni.ui as ui
from typing import List
from .notification_info import NotificationInfo, NotificationStatus
from .prompt import Prompt
SETTINGS_DISABLE_NOTIFICATIONS = "/exts/omni.kit.notification_manager/disable_notifications"
class Notification:
"""Handler... |
omniverse-code/kit/exts/omni.kit.notification_manager/omni/kit/notification_manager/prompt.py | import weakref
import omni.ui as ui
import omni.kit.app
import uuid
from .notification_info import NotificationStatus, NotificationButtonInfo, NotificationInfo
from .icons import Icons
HOVER_AREA_TRANSPARENT_STYLE = {
"background_color": 0x0,
"background_gradient_color": 0x0,
"background_selected_color": ... |
omniverse-code/kit/exts/omni.kit.notification_manager/omni/kit/notification_manager/icons.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.notification_manager/omni/kit/notification_manager/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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.