file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.kit.notification_manager/omni/kit/notification_manager/tests/__init__.py | from .test_notification_manager import TestNotificationManagerUI
|
omniverse-code/kit/exts/omni.kit.notification_manager/omni/kit/notification_manager/tests/test_notification_manager.py | import asyncio
import carb.settings
import omni.kit.test
import omni.ui as ui
import omni.kit.notification_manager as nm
from omni.ui.tests.test_base import OmniUiTest
from pathlib import Path
from threading import Thread
CURRENT_PATH = Path(__file__).parent.joinpath("../../../../data")
class TestNotificationManag... |
omniverse-code/kit/exts/omni.kit.notification_manager/docs/CHANGELOG.md | # Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.0.5] - 2022-12-13
### Changed
- Fix dismissed state check for notification.
## [1.0.4] - 2022-03-11
### Changed
- Fix issue when notifications are posted through non-main threads.
## [1.0.3] - 2022-02-16
### Changed
-... |
omniverse-code/kit/exts/omni.kit.notification_manager/docs/README.md | # omni.kit.notification_manager
## Introduction
This extension provides simple interface to post notifications.
## Example
>>> import omni.kit.notification_manager as nm
>>>
>>> ok_button = nm.NotificationButtonInfo("OK", on_complete=None)
>>> cancel_button = nm.NotificationButtonInf... |
omniverse-code/kit/exts/omni.kit.notification_manager/docs/index.rst | omni.kit.notification_manager: Notification Manager Extension
##############################################################
.. toctree::
:maxdepth: 1
CHANGELOG
Notification Manager
==========================
.. automodule:: omni.kit.notification_manager
:platform: Windows-x86_64, Linux-x86_64
:members... |
omniverse-code/kit/exts/omni.usd.schema.omnigraph/pxr/OmniGraphSchema/__init__.py | #
# Copyright 2016 Pixar
#
# Licensed under the Apache License, Version 2.0 (the "Apache License")
# with the following modification; you may not use this file except in
# compliance with the Apache License and the following modification to it:
# Section 6. Trademarks. is deleted and replaced with:
#
# 6. Trademarks. T... |
omniverse-code/kit/exts/omni.usd.schema.omnigraph/pxr/OmniGraphSchema/_omniGraphSchema.pyi | from __future__ import annotations
import pxr.OmniGraphSchema._omniGraphSchema
import typing
import Boost.Python
import pxr.OmniGraphSchema
import pxr.Usd
__all__ = [
"CompoundNodeAPI",
"OmniGraph",
"OmniGraphAPI",
"OmniGraphCompoundNodeType",
"OmniGraphNode",
"OmniGraphNodeType",
"Tokens"
... |
omniverse-code/kit/exts/omni.usd.schema.omnigraph/pxr/OmniGraphSchemaTools/__init__.py | #
#====
# Copyright (c) 2020, NVIDIA CORPORATION
#======
#
#
# Copyright 2016 Pixar
#
# Licensed under the Apache License, Version 2.0 (the "Apache License")
# with the following modification; you may not use this file except in
# compliance with the Apache License and the following modification to it:
# Section 6. ... |
omniverse-code/kit/exts/omni.usd.schema.omnigraph/pxr/OmniGraphSchemaTools/_omniGraphSchemaTools.pyi | from __future__ import annotations
import pxr.OmniGraphSchemaTools._omniGraphSchemaTools
import typing
__all__ = [
"applyOmniGraphAPI",
"removeOmniGraphAPI"
]
def applyOmniGraphAPI(*args, **kwargs) -> None:
pass
def removeOmniGraphAPI(*args, **kwargs) -> None:
pass
__MFB_FULL_PACKAGE_NAME = 'omniGrap... |
omniverse-code/kit/exts/omni.usd.schema.omnigraph/plugins/OmniGraphSchema/resources/generatedSchema.usda | #usda 1.0
(
"WARNING: THIS FILE IS GENERATED BY usdGenSchema. DO NOT EDIT."
)
class OmniGraph "OmniGraph" (
doc = "Base class for OmniGraph primitives containing the graph settings."
)
{
token evaluationMode = "Automatic" (
allowedTokens = ["Automatic", "Standalone", "Instanced"]
doc = """... |
omniverse-code/kit/exts/omni.usd.schema.omnigraph/plugins/OmniGraphSchema/resources/OmniGraphSchema/schema.usda | #usda 1.0
(
subLayers = [
@usd/schema.usda@
]
)
over "GLOBAL" (
customData = {
string libraryName = "omniGraphSchema"
string libraryPath = "./"
string libraryPrefix = "OmniGraphSchema"
}
)
{
}
class OmniGraph "OmniGraph"
(
customData = {
string className = "... |
omniverse-code/kit/exts/omni.kit.welcome.learn/omni/kit/welcome/learn/style.py | from pathlib import Path
import omni.ui as ui
from omni.ui import color as cl
from omni.ui import constant as fl
CURRENT_PATH = Path(__file__).parent
ICON_PATH = CURRENT_PATH.parent.parent.parent.parent.joinpath("icons")
LEARN_PAGE_STYLE = {}
|
omniverse-code/kit/exts/omni.kit.welcome.learn/omni/kit/welcome/learn/extension.py | import webbrowser
import carb.settings
import carb.tokens
import omni.client
import omni.ext
import omni.ui as ui
from omni.kit.documentation.builder import DocumentationBuilderMd, DocumentationBuilderPage
from omni.kit.documentation.builder import get_style as get_doc_style
from omni.kit.welcome.window import registe... |
omniverse-code/kit/exts/omni.kit.welcome.learn/omni/kit/welcome/learn/__init__.py | from .extension import *
|
omniverse-code/kit/exts/omni.kit.welcome.learn/omni/kit/welcome/learn/tests/test_page.py | import asyncio
from pathlib import Path
import omni.kit.app
from omni.ui.tests.test_base import OmniUiTest
from ..extension import LearnPageExtension
CURRENT_PATH = Path(__file__).parent
TEST_DATA_PATH = CURRENT_PATH.parent.parent.parent.parent.parent.joinpath("data").joinpath("tests")
class TestPage(OmniUiTest):
... |
omniverse-code/kit/exts/omni.kit.welcome.learn/omni/kit/welcome/learn/tests/__init__.py | from .test_page import * |
omniverse-code/kit/exts/omni.kit.welcome.learn/docs/index.rst | omni.kit.welcome.learn
###########################
.. toctree::
:maxdepth: 1
CHANGELOG
|
omniverse-code/kit/exts/omni.kit.profile_python/omni/kit/profile_python/__init__.py | from .profile_python import *
|
omniverse-code/kit/exts/omni.kit.profile_python/omni/kit/profile_python/profile_python.py | """Enable automatic profiling of the python code using sys.profile."""
import sys
import omni.kit.app
import omni.ext
import carb
import carb.profiler
import carb.dictionary
import carb.settings
_profiler_enabled = False
_profile_zone_counter = 0
_python_stack_level = 0
MAX_STACK_LEVEL = 10
EXT_SETTINGS_SECTION = ... |
omniverse-code/kit/exts/omni.kit.profile_python/omni/kit/profile_python/tests/__init__.py | from .test_profile_python import *
|
omniverse-code/kit/exts/omni.kit.profile_python/omni/kit/profile_python/tests/test_profile_python.py | import omni.kit.test
import gzip
import json
import os
from omni.kit.core.tests import KitLaunchTest
PYTHON_EVENT_PREFIX = "Py::"
class TestProfilePython(KitLaunchTest):
async def test_profile_python(self):
FUNC_1 = "some_rare_magical_function_27026930"
FUNC_2 = "another_rare_magical_function_12... |
omniverse-code/kit/exts/omni.kit.profile_python/docs/index.rst | omni.kit.profile_python
###########################
Small extension rigging python sys.profile functionality to use carb.profiler
|
omniverse-code/kit/exts/omni.kit.collaboration.telemetry/omni/kit/collaboration/telemetry/__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 rela... |
omniverse-code/kit/exts/omni.kit.collaboration.telemetry/omni/kit/collaboration/telemetry/_telemetry.pyi | """bindings for structured log schema omni.kit.collaboration"""
from __future__ import annotations
import omni.kit.collaboration.telemetry._telemetry
import typing
__all__ = [
"Schema_omni_kit_collaboration_1_0",
"Struct_liveEdit_liveEdit"
]
class Schema_omni_kit_collaboration_1_0():
def __init__(self) -... |
omniverse-code/kit/exts/omni.kit.collaboration.telemetry/omni/kit/collaboration/telemetry/tests/test_telemetry.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 rela... |
omniverse-code/kit/exts/omni.kit.collaboration.telemetry/omni/kit/collaboration/telemetry/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 rela... |
omniverse-code/kit/exts/omni.graph.ui/ogn/nodes.json | {
"nodes": {
"omni.graph.ui.Button": {
"description": "Create a button widget on the Viewport",
"version": 1,
"extension": "omni.graph.ui",
"language": "Python"
},
"omni.graph.ui.ComboBox": {
"description": "Create a combo box widge... |
omniverse-code/kit/exts/omni.graph.ui/PACKAGE-LICENSES/prettycons-LICENSE.md | # prettycons License
Icons made by prettycons from "https://www.flaticon.com/"
|
omniverse-code/kit/exts/omni.graph.ui/PACKAGE-LICENSES/omni.graph.ui-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.ui/PACKAGE-LICENSES/Pixel_perfect-LICENSE.md | # PixelPerfect License
Icons made by Pixel perfect from "https://www.flaticon.com/"
|
omniverse-code/kit/exts/omni.graph.ui/config/extension.toml | [package]
title = "OmniGraph UI"
version = "1.24.2"
category = "Graph"
feature = true
readme = "docs/README.md"
changelog = "docs/CHANGELOG.md"
description = "Contains all of the UI specific to the OmniGraph."
preview_image = "data/preview.png"
repository = ""
keywords = ["kit", "omnigraph", "ui", "editor"]
# The loca... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/__init__.py | """Initialization for the OmniGraph UI extension"""
# Required for proper resolution of ONI wrappers
import omni.core
from ._impl.compute_node_widget import ComputeNodeWidget
from ._impl.extension import _PublicExtension
from ._impl.graph_variable_custom_layout import GraphVariableCustomLayout
from ._impl.menu import ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadViewportPressStateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadViewportPressState
Read the state of the last viewport press event from the specified viewport. Note that viewport mouse events must be enabled
on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import om... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnGetCameraTargetDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.GetCameraTarget
Gets a viewport camera's target point.
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import carb
import numpy
class OgnGetCameraTargetDatabase(og.Database):
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnViewportHoveredDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnViewportHovered
Event node which fires when the specified viewport is hovered over. Note that viewport mouse events must be enabled on the
specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import omni.graph.core.... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnViewportPressedDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnViewportPressed
Event node which fires when the specified viewport is pressed, and when that press is released. Note that viewport mouse
events must be enabled on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core a... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadPickStateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadPickState
Read the state of the last picking event from the specified viewport. Note that picking events must be enabled on the specified
viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import omni.graph.core._omni_gra... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadWidgetPropertyDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadWidgetProperty
Read the value of a widget's property (height, tooltip, etc).
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
from typing import Any
import traceback
import sys... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadWindowSizeDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadWindowSize
Outputs the size of a UI window.
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import sys
import traceback
class OgnReadWindowSizeDatabase(og.Database):
"""He... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnSetCameraTargetDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.SetCameraTarget
Sets the camera's target
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import numpy
import carb
class OgnSetCameraTargetDatabase(og.Database):
"""Helper clas... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnWriteWidgetPropertyDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.WriteWidgetProperty
Set the value of a widget's property (height, tooltip, etc).
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
from typing import Any
import sys
import traceback... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnVStackDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.VStack
Contruct a Stack on the Viewport. All child widgets of Stack will be placed in a row, column or layer based on the direction
input.
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnPrintTextDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.PrintText
Prints some text to the system log or to the screen
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import sys
import traceback
class OgnPrintTextDatabase(og.Database):
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnWidgetClickedDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnWidgetClicked
Event node which fires when a UI widget with the specified identifier is clicked. This node should be used in combination
with UI creation nodes such as OgnButton.
"""
import omni.graph.core as og
import omni.graph.core._omni_grap... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnButtonDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.Button
Create a button widget on the Viewport
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import sys
import traceback
import numpy
class OgnButtonDatabase(og.Database):
""... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnSliderDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.Slider
Create a slider widget on the Viewport
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import traceback
import sys
class OgnSliderDatabase(og.Database):
"""Helper class... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnSetCameraPositionDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.SetCameraPosition
Sets the camera's position
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import numpy
import carb
class OgnSetCameraPositionDatabase(og.Database):
"""Helpe... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnViewportClickedDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnViewportClicked
Event node which fires when a viewport click event occurs in the specified viewport. Note that viewport mouse events must
be enabled on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnViewportScrolledDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnViewportScrolled
Event node which fires when a viewport scroll event occurs in the specified viewport. Note that viewport mouse events must
be enabled on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
impo... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnWidgetValueChangedDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnWidgetValueChanged
Event node which fires when a UI widget with the specified identifier has its value changed. This node should be used in
combination with UI creation nodes such as OgnSlider.
"""
import omni.graph.core as og
import omni.graph... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadViewportScrollStateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadViewportScrollState
Read the state of the last viewport scroll event from the specified viewport. Note that viewport mouse events must be enabled
on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnGetCameraPositionDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.GetCameraPosition
Gets a viewport camera position
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import carb
import numpy
class OgnGetCameraPositionDatabase(og.Database):
"""... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnPickedDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnPicked
Event node which fires when a picking event occurs in the specified viewport. Note that picking events must be enabled on
the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import omni.graph.core._omni_... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadViewportClickStateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadViewportClickState
Read the state of the last viewport click event from the specified viewport. Note that viewport mouse events must be enabled
on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import om... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnGetActiveViewportCameraDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.GetActiveViewportCamera
Gets the path of the camera bound to a viewport
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import traceback
import sys
class OgnGetActiveViewportCamer... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnPlacerDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.Placer
Contruct a Placer widget. The Placer takes a single child and places it at a given position within it.
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import traceback
impo... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnWriteWidgetStyleDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.WriteWidgetStyle
Sets a widget's style properties. This node should be used in combination with UI creation nodes such as Button.
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
i... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadMouseStateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadMouseState
Reads the current state of the mouse. You can choose which mouse element this node is associated with. When mouse element
is chosen to be a button, only outputs:isPressed is meaningful. When coordinates are chosen, only outputs:coor... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadViewportHoverStateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadViewportHoverState
Read the state of the last viewport hover event from the specified viewport. Note that viewport mouse events must be enabled
on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import om... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnSetActiveViewportCameraDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.SetActiveViewportCamera
Sets Viewport's actively bound camera to given camera at give path
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import sys
import traceback
class OgnSet... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnDrawDebugCurveDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.DrawDebugCurve
Given a set of curve points, draw a curve in the viewport
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import sys
import numpy
import traceback
class OgnDrawDebu... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnSetViewportModeDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.SetViewportMode
Sets the mode of a specified viewport window to 'Scripted' mode or 'Default' mode when executed.
'Scripted' mode disables
default viewport interaction and enables placing UI elements over the viewport. 'Default' mode is the defaul... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnViewportDraggedDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnViewportDragged
Event node which fires when a viewport drag event occurs in the specified viewport. Note that viewport mouse events must
be enabled on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnSpacerDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.Spacer
A widget that leaves empty space.
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import sys
import traceback
class OgnSpacerDatabase(og.Database):
"""Helper class prov... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnComboBoxDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ComboBox
Create a combo box widget on the Viewport
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
import numpy
import sys
import traceback
class OgnComboBoxDatabase(og.Database):... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnOnNewFrameDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.OnNewFrame
Triggers when there is a new frame available for the given viewport. Note that the graph will run asynchronously to the new
frame event
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.t... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/OgnReadViewportDragStateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.ui.ReadViewportDragState
Read the state of the last viewport drag event from the specified viewport. Note that viewport mouse events must be enabled
on the specified viewport using a SetViewportMode node.
"""
import omni.graph.core as og
import omni... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnOnViewportHovered.cpp | // Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software an... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnReadViewportClickState.ogn | {
"ReadViewportClickState": {
"version": 1,
"description": [
"Read the state of the last viewport click event from the specified viewport.",
"Note that viewport mouse events must be enabled on the specified viewport using a SetViewportMode node."
],
"uiName": ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnSetCameraTarget.ogn | {
"SetCameraTarget": {
"version": 1,
"description": "Sets the camera's target",
"uiName": "Set Camera Target",
"exclude": ["tests"],
"categories": ["sceneGraph:camera"],
"inputs": {
"usePath": {
"type": "bool",
"default": tr... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnSlider.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 rela... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnComboBox.ogn | {
"ComboBox": {
"version": 1,
"description": ["Create a combo box widget on the Viewport"],
"uiName": "Combo Box (BETA)",
"language": "Python",
"categories": ["graph:action", "ui"],
"inputs": {
"create": {
"type": "execution",
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnReadViewportDragState.ogn | {
"ReadViewportDragState": {
"version": 1,
"description": [
"Read the state of the last viewport drag event from the specified viewport.",
"Note that viewport mouse events must be enabled on the specified viewport using a SetViewportMode node."
],
"uiName": "R... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnReadMouseState.ogn | {
"ReadMouseState": {
"description": [
"Reads the current state of the mouse.",
"You can choose which mouse element this node is associated with.",
"When mouse element is chosen to be a button, only outputs:isPressed is meaningful.",
"When coordinates are chos... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnSetCameraPosition.ogn | {
"SetCameraPosition": {
"version": 1,
"description": "Sets the camera's position",
"uiName": "Set Camera Position",
"exclude": ["tests"],
"categories": ["sceneGraph:camera"],
"inputs": {
"usePath": {
"type": "bool",
"defaul... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnComboBox.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 rela... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnGetCameraPosition.cpp | // Copyright (c) 2021-2021, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this softwa... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnGetCameraTarget.ogn | {
"GetCameraTarget": {
"version": 1,
"description": "Gets a viewport camera's target point.",
"uiName": "Get Camera Target",
"exclude": ["tests"],
"categories": ["sceneGraph:camera"],
"inputs": {
"usePath": {
"type": "bool",
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/UINodeCommon.h | // Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software an... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/ViewportPressNodeCommon.h | // Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software an... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnWriteWidgetStyle.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 rela... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/ViewportDragManipulator.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.graph.ui/omni/graph/ui/ogn/nodes/OgnOnPicked.ogn | {
"OnPicked": {
"version": 1,
"description": [
"Event node which fires when a picking event occurs in the specified viewport.",
"Note that picking events must be enabled on the specified viewport using a SetViewportMode node."
],
"uiName": "On Picked (BETA)",
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnReadViewportPressState.cpp | // Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software an... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/ViewportClickNodeCommon.h | // Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software an... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnOnWidgetValueChanged.ogn | {
"OnWidgetValueChanged": {
"version": 1,
"description": [
"Event node which fires when a UI widget with the specified identifier has its value changed.",
"This node should be used in combination with UI creation nodes such as OgnSlider."
],
"uiName": "On Widg... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/PickingManipulator.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.graph.ui/omni/graph/ui/ogn/nodes/OgnPrintText.ogn | {
"PrintText": {
"version": 1,
"description": "Prints some text to the system log or to the screen",
"language": "Python",
"categories": "debug",
"uiName": "Print Text",
"exclude": ["tests"],
"tags": ["logging", "toast", "debug"],
"inputs": {
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnWriteWidgetProperty.ogn | {
"WriteWidgetProperty": {
"version": 1,
"description": ["Set the value of a widget's property (height, tooltip, etc)."],
"uiName": "Write Widget Property (BETA)",
"language": "Python",
"categories": ["graph:action", "ui"],
"inputs": {
"write": {
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnSetCameraPosition.cpp | // Copyright (c) 2021-2021, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this softwa... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnVStack.ogn | {
"VStack": {
"version": 1,
"description": [
"Contruct a Stack on the Viewport.",
"All child widgets of Stack will be placed in a row, column or layer based on the direction input."
],
"uiName": "Stack (BETA)",
"language": "Python",
"categories... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnReadViewportScrollState.cpp | // Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software an... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnOnWidgetValueChanged.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 rela... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnDrawDebugCurve.py | """
This is the implementation of the OGN node defined in OgnDrawDebugCurve.ogn
"""
import carb
import numpy as np
import omni.debugdraw as dd
import omni.graph.core as og
class OgnDrawDebugCurve:
"""
Draws a curve using omni.debugdraw
"""
@staticmethod
def compute(db) -> bool:
"""Compute... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnOnNewFrame.py | """
This is the implementation of the OGN node defined in OgnOnNewFrame.ogn
"""
from contextlib import suppress
import omni.graph.core as og
import omni.usd
from omni.graph.ui.ogn.OgnOnNewFrameDatabase import OgnOnNewFrameDatabase
from omni.kit.viewport.utility import get_viewport_from_window_name
class OgnOnNewFram... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnButton.ogn | {
"Button": {
"version": 1,
"description": ["Create a button widget on the Viewport"],
"uiName": "Button (BETA)",
"language": "Python",
"categories": ["graph:action", "ui"],
"inputs": {
"create": {
"type": "execution",
"desc... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnSetViewportMode.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 rela... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnReadViewportPressState.ogn | {
"ReadViewportPressState": {
"version": 1,
"description": [
"Read the state of the last viewport press event from the specified viewport.",
"Note that viewport mouse events must be enabled on the specified viewport using a SetViewportMode node."
],
"uiName": ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/OgnOnViewportPressed.ogn | {
"OnViewportPressed": {
"version": 1,
"description": [
"Event node which fires when the specified viewport is pressed, and when that press is released.",
"Note that viewport mouse events must be enabled on the specified viewport using a SetViewportMode node."
],
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/nodes/ViewportScrollManipulator.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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.