Tool🔗

class visionappster.Tool🔗

A superclass for tools that need more fine-grained control over their inputs and outputs. Tool implementations do not need to be derived from this class but doing so gives them additional features.

class EventType🔗

Members:

STARTED

STOPPED

__init__(self: visionappster.Tool.EventType, value: int)None🔗
property name🔗
class ExecutionMode🔗

Members:

NON_THREADED

SINGLE_THREADED

MULTI_THREADED

__init__(self: visionappster.Tool.ExecutionMode, value: int)None🔗
property name🔗
__init__(self: visionappster.Tool)None🔗

Initializes the class. Must be called explicitly from the constructor of a derived class:

from visionappster import Tool

def Derived(Tool):
    def __init__(self):
        Tool.__init__(self)
static publish(arg0: str, *args)None🔗

Makes one or more tools globally available.

property inputs🔗

An array of objects, each containing the following attributes:

  • name: str: The name of the input.

  • connected: boolTrue if the input is connected in the processing

    graph, False otherwise.

  • default_value: The current default value of the parameter. May differ from what the process function will actually get as an argument.

property outputs🔗

An array of objects, each containing the following attributes:

  • name: str: The name of the output.

  • connected: boolTrue if the output is connected in the processing

    graph, False otherwise.