file_path
stringlengths
32
153
content
stringlengths
0
3.14M
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadPrimBundleDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ReadPrimBundle DEPRECATED - use ReadPrims! """ import carb import usdrt import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnReadPrimBundleDatabase(og.Database)...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnOrDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.BooleanOr Boolean OR on two or more inputs. If the inputs are arrays, OR operations will be performed pair-wise. The input sizes must match. If only one input is an array, the other input will be broadcast to the size of the array. Returns an a...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnWritePrimAttributeDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.WritePrimAttribute Given a path to a prim on the current USD stage and the name of an attribute on that prim, sets the value of that attribute. Does nothing if the given Prim or attribute can not be found. If the attribute is found but it is...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetAttrNamesDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GetAttributeNames Retrieves the names of all of the attributes contained in the input bundle, optionally sorted. """ import numpy import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools....
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnInterpolateToDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.InterpolateTo Function which iterpolates one step from a current value to a target value with a given speed. Vectors are interpolated component-wise. Interpolation can be applied to decimal types. The interpolation provides an eased approach to...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadSettingDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ReadSetting Node that reads a value from a kit application setting """ from typing import Any import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnReadSettingDatabase(og.Da...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGatherByPathDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GatherByPath Node to vectorize data by paths passed in via input. PROTOTYPE DO NOT USE. Requires GatherPrototype """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn import numpy cl...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnArrayLengthDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ArrayLength Outputs the length of a specified array attribute in an input bundle, or 1 if the attribute is not an array attribute """ import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.to...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnIncrementDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.Increment Add a double argument to any type (element-wise). This includes simple values, tuples, arrays, and arrays of tuples. The output type is always the same as the type of input:value. For example: tuple + double results a tuple. Choppi...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRenderPostprocessEntryDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.RenderPostProcessEntry Entry point for RTX Renderer Postprocessing """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnRenderPostprocessEntryDatabase(og.Database): ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGpuInteropRenderProductEntryDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GpuInteropRenderProductEntry Entry node for post-processing hydra render results for a single view """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnGpuInteropRende...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTimelineStartDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.StartTimeline Starts playback of the main timeline at the current frame """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnTimelineStartDatabase(og.Database): """...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantInt2Database.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ConstantInt2 Holds a 2-component int constant. """ import numpy import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnConstantInt2Database(og.Database): """Helper class ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadPrimAttributeDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ReadPrimAttribute Given a path to a prim on the current USD stage and the name of an attribute on that prim, gets the value of that attribute, at the global timeline value. """ from typing import Any import carb import usdrt import omni.grap...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetPrimDirectionVectorDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GetPrimDirectionVector Given a prim, find its direction vectors (up vector, forward vector, right vector, etc.) """ import numpy import usdrt import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools....
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnNoiseDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.Noise Sample values from a Perlin noise field. The noise field for any given seed is static: the same input position will always give the same result. This is useful in many areas, such as texturing and animation, where repeatability is essent...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantFloat4Database.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ConstantFloat4 Holds a 4-component float constant. """ import numpy import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnConstantFloat4Database(og.Database): """Helper ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstructArrayDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ConstructArray Makes an output array attribute from input values, in the order of the inputs. If 'arraySize' is less than the number of input elements, the top 'arraySize' elements will be used. If 'arraySize' is greater than the number of inpu...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadPrimAttributesDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ReadPrimAttributes Read Prim attributes and exposes them as dynamic attributes Does not produce output bundle. """ import usdrt import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.og...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTrigDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.Trig Trigonometric operation of one input in degrees. Supported operations are: SIN, COS, TAN, ARCSIN, ARCCOS, ARCTAN, DEGREES, RADIANS """ from typing import Any import omni.graph.core as og import omni.graph.core._omni_graph_core as _og im...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantHalf3Database.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ConstantHalf3 Holds a 3-component half-precision constant. """ import numpy import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnConstantHalf3Database(og.Database): """...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnIsEmptyDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.IsEmpty Checks if the given input is empty. An input is considered empty if there is no data. A string or array of size 0 is considered empty whereas a blank string ' ' is not empty. A float with value 0.0 and int[2] with value [0, 0] are not e...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnCeilDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.Ceil Computes the ceil of the given decimal number a, which is the smallest integral value greater than a """ from typing import Any import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as og...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetPrimPathDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GetPrimPath Generates a path from the specified relationship. This is useful when an absolute prim path may change. """ import usdrt import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as og...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTimelineLoopDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.LoopTimeline Controls looping playback of the main timeline """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnTimelineLoopDatabase(og.Database): """Helper class ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnAttrTypeDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.AttributeType Queries information about the type of a specified attribute in an input bundle """ import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnAttrTypeDa...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantQuatdDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ConstantQuatd Holds a double-precision quaternion constant: A real coefficient and three imaginary coefficients """ import numpy import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnStopSoundDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.StopSound Stop playing a sound primitive """ import carb import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnStopSoundDatabase(og.Database): """Helper class providing ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnSetMatrix4QuaternionDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.SetMatrix4Quaternion Sets the rotation of the given matrix4d value which represents a linear transformation. Does not modify the translation (row 3) of the matrix. """ from typing import Any import omni.graph.core as og import omni.graph.core...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantTexCoord3hDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ConstantTexCoord3h Holds a 3D uvw texture coordinate. """ import numpy import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnConstantTexCoord3hDatabase(og.Database): """...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnBundleInspectorDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.BundleInspector This node creates independent outputs containing information about the contents of a bundle attribute. It can be used for testing or debugging what is inside a bundle as it flows through the graph. The bundle is inspected recurs...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetVariantSetNamesDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GetVariantSetNames Get variantSet names on a prim """ import carb import numpy import usdrt import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnGetVariantSetNamesDatabase(...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetGatheredAttributeDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GetGatheredAttribute Copies gathered scaler/vector attribute values from the Gather buckets into an array attribute PROTOTYPE DO NOT USE, Requires GatherPrototype """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantPoint3fDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ConstantPoint3f Holds a 3-component float constant. """ import numpy import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnConstantPoint3fDatabase(og.Database): """Helpe...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGraphTargetDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GraphTarget Access the target prim the graph is being executed on. If the graph is executing itself, this will output the prim path of the graph. Otherwise the graph is being executed via instancing, then this will output the prim path of the ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnArrayIndexDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ArrayIndex Copies an element of an input array into an output """ from typing import Any import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnArrayIndexDatabase(og.Database...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnMoveToTargetDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.MoveToTarget This node smoothly translates, rotates, and scales a prim object to a target prim object given a speed and easing factor. At the end of the maneuver, the source prim will have the translation, rotation, and scale of the target pri...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnATan2Database.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ATan2 Outputs the arc tangent of a/b in degrees """ from typing import Any import sys import traceback import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnATan2Database(og...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnClampDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.Clamp Clamp a number or array of numbers to a specified range. If an array of numbers is provided as the input and lower/upper are scalers Then each input numeric will be clamped to the range [lower, upper] If all inputs are arrays, clamping wi...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetPrimPathsDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GetPrimPaths Generates a path array from the specified relationship. This is useful when absolute prim paths may change. """ import numpy import usdrt import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.gra...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantStringDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ConstantString Holds a string constant value """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnConstantStringDatabase(og.Database): """Helper class providing sim...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGpuInteropCudaEntryDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GpuInteropCudaEntry Entry point for Cuda RTX Renderer Postprocessing """ import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnGpuInteropCudaEntryDatabase(og.Database): ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnBreakVector4Database.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.BreakVector4 Split vector into 4 component values. """ from typing import Any import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn class OgnBreakVector4Database(og.Database): ""...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnModuloDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.Modulo Computes the modulo of integer inputs (A % B), which is the remainder of A / B If B is zero, the result is zero. If A and B are both non-negative the result is non-negative, otherwise the sign of the result is undefined. """ from typi...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetRelativePathDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.GetRelativePath Generates a path token relative to anchor from path.(ex. (/World, /World/Cube) -> /Cube) """ from typing import Any import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omni.graph.tools.ogn as ogn...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnAppendStringDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.AppendString Creates a new token or string by appending the given token or string. token[] inputs will be appended element-wise. """ from typing import Any import omni.graph.core as og import omni.graph.core._omni_graph_core as _og import omn...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnArrayInsertValueDatabase.py
"""Support for simplified access to data on nodes of type omni.graph.nodes.ArrayInsertValue Inserts an element at the given index. The indexing is zero-based, so 0 adds an element to the front of the array and index = Length inserts at the end of the array. The index will be clamped to the range (0, Length), so an ind...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnGetLookAtRotation.cpp
// Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this softwa...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnInvertMatrix.ogn
{ "OgnInvertMatrix": { "version": 1, "description": "Invert a matrix or an array of matrices. Returns the FLOAT_MAX * identity if the matrix is singular", "uiName": "Invert Matrix", "categories": ["math:operator"], "scheduling": ["threadsafe"], "inputs": { ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnRound.ogn
{ "Round": { "version": 1, "description": "Round a decimal input to the given number of decimals. Accepts float, double, half, or arrays / tuples of the aformentioned types", "uiName": "Round", "categories": ["math:operator"], "scheduling": ["threadsafe"], "inputs": {...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnEachZero.ogn
{ "EachZero": { "version": 1, "description": [ "Outputs a boolean, or array of booleans, indicating which input values are zero within a specified tolerance." ], "uiName": "Each Zero", "categories": ["math:condition"], "scheduling": ["threadsafe"], ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnConcatenateFloat3Arrays.ogn
{ "ConcatenateFloat3Arrays": { "$note": "This is a placeholder for the concatenate node, until gathers are supported", "version": 1, "exclude": ["tests"], "description": ["Flatten the array of float3 arrays in 'inputArrays' by concatenating all of the array ", ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnDivide.ogn
{ "Divide": { "version": 1, "description": [ "Computes the division of two values: A / B. The result is the same type as the numerator if the numerator", "is a decimal type. Otherwise the result is a double. Vectors can be divided only by a scaler, the result", "bein...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnRandomUnitVector.ogn
{ "RandomUnitVector": { "version": 1, "description": "Generates a random vector with uniform distribution on the unit sphere.", "uiName": "Random Unit Vector", "categories": [ "math:operator" ], "scheduling": [ "threadsafe" ], "inputs": { "execIn": { ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnDotProduct.ogn
{ "DotProduct": { "version": 1, "description": [ "Compute the dot product of two (arrays of) vectors.", "If two arrays of vectors are provided, then the dot product will be taken element-wise.", "Inputs must be the same shape" ], "uiName": "Dot Pro...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnRandomNumeric.ogn
{ "RandomNumeric": { "version": 1, "description": [ "Generates a random numeric value in a range, using a uniform distribution.", "The range is specified with two inputs: minimum and maximum.", "These inputs can be numbers, vectors, tuples or arrays of these.", ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnDivide_Tuple3.cpp
#include "OgnDivideHelper.h" namespace omni { namespace graph { namespace nodes { namespace OGNDivideHelper { bool tryComputeTuple3(ogn::OmniGraphDatabase& db, InType const& a, InType const& b, ResType& result, size_t count) { return _tryComputeTuple<3>(db, a, b, result, count); } } // namespace O...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnFloor.ogn
{ "Floor": { "version": 1, "description": [ "Computes the floor of the given decimal number a, which is the largest integral value not greater than a" ], "uiName": "Floor", "categories": ["math:operator"], "scheduling": ["threadsafe"], "inputs": { ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnNthRoot.cpp
// Copyright (c) 2022-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 softwa...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnAcos.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnToRad.ogn
{ "ToRad": { "version": 1, "description": [ "Convert degree input into radians" ], "uiName": "To Radians", "categories": ["math:conversion"], "scheduling": ["threadsafe"], "inputs": { "degrees": { "type": ["decimal_scale...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnNormalize.ogn
{ "Normalize": { "version": 1, "description": [ "Normalize the input vector.", "If the input vector has a magnitude of zero, the null vector is returned." ], "uiName": "Normalize", "categories": ["math:operator"], "scheduling": ["threadsafe"], ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnClamp.ogn
{ "Clamp": { "version": 1, "description": [ "Clamp a number or array of numbers to a specified range.", "If an array of numbers is provided as the input and lower/upper are scalers", "Then each input numeric will be clamped to the range [lower, upper]", ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnAtan.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnFMod.ogn
{ "FMod": { "version": 1, "description": [ "Computes the floating point remainder of A / B.", "If B is zero, the result is zero. The returned value has the same sign as A" ], "uiName": "Float Remainder", "language": "python", "categories": ["math:...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnDistance3D.cpp
// 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 an...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnSubtract.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnInvertMatrix.cpp
// 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 an...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnSin.ogn
{ "Sin": { "version": 1, "description": [ "Trigonometric operation sine of one input in degrees." ], "uiName": "Sine", "categories": ["math:operator"], "scheduling": ["threadsafe"], "inputs": { "value": { "type": ["decim...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnToDeg.ogn
{ "ToDeg": { "version": 1, "description": [ "Convert radian input into degrees" ], "uiName": "To Degrees", "categories": ["math:conversion"], "scheduling": ["threadsafe"], "inputs": { "radians": { "type": ["decimal_scale...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnCeil.cpp
// 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 an...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnToRad.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnAdd.ogn
{ "Add": { "version": 2, "description": [ "Add two or more values of any numeric type (element-wise). This includes simple values, tuples, arrays,", "and arrays of tuples. ", "If one input has a higher dimension than the other, ", "then the input with ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnFMod.py
""" Module contains the OmniGraph node implementation of omni.graph.fmod """ import carb import numpy as np import omni.graph.core as og class OgnFMod: """Node to find floating point remainder""" @staticmethod def compute(db) -> bool: try: db.outputs.result.value = np.fmod(db.inputs.a...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnDivide_Scalars.cpp
#include "OgnDivideHelper.h" namespace omni { namespace graph { namespace nodes { namespace OGNDivideHelper { // AType is a scalar float or double template <typename AType, typename BType> bool tryComputeAssumingType(ogn::OmniGraphDatabase& db, InType const& a, ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnDivide.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnRandomUnitQuaternion.ogn
{ "RandomUnitQuaternion": { "version": 1, "description": "Generates a random unit quaternion with uniform distribution.", "uiName": "Random Unit Quaternion", "categories": [ "math:operator" ], "scheduling": [ "threadsafe" ], "inputs": { "execIn": { ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnTan.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnDistance3D.ogn
{ "Distance3D": { "version": 1, "description": [ "Computes the distance between two 3D points A and B. ", "Which is the length of the vector with start and end points A and B", "If one input is an array and the other is a single point, the scaler will ", ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnMultiply.ogn
{ "Multiply": { "version": 2, "description": [ "Computes the element-wise product of two or more inputs (multiplication).", " If one input has a higher dimension than the others, then the input with lower dimension will be repeated", " to match the dimension of the ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnRandomBoolean.ogn
{ "RandomBoolean": { "version": 1, "description": "Generates a random boolean value.", "uiName": "Random Boolean", "categories": [ "math:operator" ], "scheduling": [ "threadsafe" ], "inputs": { "execIn": { "type": "execution", ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnSin.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnNthRoot.ogn
{ "NthRoot": { "version": 1, "description": [ "Computes the nth root of value. The result is the same type as the input value if the numerator", "is a decimal type. Otherwise the result is a double.", "If the input is a vector or matrix, then the node will calculate ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnCrossProduct.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnRandomUnitVector.cpp
// Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this software an...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnAcos.ogn
{ "Acos": { "version": 1, "description": [ "Trigonometric operation arccosine of one input in degrees." ], "uiName": "Arccos", "categories": ["math:operator"], "scheduling": ["threadsafe"], "inputs": { "value": { "type":...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnNormalize.cpp
// Copyright (c) 2022-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 softwa...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnAbsolute.cpp
// Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this software an...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/warp_noise.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnRandomUnitQuaternion.cpp
// Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation // and any modifications thereto. Any use, reproduction, disclosure or // distribution of this software an...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnEase.cpp
// Copyright (c) 2021-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 softwa...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnRound.cpp
// Copyright (c) 2022-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 softwa...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnGetLocationAtDistanceOnCurve2.ogn
{ "GetLocationAtDistanceOnCurve2": { "version": 1, "description": [ "Given a set of curve points and a normalized distance between 0-1.0, ", "return the location on a closed curve. 0 is the first point on the curve, 1.0 is also the first point", "because the is an...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnDivide_Tuple2.cpp
#include "OgnDivideHelper.h" namespace omni { namespace graph { namespace nodes { namespace OGNDivideHelper { bool tryComputeTuple2(ogn::OmniGraphDatabase& db, InType const& a, InType const& b, ResType& result, size_t count) { return _tryComputeTuple<2>(db, a, b, result, count); } } // namespace O...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnAdd.cpp
// Copyright (c) 2021-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 softwa...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnToDeg.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.nodes/omni/graph/nodes/ogn/nodes/math/OgnAnyZero.ogn
{ "AnyZero": { "version": 1, "description": [ "Outputs a boolean indicating if any of the input values are zero within a specified tolerance." ], "uiName": "Any Zero", "categories": ["math:condition"], "scheduling": ["threadsafe"], "inputs": { ...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnConcatenateFloat3Arrays.cpp
// Copyright (c) 2020-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.nodes/omni/graph/nodes/ogn/nodes/math/OgnAtan.ogn
{ "Atan": { "version": 1, "description": [ "Trigonometric operation arctangent of one input in degrees." ], "uiName": "Arctangent", "categories": ["math:operator"], "scheduling": ["threadsafe"], "inputs": { "value": { "t...
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/nodes/math/OgnAsin.ogn
{ "Asin": { "version": 1, "description": [ "Trigonometric operation arcsin of one input in degrees." ], "uiName": "Arcsine", "categories": ["math:operator"], "scheduling": ["threadsafe"], "inputs": { "value": { "type": [...