1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
"""
Pybind11 CamiTK example plugin
-----------------------
.. currentmodule:: camitk
.. autosummary::
:toctree: _generate
startApplication
refresh
"""
from __future__ import annotations
import numpy
import typing
__all__ = ['Action', 'Application', 'Component', 'Core', 'HotPlugAction', 'ImageComponent', 'InterfaceBitMap', 'InterfaceFrame', 'InterfaceGeometry', 'InterfaceNode', 'InterfacePersistence', 'InterfaceProperty', 'MeshComponent', 'Property', 'PythonHotPlugAction', 'error', 'hook_stdout', 'info', 'my_stdout', 'newImageComponentFromNumpy', 'newMeshComponentFromNumpy', 'pythonEnvironmentDebugInfo', 'refresh', 'startApplication', 'trace', 'warning']
class Action:
def apply(self) -> ...:
...
def getName(self) -> QString:
...
def getParameterValue(self, arg0: QString) -> QVariant:
...
def getProperty(self, arg0: QString) -> ...:
...
def getTargets(self) -> list:
...
def refreshApplication(self) -> None:
...
def setParameterValue(self, arg0: QString, arg1: QVariant) -> bool:
...
class Application:
@staticmethod
def exec() -> None:
...
@staticmethod
def getTopLevelComponents() -> list:
...
def getAction(self: QString) -> Action:
...
def open(self: str) -> None:
...
class Component(InterfaceProperty, InterfaceNode, InterfaceGeometry, InterfaceBitMap, InterfaceFrame, InterfacePersistence):
def getName(self) -> QString:
...
def setFrameFrom(self, arg0: InterfaceFrame) -> None:
...
class Core:
@staticmethod
def getTestDataDir() -> QString:
...
class HotPlugAction(Action):
pass
class ImageComponent(Component):
def __init__(self, arg0: QString, arg1: QString) -> None:
...
def getImageDataAsNumpy(self) -> numpy.ndarray:
...
def getSpacing(self) -> numpy.ndarray:
...
def replaceImageData(self, arg0: numpy.ndarray) -> None:
...
class InterfaceBitMap:
pass
class InterfaceFrame:
pass
class InterfaceGeometry:
pass
class InterfaceNode:
pass
class InterfacePersistence:
pass
class InterfaceProperty:
pass
class MeshComponent(Component):
def getPointSetAsNumpy(self) -> numpy.ndarray:
...
class Property:
def __init__(self, name: QString, value: QVariant, description: QString, unit: QString) -> None:
...
def getAttribute(self, arg0: QString) -> QVariant:
...
def getDescription(self) -> QString:
...
def getName(self) -> QString:
...
def getReadOnly(self) -> bool:
...
def getUnit(self) -> QString:
...
def setAttribute(self, attribute: QString, value: QVariant) -> None:
...
def setReadOnly(self, arg0: bool) -> None:
...
class PythonHotPlugAction(HotPlugAction):
pass
class my_stdout:
@staticmethod
def flush() -> None:
...
@staticmethod
def write(arg0: typing.Any) -> None:
...
def error(arg0: QString) -> None:
...
def hook_stdout() -> None:
...
def info(arg0: QString) -> None:
...
def newImageComponentFromNumpy(array: numpy.ndarray, name: str = 'image', spacing: typing.Any = None) -> ImageComponent:
...
def newMeshComponentFromNumpy(name: str = 'mesh', points_array: numpy.ndarray[numpy.float64], polys_array: numpy.ndarray[numpy.int64] = ...) -> MeshComponent:
"""
Create vtkPointSet (vtkPolyData if only points, vtkUnstructuredGrid if general cells)
"""
def pythonEnvironmentDebugInfo() -> QString:
...
def refresh() -> None:
...
def startApplication() -> None:
...
def trace(arg0: QString) -> None:
...
def warning(arg0: QString) -> None:
...
__version__: str = 'CamiTK 6.0.dev.166-python-bindings-python-cep-and-scripting-mvp.b2b998c6d'
|