file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnOnViewportClickedTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnOnViewportClicked.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineSta... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnReadViewportClickStateTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnReadViewportClickState.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipeli... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnSetActiveViewportCameraTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnSetActiveViewportCamera.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipel... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnSliderTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnSlider.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSimulatio... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnPrintTextTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnPrintText.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageSimula... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnReadWindowSizeTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnReadWindowSize.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStageS... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnReadViewportScrollStateTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnReadViewportScrollState.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipel... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnReadViewportDragStateTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnReadViewportDragState.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelin... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnWriteWidgetStyleTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnWriteWidgetStyle.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStag... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnSetViewportModeTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnSetViewportMode.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStage... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnOnViewportDraggedTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnOnViewportDragged.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineSta... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnOnWidgetValueChangedTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnOnWidgetValueChanged.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipeline... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnOnWidgetClickedTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnOnWidgetClicked.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStage... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnGetCameraPositionTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnGetCameraPosition.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineSta... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnSetCameraTargetTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnSetCameraTarget.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipelineStage... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/ogn/tests/usd/OgnReadViewportPressStateTemplate.usda | #usda 1.0
(
doc ="""Generated from node description file OgnReadViewportPressState.ogn
Contains templates for node types found in that file."""
)
def OmniGraph "TestGraph"
{
token evaluator:type = "push"
int2 fileFormatVersion = (1, 3)
token flatCacheBacking = "Shared"
token pipelineStage = "pipeli... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/metaclass.py | """
Management for a singleton metaclass
"""
import inspect
import pprint
from gc import get_referrers
import omni.graph.tools as ogt
# Unique constant that goes in the module's dictionary so that it can be filtered out
__SINGLETON_MODULE = True
class Singleton(type):
"""
Helper for defining a singleton cla... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/stage_picker_dialog.py | import weakref
from functools import partial
from typing import Callable
import omni.ui as ui
from omni.kit.property.usd.relationship import SelectionWatch
from omni.kit.widget.stage import StageWidget
from pxr import Sdf, Usd
class StagePickerDialog:
def __init__(
self,
stage,
on_select_... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_attribute_base.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/_impl/style.py | """Contains common information for styling of the OGN node editor and ancillary windows"""
import os
from pathlib import Path
from typing import Dict
from omni import ui
# These values are not affected by style parameters. Using **kwargs keeps them consistent.
VSTACK_ARGS = {"height": 0, "spacing": 8, "margin_height"... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_prim_node_templates.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.graph.ui/omni/graph/ui/_impl/extension.py | """
Standard file used to manage extension load and unload
"""
from pathlib import Path
import carb
import omni.ext
import omni.kit
from omni.kit.window.extensions import ExtsWindowExtension
from .compute_node_widget import ComputeNodeWidget # noqa: PLE0402
from .menu import Menu # noqa: PLE0402
from .metaclass imp... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/compute_node_widget.py | import asyncio
import importlib.util
import pathlib
import weakref
from contextlib import suppress
from typing import List
import omni.graph.core as og
import omni.graph.tools.ogn as ogn
import omni.kit.window.property as p
import omni.ui as ui
import omni.usd
from omni.kit.property.usd.custom_layout_helper import Cus... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/__init__.py | |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_settings_editor.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.graph.ui/omni/graph/ui/_impl/utils.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.graph.ui/omni/graph/ui/_impl/omnigraph_in_extension_window.py | """Support for adding OmniGraph information to the Kit extensions window"""
import json
from functools import lru_cache
from pathlib import Path
from typing import Any, Dict, List
import omni.kit.app
import omni.ui as ui
from omni.kit.window.extensions.common import ExtensionCommonInfo
# ============================... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/menu.py | """
Support for the menu containing the OmniGraph UI operations.
"""
import asyncio
from functools import partial
from typing import List, TypeVar
import carb
import carb.settings
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.kit.ui
import omni.usd
from omni import ui
from omni.kit.app import... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/properties_widget.py | import asyncio
import types
from functools import partial
from pathlib import Path
from typing import List
import carb
import omni.graph.core as og
import omni.kit.ui
import omni.ui as ui
import omni.usd
from omni.kit.property.usd.prim_selection_payload import PrimSelectionPayload
from omni.kit.property.usd.usd_attrib... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_attribute_models.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/_impl/graph_variable_custom_layout.py | from functools import partial
from typing import List
import omni.graph.core as og
import omni.ui as ui
from carb import settings
from omni.kit.property.usd.custom_layout_helper import CustomLayoutFrame, CustomLayoutGroup, CustomLayoutProperty
from omni.kit.property.usd.usd_attribute_model import TfTokenAttributeModel... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_attribute_builder.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/_impl/token_array_edit_widget.py | import weakref
from functools import partial
from typing import List
import omni.ui as ui
from omni.kit.property.usd.usd_attribute_model import UsdAttributeModel
from pxr import Sdf, Vt
class TokenArrayEditWidget:
def __init__(self, stage, attr_name, prim_paths, metadata):
self._model = UsdAttributeModel... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/toolkit_window.py | """Manager for the OmniGraph Toolkit window"""
from contextlib import suppress
import omni.graph.tools as ogt
import omni.kit.ui as kit_ui
import omni.ui as ui
from ..metaclass import Singleton # noqa: PLE0402
from ..style import VSTACK_ARGS # noqa: PLE0402
from ..style import get_window_style # noqa: PLE0402
from... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/__init__.py | """Interface for the OmniGraph toolkit window"""
from .toolkit_window import MENU_PATH, Toolkit
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/toolkit_frame_output.py | """Handler for the debug output frame of the OmniGraph toolkit"""
import asyncio
import sys
from contextlib import suppress
from typing import Optional
import carb
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.ui as ui
from ..style import VSTACK_ARGS # noqa: PLE0402
from ..utils import Dest... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/toolkit_frame_inspection.py | """Handler for the inspection frame of the OmniGraph toolkit"""
from contextlib import suppress
from typing import Callable
import omni.graph.tools as ogt
import omni.ui as ui
from ..style import VSTACK_ARGS
from .widgets.categories import ToolkitWidgetCategories
from .widgets.extension_dependencies import ToolkitWid... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/toolkit_utils.py | """An assortment of utilities shared by various pieces of the toolkit"""
import os
import omni.ui as ui
from ..utils import DestructibleImage, get_icons_dir
__all__ = ["help_button"]
# ----------------------------------------------------------------------
def help_button(callback) -> ui.Image:
"""Build the sta... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/toolkit_frame_scene.py | """Handler for the scene manipulation frame of the OmniGraph toolkit"""
from contextlib import suppress
from typing import Callable
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.ui as ui
from ..style import VSTACK_ARGS
from .widgets.extensions_all import ToolkitWidgetExtensionsAll
from .widg... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/toolkit_frame_memory.py | """Handler for the memory usage frame of the OmniGraph toolkit"""
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.ui as ui
from ..style import BUTTON_WIDTH # noqa: PLE0402
from ..style import name_value_hstack # noqa: PLE0402
from ..style import name_value_label # noqa: PLE0402
from ..utils ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/extension_timing.py | """Support for the toolkit widget that shows OmniGraph-related timing for all extensions.
The output is a dictionary of extension timing information with a legend:
.. code-block:: json
{
"Extension Processing Timing": {
"legend": {
"Key": "Extension ID",
"Value... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/ogn_from_node.py | """Support for the widget that dumps the categories OmniGraph knows about."""
import json
from typing import Callable
import carb
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.usd
from ...style import BUTTON_WIDTH
from ...utils import DestructibleButton
__all__ = ["ToolkitWidgetOgnFromNode"... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/extensions_all.py | """Support for the widget that dumps the categories OmniGraph knows about."""
import json
from typing import Callable
import omni.graph.core as og
import omni.graph.tools as ogt
from ...style import BUTTON_WIDTH
from ...utils import DestructibleButton
__all__ = ["ToolkitWidgetExtensionsAll"]
# ====================... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/extensions_missing.py | """Support for the widget that dumps the categories OmniGraph knows about."""
from typing import Callable
import omni.graph.core as og
import omni.graph.tools as ogt
from ...style import BUTTON_WIDTH
from ...utils import DestructibleButton
__all__ = ["ToolkitWidgetExtensionsMissing"]
# ============================... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/__init__.py | |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/graph_registry.py | """Support for the widget that dumps the categories OmniGraph knows about."""
from typing import Callable
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.ui as ui
from ...style import BUTTON_WIDTH
from ...utils import DestructibleButton
from ..toolkit_utils import help_button
from .flag_manage... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/flag_manager.py | """Helper to manage a checkbox flag from a list that are attached to various widgets"""
import omni.graph.tools as ogt
import omni.ui as ui
# ==============================================================================================================
class FlagManager:
"""Base class to manage values and checkbo... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/graph_structure.py | """Support for the widget that dumps the categories OmniGraph knows about."""
import json
from typing import Callable
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.ui as ui
from ...style import BUTTON_WIDTH
from ...utils import DestructibleButton
from ..toolkit_utils import help_button
from ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/extension_dependencies.py | """Support for the toolkit widget that shows OmniGraph downstream dependencies.
The output is in a hierarchy showing the dependencies of the various omni.graph extensions. Since these have their
own internal dependencies you can find all OmniGraph dependencies just by looking at the list for omni.graph.core
"""
import... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/categories.py | """Support for the widget that dumps the categories OmniGraph knows about."""
import json
from typing import Callable
import omni.graph.core as og
import omni.graph.tools as ogt
from ...style import BUTTON_WIDTH
from ...utils import DestructibleButton
from ..toolkit_utils import help_button
__all__ = ["ToolkitWidget... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/extensions_used.py | """Support for the widget that dumps the categories OmniGraph knows about."""
import json
from typing import Callable
import omni.graph.core as og
import omni.graph.tools as ogt
from ...style import BUTTON_WIDTH
from ...utils import DestructibleButton
__all__ = ["ToolkitWidgetExtensionsUsed"]
# ===================... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_toolkit/widgets/fabric_contents.py | """Support for the widget that dumps the categories OmniGraph knows about."""
import json
from typing import Callable
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.ui as ui
from ...style import BUTTON_WIDTH
from ...utils import DestructibleButton
from ..toolkit_utils import help_button
from ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/templates/template_SetViewportMode.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/_impl/templates/template_Button.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/_impl/omnigraph_node_description_editor/metadata_manager.py | """
Classes and functions relating to the handling of both attribute and node metadata in the OgnNodeDescriptionEditor
"""
from contextlib import suppress
from typing import Callable, Dict, Optional
import carb
import omni.graph.tools as ogt
from omni import ui
from ..style import name_value_hstack, name_value_label ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/main_controller.py | """
Controller part of the Model-View-Controller providing editing capabilities to OGN files
"""
from typing import Dict, Union
import omni.graph.tools as ogt
from carb import log_warn
from .attribute_properties import AttributeListController
from .change_management import ChangeManager
from .main_model import Model
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/change_management.py | """
Collection of classes to use for managing reactions to changes to models
"""
from typing import Callable, List, Optional, Union
import omni.graph.tools as ogt
# ======================================================================
class ChangeMessage:
"""Message packet to send when a change is encountered.
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/attribute_list_manager.py | """
Manager class for the combo box that lets you select from a list of attribute names.
"""
from typing import Callable, List
import omni.graph.tools as ogt
from carb import log_warn
from omni import ui
from .ogn_editor_utils import ComboBoxOptions
# =================================================================... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/memory_type_manager.py | """
Support for the combo box representing the choice of attribute memory types.
Shared between the node and attribute properties since both allow that choice.
"""
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
from carb import log_warn
from omni import ui
from ..style import name_value_label # noq... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/node_language_manager.py | """
Support for the combo box representing the choice of node languages.
"""
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
from carb import log_warn
from omni import ui
from ..style import name_value_label # noqa: PLE0402
from .ogn_editor_utils import ComboBoxOptions
# ===========================... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/main_model.py | """Manage the OGN data controlled by the OmniGraphNodeDescriptionEditor"""
from __future__ import annotations
import json
import pprint
from typing import Dict, Union
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
from carb import log_warn
from .attribute_properties import AttributeListModel
from ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/__init__.py | |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/tests_data_manager.py | """
Classes and functions relating to the handling of a list of attribute values
"""
from contextlib import suppress
from typing import Any, Callable, Dict, List, Optional
import omni.graph.tools as ogt
from carb import log_warn
from omni import ui
from .attribute_list_manager import AttributeListManager
from .attrib... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/node_properties.py | """
Collection of classes managing the Node Properties section of the OmniGraphNodeDescriptionEditor
These classes use a Model-View-Controller paradigm to manage the interface between the UI and the raw OGN data.
"""
import os
import shutil
from contextlib import suppress
from functools import partial
from subprocess ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/attribute_properties.py | """
Collection of classes managing the Model-View-Controller paradigm for individual attributes within the node.
This attribute information is collected with the node information later to form the combined .ogn file.
""" # noqa: PLC0302
import json
from contextlib import suppress
from functools import partial
from typ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/attribute_union_type_adder_manager.py | """
Manager class for the attribute union type adder combo box.
"""
from typing import Callable, Optional
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
from carb import log_warn
from omni import ui
from .ogn_editor_utils import ComboBoxOptions
SelectionFinishedCallback = Optional[Callable[[str], ... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/extension_info_manager.py | """
Contains support for the UI to create and manage extensions containing OmniGraph nodes.
"""
import asyncio
import os
from contextlib import suppress
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
from carb import log_error, tokens
from omni import ui
from omni.kit.app import get_app_interface
fr... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/main_editor.py | """
Manage the window containing the node description editor. This main class manages several member
classes that handle different parts of the editor.
The general pattern is Model-View-Controller for each section. This file is the "View" for the
editor as a whole. Controller.py and Model.py form the other two parts.
... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/test_configurations.py | """
Collection of classes managing the Model-View-Controller paradigm for individual tests within the node.
This test information is collected with the node information later to form the combined .ogn file.
The classes are arranged in a hierarchy to manage the lists within lists within lists.
TestList{Model,View,... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/main_generator.py | """
Management for the functions that generate code from the .ogn files.
"""
import os
import omni.graph.core as og
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
# ================================================================================
class Generator:
"""Class responsible for genera... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/attribute_base_type_manager.py | """
Manager class for the attribute base type combo box.
"""
from typing import Callable, Optional
import omni.graph.tools as ogt
import omni.graph.tools.ogn as ogn
from carb import log_warn
from omni import ui
from .ogn_editor_utils import ComboBoxOptions
BaseTypeChangeCallback = Optional[Callable[[str], None]]
#... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/attribute_tuple_count_manager.py | """
Manager class for the attribute tuple count combo box.
"""
from typing import Callable, Optional
import omni.graph.tools as ogt
from carb import log_warn
from omni import ui
from .ogn_editor_utils import ComboBoxOptions
TupleChangeCallback = Optional[Callable[[int], None]]
# ===================================... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/file_manager.py | """
Support for all file operations initiated by the Editor interface
"""
from __future__ import annotations
import asyncio
import json
import os
from typing import Optional
import omni.graph.tools as ogt
from carb import log_error
from omni.kit.widget.filebrowser import FileBrowserItem
from omni.kit.widget.prompt im... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/_impl/omnigraph_node_description_editor/ogn_editor_utils.py | """
Common functions used by all of the OmniGraph Node Editor implementation classes
Exports:
Callback
callback_name
ComboBoxOptions
DestructibleButton
FileCallback
FileCallbackNested
find_unique_name
ghost_int
ghost_text
OptionalCallback
PatternedStringModel
set_widget_... |
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/metaclass.py | from .._impl.metaclass import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/stage_picker_dialog.py | from .._impl.stage_picker_dialog import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_attribute_base.py | from .._impl.omnigraph_attribute_base import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/style.py | from .._impl.style import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_prim_node_templates.py | from .._impl.omnigraph_prim_node_templates import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/extension.py | from .._impl.extension import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/compute_node_widget.py | from .._impl.compute_node_widget import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/__init__.py | """This module is deprecated. Use 'import omni.graph.ui as ogu' to access the OmniGraph UI API"""
import omni.graph.tools as ogt
ogt.DeprecatedImport("Import 'omni.graph.ui as ogu' to access the OmniGraph UI API")
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_settings_editor.py | from .._impl.omnigraph_settings_editor import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_graph_selector.py | from .._impl.omnigraph_graph_selector import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/utils.py | from .._impl.utils import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/menu.py | from .._impl.menu import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/properties_widget.py | from .._impl.properties_widget import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_attribute_models.py | from .._impl.omnigraph_attribute_models import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/graph_variable_custom_layout.py | from .._impl.graph_variable_custom_layout import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_attribute_builder.py | from .._impl.omnigraph_attribute_builder import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/token_array_edit_widget.py | from .._impl.token_array_edit_widget import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_toolkit/toolkit_migrate_data.py | from ..._impl.omnigraph_toolkit.toolkit_migrate_data import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_toolkit/toolkit_window.py | from ..._impl.omnigraph_toolkit.toolkit_window import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_toolkit/__init__.py | from ..._impl.omnigraph_toolkit.__init__ import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_toolkit/toolkit_frame_output.py | from ..._impl.omnigraph_toolkit.toolkit_frame_output import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_toolkit/toolkit_frame_inspection.py | from ..._impl.omnigraph_toolkit.toolkit_frame_inspection import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_toolkit/toolkit_frame_scene.py | from ..._impl.omnigraph_toolkit.toolkit_frame_scene import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_toolkit/toolkit_frame_memory.py | from ..._impl.omnigraph_toolkit.toolkit_frame_memory import * # noqa: F401,PLW0401,PLW0614
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_node_description_editor/metadata_manager.py | from ..._impl.omnigraph_node_description_editor.metadata_manager import * # noqa
|
omniverse-code/kit/exts/omni.graph.ui/omni/graph/ui/scripts/omnigraph_node_description_editor/main_controller.py | from ..._impl.omnigraph_node_description_editor.main_controller import * # noqa
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.