file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.kit.widget.nucleus_info/omni/kit/widget/nucleus_info/ui.py | # Copyright (c) 2018-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.kit.widget.nucleus_info/omni/kit/widget/nucleus_info/tests/test_discovery.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_info/omni/kit/widget/nucleus_info/tests/__init__.py | from .test_discovery import *
|
omniverse-code/kit/exts/omni.kit.widget.nucleus_info/docs/index.rst | omni.kit.widget.nucleus_info
#############################
.. toctree::
:maxdepth: 1
CHANGELOG
nucleus info Widgets
==========================
.. automodule:: omni.kit.widget.nucleus_info
:platform: Windows-x86_64, Linux-x86_64
:members:
:undoc-members:
:show-inheritance:
|
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/event.py | import carb.events
HOTKEY_REGISTER_EVENT: int = carb.events.type_from_string("omni.kit.hotkeys.core.HOTKEY_REGISTER")
HOTKEY_DEREGISTER_EVENT: int = carb.events.type_from_string("omni.kit.hotkeys.core.HOTKEY_DEREGISTER")
HOTKEY_CHANGED_EVENT: int = carb.events.type_from_string("omni.kit.hotkeys.core.HOTKEY_CHANGED")
|
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/registry.py | __all__ = ["HotkeyRegistry"]
from typing import List, Optional, Union, Dict, Tuple
import carb
import carb.settings
import omni.kit.app
from .hotkey import Hotkey
from .key_combination import KeyCombination
from .filter import HotkeyFilter
from .storage import HotkeyStorage
from .event import HOTKEY_REGISTER_EVENT, HOT... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/trigger.py | __all__ = ["HotkeyTrigger"]
import asyncio
import carb
import carb.input
import omni.appwindow
import omni.kit.app
from .registry import HotkeyRegistry
from .context import HotkeyContext
from .key_combination import KeyCombination
from .hovered_window import get_hovered_window
SETTING_ALLOW_LIST = "/exts/omni.kit.ho... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/extension.py | # pylint: disable=attribute-defined-outside-init
__all__ = ["get_hotkey_context", "get_hotkey_registry", "HotkeysExtension"]
import omni.ext
import carb
from .context import HotkeyContext
from .registry import HotkeyRegistry
from .trigger import HotkeyTrigger
from .keyboard_layout import USKeyboardLayout, GermanKeyb... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/__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.hotkeys.core/omni/kit/hotkeys/core/storage.py | __all__ = ["HotkeyDescription", "HotkeyStorage"]
import json
from dataclasses import dataclass, asdict
from typing import List, Optional, Dict, Tuple
import carb.settings
from .hotkey import Hotkey
from .filter import HotkeyFilter
from .key_combination import KeyCombination
# Hotkey ext id for all hotkeys created fro... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/keyboard_layout.py | import abc
from typing import Dict, List, Optional
import weakref
import carb.input
from .key_combination import KeyCombination
class KeyboardLayoutDelegate(abc.ABC):
"""Base class for keyboard layout delegates and registry of these same delegate instances.
Whenever an instance of this class is created, it ... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/filter.py | __all__ = ["HotkeyFilter"]
from typing import List, Optional
class HotkeyFilter:
"""
Hotkey filter class.
"""
def __init__(self, context: Optional[str] = None, windows: Optional[List[str]] = None):
"""
Define a hotkey filter object.
Keyword Args:
context (Optional[... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/hotkey.py | from typing import Optional, Union
import carb
from omni.kit.actions.core import get_action_registry, Action
from .key_combination import KeyCombination
from .filter import HotkeyFilter
class Hotkey:
"""
Hotkey object class.
"""
def __init__(
self,
hotkey_ext_id: str,
key: Un... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/context.py | __all__ = ["HotkeyContext"]
from typing import List, Optional
import carb.settings
SETTING_HOTKEY_CURRENT_CONTEXT = "/exts/omni.kit.hotkeys.core/context"
class HotkeyContext:
def __init__(self):
"""Represent hotkey context."""
self._queue: List[str] = []
self._settings = carb.settings.get... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/key_combination.py | __all__ = ["KeyCombination"]
from typing import Union, Optional, Dict, Tuple
import re
import carb
import carb.input
PREDEFINED_STRING_TO_KEYS: Dict[str, carb.input.Keyboard] = carb.input.KeyboardInput.__members__
class KeyCombination:
"""
Key binding class.
"""
def __init__(self, key: Union[str, car... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/hovered_window.py | __all__ = ["is_window_hovered", "get_hovered_window"]
from typing import Optional, List
import omni.ui as ui
def is_window_hovered(pos_x: float, pos_y: float, window: ui.Window) -> bool:
"""
Check if window under mouse position.
Args:
pos_x (flaot): X position.
pos_y (flaot): Y position.
... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/tests/test_registry.py | # pylint: disable=attribute-defined-outside-init
import omni.kit.test
import carb.events
from omni.kit.hotkeys.core import get_hotkey_registry, HotkeyFilter, Hotkey, HotkeyRegistry, HOTKEY_CHANGED_EVENT, HOTKEY_REGISTER_EVENT, HOTKEY_DEREGISTER_EVENT
from omni.kit.actions.core import get_action_registry
TEST_HOTKEY_E... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/tests/test_context.py | from typing import List
import omni.kit.test
# Import extension python module we are testing with absolute import path, as if we are external user (other extension)
from omni.kit.hotkeys.core import get_hotkey_context
import carb.settings
SETTING_HOTKEY_CURRENT_CONTEXT = "/exts/omni.kit.hotkeys.core/context"
# Havi... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/tests/__init__.py | from .test_key_combination import *
from .test_context import *
from .test_registry import *
from .test_trigger import *
from .test_keyboard_layout import *
|
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/tests/test_keyboard_layout.py | import omni.kit.test
import omni.kit.ui_test as ui_test
import carb.input
from omni.kit.hotkeys.core import get_hotkey_context, get_hotkey_registry, HotkeyFilter
from omni.kit.actions.core import get_action_registry
TEST_HOTKEY_EXT_ID = "omni.kit.hotkey.test.hotkey"
TEST_ACTION_EXT_ID = "omni.kit.hotkey.test.action"
... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/tests/test_trigger.py | import omni.kit.test
import omni.kit.ui_test as ui_test
import carb.input
from omni.kit.hotkeys.core import get_hotkey_context, get_hotkey_registry, HotkeyFilter, KeyCombination
from omni.kit.actions.core import get_action_registry
SETTING_ALLOW_LIST = "/exts/omni.kit.hotkeys.core/allow_list"
TEST_HOTKEY_EXT_ID = "o... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/omni/kit/hotkeys/core/tests/test_key_combination.py | # NOTE:
# omni.kit.test - std python's unittest module with additional wrapping to add suport for async/await tests
# For most things refer to unittest docs: https://docs.python.org/3/library/unittest.html
import omni.kit.test
# Import extension python module we are testing with absolute import path, as if we are ... |
omniverse-code/kit/exts/omni.kit.hotkeys.core/docs/index.rst | omni.kit.hotkeys.core
###########################
omni.kit.hotkeys.core
.. toctree::
:maxdepth: 1
CHANGELOG
USAGE |
omniverse-code/kit/exts/omni.gpu_foundation/omni/gpu_foundation_factory/__init__.py | from ._gpu_foundation_factory import *
from .impl.foundation_extension import GpuFoundationConfig
# Cached interface instance pointer
def get_gpu_foundation_factory_interface() -> IGpuFoundationFactory:
"""Returns cached :class:`omni.gpu_foundation.IGpuFoundationFactory` interface"""
if not hasattr(get_gpu_fo... |
omniverse-code/kit/exts/omni.gpu_foundation/omni/gpu_foundation_factory/_gpu_foundation_factory.pyi | """
This module contains bindings to GPU Foundation.
"""
from __future__ import annotations
import omni.gpu_foundation_factory._gpu_foundation_factory
import typing
import carb._carb
__all__ = [
"Device",
"IGpuFoundationFactory",
"RpResource",
"Texture",
"TextureFormat",
"acquir... |
omniverse-code/kit/exts/omni.kit.property.material/PACKAGE-LICENSES/omni.kit.property.material-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.property.material/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.8.19"
category = "Internal"
feature = true
# 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 = "Mater... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/__init__.py | from .scripts import *
|
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/scripts/material_utils.py | import carb
from pxr import Usd, Sdf, UsdShade
class Constant:
def __setattr__(self, name, value):
raise Exception(f"Can't change Constant.{name}")
ICON_SIZE = 96
BOUND_LABEL_WIDTH = 50
FONT_SIZE = 14.0
SDF_PATH_INVALID = "$NONE$"
PERSISTENT_SETTINGS_PREFIX = "/persistent"
MIXED =... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/scripts/__init__.py | from .material_properties import *
|
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/scripts/usd_attribute_widget.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.property.material/omni/kit/property/material/scripts/subIdentifier_utils.py | from typing import List
from collections import defaultdict, OrderedDict
from omni.kit.window.property.templates import SimplePropertyWidget, LABEL_WIDTH, LABEL_HEIGHT, HORIZONTAL_SPACING
from omni.kit.property.usd.usd_property_widget import (
UsdPropertiesWidget,
UsdPropertyUiEntry,
UsdPropertiesWidgetBuil... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/scripts/context_menu.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.property.material/omni/kit/property/material/scripts/usd_binding_widget.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.property.material/omni/kit/property/material/scripts/material_properties.py | import os
import carb
import omni.ext
from pathlib import Path
from pxr import Sdf, UsdShade, UsdUI
from omni.kit.material.library.treeview_model import MaterialListModel, MaterialListDelegate
TEST_DATA_PATH = ""
class MaterialPropertyExtension(omni.ext.IExt):
def __init__(self):
self._registered = False
... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/test_drag_drop.py | import omni.kit.test
from pathlib import Path
from pxr import Sdf, UsdShade, UsdGeom
from omni.ui.tests.test_base import OmniUiTest
from omni.kit import ui_test
from omni.kit.test_suite.helpers import select_prims, arrange_windows
from omni.kit.window.content_browser.test_helper import ContentBrowserTestHelper
class... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/test_material_thumb.py | import weakref
import unittest
import pathlib
import omni.kit.test
import omni.ui as ui
import carb
from pathlib import Path
from pxr import Sdf, UsdShade, UsdGeom
from omni.ui.tests.test_base import OmniUiTest
from omni.kit import ui_test
from omni.kit.test_suite.helpers import (
open_stage,
get_test_data_path... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/drag_drop_path.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.property.material/omni/kit/property/material/tests/create_prims.py | import os
import carb
import carb.settings
import omni.kit.commands
from pxr import Usd, Sdf, UsdGeom, Gf, Tf, UsdShade, UsdLux
def create_test_stage():
created_mdl_prims = []
created_bound_prims = []
stage = omni.usd.get_context().get_stage()
rootname = ""
if stage.HasDefaultPrim():
rootn... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/test_add_mdl_file.py | import omni.kit.test
import omni.kit.app
from pathlib import Path
from pxr import Sdf, UsdShade, UsdGeom
from omni.ui.tests.test_base import OmniUiTest
from omni.kit import ui_test
from omni.kit.test_suite.helpers import arrange_windows, select_prims
from omni.kit.window.content_browser.test_helper import ContentBrows... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/test_drag_drop_texture_property.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.property.material/omni/kit/property/material/tests/__init__.py | from .create_prims import *
from .test_material import *
from .test_add_mdl_file import *
from .test_drag_drop import *
from .test_material_thumb_context_menu import *
from .test_material_thumb import *
from .test_drag_drop_texture_property import *
from .drag_drop_path import *
from .test_material_goto import *
from .... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/test_refresh.py | import math
import weakref
import platform
import unittest
import pathlib
import omni.kit.test
import omni.ui as ui
import carb
from pxr import Usd, Sdf, UsdGeom
from omni.ui.tests.test_base import OmniUiTest
from omni.kit import ui_test
from omni.kit.test_suite.helpers import arrange_windows, open_stage, get_test_data... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/test_material_thumb_context_menu.py | import weakref
import unittest
import pathlib
import omni.kit.test
import omni.ui as ui
import carb
from pathlib import Path
from pxr import Sdf, UsdShade, UsdGeom
from omni.ui.tests.test_base import OmniUiTest
from omni.kit import ui_test
from omni.kit.test_suite.helpers import (
open_stage,
get_test_data_path... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/test_material.py | import weakref
import platform
import unittest
import pathlib
import omni.kit.test
import omni.ui as ui
import carb
from pxr import Usd, Sdf, UsdGeom
from omni.ui.tests.test_base import OmniUiTest
from omni.kit import ui_test
from omni.kit.test_suite.helpers import arrange_windows, wait_stage_loading
class TestMateri... |
omniverse-code/kit/exts/omni.kit.property.material/omni/kit/property/material/tests/test_material_goto.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.property.material/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.8.19] - 2023-01-23
### Changes
- Material property widget parameters - don't override displayName and/or displayGroup if already set.
## [1.8.18] - 2023-01-10
### Changes
- Fix ui refresh issue when modifying material p... |
omniverse-code/kit/exts/omni.kit.property.material/docs/README.md | # omni.kit.property.material
## Introduction
Property window extensions are for viewing and editing Usd Prim Attributes
## This extension supports editing of these Usd Types;
- UsdShade.Material
- UsdShade.Shader
## also allows material bindings on other prims to be edited
|
omniverse-code/kit/exts/omni.kit.property.material/docs/index.rst | omni.kit.property.material
###########################
Property Material Values
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.kit.property.material/data/tests/material_context.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
double3 target = (0, 0, 0)
}
dictionary Perspective = {
double3 position... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/TESTEXPORT.mdl | mdl 1.7;
using m_mdl = "mdl";
import ::state::normal;
import ::OmniPBR::OmniPBR;
import ::nvidia::support_definitions::lookup_color;
import ::base::mono_mode;
import ::tex::gamma_mode;
import ::tex::wrap_mode;
export material Material(*)
= ::OmniPBR::OmniPBR(
diffuse_color_constant: ::nvidia::support_definition... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/material_binding_inherited.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500.0000000000001, 500.0000000000001, 4... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/bound_material.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500.0000000000001, 500.0000000000001, 4... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/TESTEXPORT2.mdl | mdl 1.7;
using m_mdl = "mdl";
import ::state::normal;
import ::OmniPBR::OmniPBR;
import ::nvidia::support_definitions::lookup_color;
import ::base::mono_mode;
import ::tex::gamma_mode;
import ::tex::wrap_mode;
export material Material(*)
= ::OmniPBR::OmniPBR(
diffuse_color_constant: ::nvidia::support_definition... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/material_binding.usda | #usda 1.0
(
defaultPrim = "World"
endTimeCode = 100
metersPerUnit = 0.009999999776482582
startTimeCode = 0
timeCodesPerSecond = 24
upAxis = "Y"
)
def Xform "World"
{
def DistantLight "defaultLight" (
prepend apiSchemas = ["ShapingAPI"]
)
{
float angle = 1
flo... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/thumbnail_test.usda | #usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (500.0000000000001, 500.0000000000001, 4... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/mtl/OmniHair.mdl | /***************************************************************************************************
* Copyright 2020 NVIDIA Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* *... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/mtl/OmniHairTest.mdl | /***************************************************************************************************
* Copyright 2020 NVIDIA Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* *... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/mtl/badname.mdl | /******************************************************************************
* Copyright 1986, 2019 NVIDIA ARC GmbH. All rights reserved. *
******************************************************************************
Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge,... |
omniverse-code/kit/exts/omni.kit.property.material/data/tests/mtl/multi_hair.mdl | /***************************************************************************************************
* Copyright 2020 NVIDIA Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* *... |
omniverse-code/kit/exts/omni.activity.usd_resolver/PACKAGE-LICENSES/omni.activity.usd_resolver-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.activity.usd_resolver/config/extension.toml | [package]
title = "Omni Activity plugin for UsdResolver"
category = "Telemetry"
version = "1.0.1"
description = "The activity and the progress processor gets pumped every frame"
authors = ["NVIDIA"]
keywords = ["activity"]
changelog = "docs/CHANGELOG.md"
[[python.module]]
name = "omni.activity.usd_resolver"
[[native.... |
omniverse-code/kit/exts/omni.activity.usd_resolver/omni/activity/usd_resolver/__init__.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.activity.usd_resolver/omni/activity/usd_resolver/tests/test_skip.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.activity.usd_resolver/omni/activity/usd_resolver/tests/__init__.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.widget.fast_search/PACKAGE-LICENSES/omni.kit.widget.fast_search-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.fast_search/config/extension.toml | [package]
version = "0.3.0"
authors = ["NVIDIA"]
changelog = "docs/CHANGELOG"
readme = "docs/README.md"
keywords = ["search", "fast"]
title = "Fast Search"
description = "Fast search bar"
preview_image = "data/preview.png"
[ui]
name = "Fast Search"
[dependencies]
"omni.appwindow" = {}
"omni.ui" = {}
[[python.module]... |
omniverse-code/kit/exts/omni.kit.widget.fast_search/omni/kit/widget/fast_search/python/delegate.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... |
omniverse-code/kit/exts/omni.kit.widget.fast_search/omni/kit/widget/fast_search/python/__init__.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... |
omniverse-code/kit/exts/omni.kit.widget.fast_search/omni/kit/widget/fast_search/python/model.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... |
omniverse-code/kit/exts/omni.kit.widget.fast_search/omni/kit/widget/fast_search/python/widget.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... |
omniverse-code/kit/exts/omni.kit.widget.fast_search/docs/README.md | # Fast search
Fast search is a widget that let you found an item from a list quickly.
You can set an item as:
- favorite
- blocklist
You can see items from a:
- main list
- list of latest items chosen
- favorite items list
- blocked items list
## Usage
First Tab: auto complete
Second Tab: create what was wrote
Ctrl... |
omniverse-code/kit/exts/omni.kit.widget.fast_search/docs/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.ui_test/omni/kit/ui_test/common.py | import omni.ext
import asyncio
import omni.kit.app
import carb
import sys
import logging
logger = logging.getLogger(__name__)
def setup_logging():
printInfoLog = carb.settings.get_settings().get("/exts/omni.kit.ui_test/printInfoLog")
if not printInfoLog:
return
# Always log info to stdout to deb... |
omniverse-code/kit/exts/omni.kit.ui_test/omni/kit/ui_test/vec2.py | from __future__ import annotations
class Vec2:
"""Generic 2D Vector
Constructed from other `Vec2`, tuple of 2 floats or just 2 floats. Common vector operation supported:
.. code-block:: python
v0 = Vec2(1, 2)
v1 = Vec2((1, 2))
v2 = Vec2(v1)
print(v0 + v1) # (2, 4)
... |
omniverse-code/kit/exts/omni.kit.ui_test/omni/kit/ui_test/query.py | from __future__ import annotations
import logging
from typing import List
import carb
from omni import ui
from omni.ui_query import OmniUIQuery
from carb.input import KeyboardInput
from .input import emulate_mouse_move_and_click, emulate_char_press, emulate_keyboard_press, emulate_keyboard, emulate_mouse_drag_and_... |
omniverse-code/kit/exts/omni.kit.ui_test/omni/kit/ui_test/__init__.py | from .common import human_delay, wait_n_updates, InitExt
from .vec2 import Vec2
from .input import (
emulate_mouse_click,
emulate_mouse_move,
emulate_mouse_move_and_click,
emulate_mouse_drag_and_drop,
emulate_mouse_scroll,
emulate_keyboard_press,
emulate_char_press,
emulate_key_combo,
... |
omniverse-code/kit/exts/omni.kit.ui_test/omni/kit/ui_test/menu.py | from __future__ import annotations
import re
import logging
from omni import ui
from .input import emulate_mouse_move, emulate_mouse_click
from .common import human_delay, wait_n_updates_internal
from .vec2 import Vec2
logger = logging.getLogger(__name__)
def _find_menu_item(query, menu_root):
menu_items = ui... |
omniverse-code/kit/exts/omni.kit.ui_test/omni/kit/ui_test/input.py | import carb
import carb.input
import omni.kit.app
import omni.ui as ui
import carb.windowing
import omni.appwindow
from carb.input import MouseEventType, KeyboardEventType, KeyboardInput
import logging
from functools import lru_cache
from itertools import chain
from .vec2 import Vec2
from .common import human_delay... |
omniverse-code/kit/exts/omni.kit.ui_test/omni/kit/ui_test/tests/test_ui_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 a... |
omniverse-code/kit/exts/omni.kit.ui_test/omni/kit/ui_test/tests/__init__.py | from .test_ui_test import *
from .test_ui_test_doc_snippets import *
|
omniverse-code/kit/exts/omni.kit.ui_test/omni/kit/ui_test/tests/test_ui_test_doc_snippets.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.ui_test/docs/index.rst | omni.kit.ui_test
###########################
UI Testing Helper functions
.. toctree::
:maxdepth: 1
CHANGELOG.md
Usage Example:
================
.. literalinclude:: ../python/omni/kit/ui_test/tests/test_ui_test_doc_snippets.py
:language: python
:start-after: begin-doc-1
:end-before: end-doc-1
... |
omniverse-code/kit/exts/omni.kit.collaboration.stage_columns/omni/kit/collaboration/stage_columns/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.collaboration.stage_columns/omni/kit/collaboration/stage_columns/__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... |
omniverse-code/kit/exts/omni.kit.collaboration.stage_columns/omni/kit/collaboration/stage_columns/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.collaboration.stage_columns/omni/kit/collaboration/stage_columns/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.collaboration.stage_columns/omni/kit/collaboration/stage_columns/models/reload_model.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... |
omniverse-code/kit/exts/omni.kit.collaboration.stage_columns/omni/kit/collaboration/stage_columns/models/__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... |
omniverse-code/kit/exts/omni.kit.collaboration.stage_columns/omni/kit/collaboration/stage_columns/models/live_model.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... |
omniverse-code/kit/exts/omni.kit.collaboration.stage_columns/omni/kit/collaboration/stage_columns/tests/__init__.py | |
omniverse-code/kit/exts/omni.kit.collaboration.stage_columns/omni/kit/collaboration/stage_columns/delegates/participants_column_delegate.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.collaboration.stage_columns/omni/kit/collaboration/stage_columns/delegates/__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... |
omniverse-code/kit/exts/omni.kit.collaboration.stage_columns/omni/kit/collaboration/stage_columns/delegates/reload_column_delegate.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.collaboration.stage_columns/omni/kit/collaboration/stage_columns/delegates/live_column_delegate.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.audio.test.usd/PACKAGE-LICENSES/omni.kit.audio.test.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.kit.audio.test.usd/config/extension.toml | [package]
# Semantic Versioning is used: https://semver.org/
version = "1.0.1"
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 = "USD Audio Tests"
des... |
omniverse-code/kit/exts/omni.kit.audio.test.usd/omni/kit/audio/test/usd/__init__.py | pass
|
omniverse-code/kit/exts/omni.kit.audio.test.usd/omni/kit/audio/test/usd/tests/test_audio.py | import asyncio
import time
from collections import defaultdict
import pathlib
from PIL import Image
from PIL import ImageEnhance
import random
import omni.kit.test_helpers_gfx.compare_utils
import carb
import carb.tokens
import omni.kit.app
import omni.kit.commands
import omni.kit.test
import omni.ui as ui
import omni.... |
omniverse-code/kit/exts/omni.kit.audio.test.usd/omni/kit/audio/test/usd/tests/__init__.py | from .test_audio import *
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.