pyfast 4.12.0__cp36-abi3-win_amd64.whl → 4.13.0__cp36-abi3-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fast/__init__.py CHANGED
@@ -3,8 +3,17 @@ import threading
3
3
  if threading.current_thread() != threading.main_thread():
4
4
  raise ImportError('FAST must be imported in main thread (import fast)!')
5
5
 
6
- import os
6
+ # Check that PySide2 is not included before fast
7
7
  import sys
8
+ #if 'fast' not in sys.modules and 'PySide2.QtCore' in sys.modules:
9
+ # raise RuntimeError('You have to import fast before PySide2!\n\n'
10
+ # 'Import FAST before PySide2 in the following way:\n'
11
+ # 'if platform.system() != \'Windows\':\n'
12
+ # ' import PySide2.QtSvg # Must import this before fast due to conflicting symbols\n'
13
+ # 'import fast # Must import FAST before rest of pyside2\n'
14
+ # 'from PySide2.QtWidgets import *')
15
+
16
+ import os
8
17
  is_windows = sys.platform.startswith('win')
9
18
  # Set base path in config to be two directories up from where the python module is
10
19
  bin_path = path = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'bin'))
fast/bin/FAST.dll CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
fast/bin/UFFviewer.exe CHANGED
Binary file
fast/bin/_fast.pyd CHANGED
Binary file
fast/bin/concrt140.dll ADDED
Binary file
fast/bin/msvcp140.dll ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
fast/bin/runPipeline.exe CHANGED
Binary file
fast/bin/systemCheck.exe CHANGED
Binary file
fast/bin/vcomp140.dll ADDED
Binary file
Binary file
Binary file
fast/fast.py CHANGED
@@ -4007,6 +4007,8 @@ def SpatialDataObject_getStaticNameOfClass() -> "std::string":
4007
4007
  return _fast.SpatialDataObject_getStaticNameOfClass()
4008
4008
 
4009
4009
  class OpenCLImageAccess(object):
4010
+ r"""OpenCL image access to Image"""
4011
+
4010
4012
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4011
4013
  __repr__ = _swig_repr
4012
4014
 
@@ -4030,6 +4032,8 @@ class OpenCLImageAccess(object):
4030
4032
  _fast.OpenCLImageAccess_swigregister(OpenCLImageAccess)
4031
4033
 
4032
4034
  class OpenCLBufferAccess(object):
4035
+ r"""OpenCL buffer access to Image"""
4036
+
4033
4037
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4034
4038
  __repr__ = _swig_repr
4035
4039
 
@@ -4047,6 +4051,8 @@ class OpenCLBufferAccess(object):
4047
4051
  _fast.OpenCLBufferAccess_swigregister(OpenCLBufferAccess)
4048
4052
 
4049
4053
  class ImageAccess(object):
4054
+ r"""CPU access to Image data"""
4055
+
4050
4056
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4051
4057
  __repr__ = _swig_repr
4052
4058
 
@@ -4076,6 +4082,8 @@ class ImageAccess(object):
4076
4082
  _fast.ImageAccess_swigregister(ImageAccess)
4077
4083
 
4078
4084
  class BoundingBoxSetAccess(object):
4085
+ r"""CPU access to BoundingBoxSet"""
4086
+
4079
4087
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4080
4088
  __repr__ = _swig_repr
4081
4089
 
@@ -4131,6 +4139,8 @@ class BoundingBoxSetOpenGLAccess(object):
4131
4139
  _fast.BoundingBoxSetOpenGLAccess_swigregister(BoundingBoxSetOpenGLAccess)
4132
4140
 
4133
4141
  class OpenGLTextureAccess(object):
4142
+ r"""OpenGL texture access to Image"""
4143
+
4134
4144
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4135
4145
  __repr__ = _swig_repr
4136
4146
 
@@ -12028,8 +12038,15 @@ class RegionProperties(ProcessObject):
12028
12038
  return _fast.RegionProperties_connect(self, *args)
12029
12039
 
12030
12040
  @staticmethod
12031
- def create() -> "std::shared_ptr< fast::RegionProperties >":
12032
- return _fast.RegionProperties_create()
12041
+ def create(extractContours: "bool"=True) -> "std::shared_ptr< fast::RegionProperties >":
12042
+ r"""
12043
+ Create instance
12044
+ :type extractContours: boolean
12045
+ :param extractContours: Whether to extract contours of each region or not
12046
+ :rtype: :py:class:`RegionProperties`
12047
+ :return: instance
12048
+ """
12049
+ return _fast.RegionProperties_create(extractContours)
12033
12050
  __swig_destroy__ = _fast.delete_RegionProperties
12034
12051
 
12035
12052
  # Register RegionProperties in _fast:
@@ -12041,8 +12058,15 @@ def RegionProperties_New() -> "std::shared_ptr< fast::RegionProperties >":
12041
12058
  def RegionProperties_getStaticNameOfClass() -> "std::string":
12042
12059
  return _fast.RegionProperties_getStaticNameOfClass()
12043
12060
 
12044
- def RegionProperties_create() -> "std::shared_ptr< fast::RegionProperties >":
12045
- return _fast.RegionProperties_create()
12061
+ def RegionProperties_create(extractContours: "bool"=True) -> "std::shared_ptr< fast::RegionProperties >":
12062
+ r"""
12063
+ Create instance
12064
+ :type extractContours: boolean
12065
+ :param extractContours: Whether to extract contours of each region or not
12066
+ :rtype: :py:class:`RegionProperties`
12067
+ :return: instance
12068
+ """
12069
+ return _fast.RegionProperties_create(extractContours)
12046
12070
 
12047
12071
  class RunUntilFinished(ProcessObject):
12048
12072
  r"""
@@ -13508,6 +13532,11 @@ class MeshTriangle(MeshConnection):
13508
13532
  _fast.MeshTriangle_swigregister(MeshTriangle)
13509
13533
 
13510
13534
  class MeshAccess(object):
13535
+ r"""
13536
+ CPU access to Mesh data
13537
+ See also: Mesh
13538
+ """
13539
+
13511
13540
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13512
13541
  __repr__ = _swig_repr
13513
13542
 
@@ -13515,14 +13544,31 @@ class MeshAccess(object):
13515
13544
  _fast.MeshAccess_swiginit(self, _fast.new_MeshAccess(mCoordinates, mNormals, mColors, mLines, mTriangles, mesh))
13516
13545
 
13517
13546
  def getVertex(self, i: "uint") -> "fast::MeshVertex":
13547
+ r"""
13548
+ Get vertex at position i
13549
+ :type i: int
13550
+ :param i: index
13551
+ """
13518
13552
  return _fast.MeshAccess_getVertex(self, i)
13519
13553
 
13520
- def setVertex(self, i: "uint", arg3: "MeshVertex") -> "void":
13521
- return _fast.MeshAccess_setVertex(self, i, arg3)
13554
+ def setVertex(self, i: "uint", vertex: "MeshVertex", updateBoundingBox: "bool"=True) -> "void":
13555
+ r"""
13556
+ Set vertex at given index
13557
+ :type i: int
13558
+ :param i: index
13559
+ :type vertex: :py:class:`MeshVertex`
13560
+ :param vertex: Vertex
13561
+ :type updateBoundingBox: boolean
13562
+ :param updateBoundingBox: Whether to update the Mesh bounding box or not
13563
+ """
13564
+ return _fast.MeshAccess_setVertex(self, i, vertex, updateBoundingBox)
13522
13565
 
13523
13566
  def addVertex(self, v: "MeshVertex") -> "void":
13524
13567
  return _fast.MeshAccess_addVertex(self, v)
13525
13568
 
13569
+ def addVertices(self, vertices: "vectormeshvertex") -> "void":
13570
+ return _fast.MeshAccess_addVertices(self, vertices)
13571
+
13526
13572
  def getTriangle(self, i: "uint") -> "fast::MeshTriangle":
13527
13573
  return _fast.MeshAccess_getTriangle(self, i)
13528
13574
 
@@ -13558,6 +13604,8 @@ class MeshAccess(object):
13558
13604
  _fast.MeshAccess_swigregister(MeshAccess)
13559
13605
 
13560
13606
  class MeshOpenCLAccess(object):
13607
+ r"""OpenCL buffer access to Mesh"""
13608
+
13561
13609
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13562
13610
  __repr__ = _swig_repr
13563
13611
 
@@ -13581,6 +13629,8 @@ class MeshOpenCLAccess(object):
13581
13629
  _fast.MeshOpenCLAccess_swigregister(MeshOpenCLAccess)
13582
13630
 
13583
13631
  class VertexBufferObjectAccess(object):
13632
+ r"""Vertex Buffer Object (VBO) access to Mesh"""
13633
+
13584
13634
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13585
13635
  __repr__ = _swig_repr
13586
13636
 
@@ -13619,6 +13669,8 @@ class VertexBufferObjectAccess(object):
13619
13669
  _fast.VertexBufferObjectAccess_swigregister(VertexBufferObjectAccess)
13620
13670
 
13621
13671
  class TensorAccess(object):
13672
+ r"""CPU access to Tensor"""
13673
+
13622
13674
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13623
13675
  __repr__ = _swig_repr
13624
13676
 
@@ -13647,6 +13699,8 @@ ImageCompression_LZW = _fast.ImageCompression_LZW
13647
13699
  ImageCompression_NEURAL_NETWORK = _fast.ImageCompression_NEURAL_NETWORK
13648
13700
  ImageCompression_DEFLATE = _fast.ImageCompression_DEFLATE
13649
13701
  class ImagePyramidAccess(object):
13702
+ r"""CPU access to ImagePyramid"""
13703
+
13650
13704
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13651
13705
  __repr__ = _swig_repr
13652
13706
 
@@ -13714,6 +13768,9 @@ class ImagePyramidAccess(object):
13714
13768
  return _fast.ImagePyramidAccess_release(self)
13715
13769
  __swig_destroy__ = _fast.delete_ImagePyramidAccess
13716
13770
 
13771
+ def setJPEGTables(self, tableCount: "uint32_t", tableData: "void *") -> "void":
13772
+ return _fast.ImagePyramidAccess_setJPEGTables(self, tableCount, tableData)
13773
+
13717
13774
  # Register ImagePyramidAccess in _fast:
13718
13775
  _fast.ImagePyramidAccess_swigregister(ImagePyramidAccess)
13719
13776
 
@@ -18776,11 +18833,17 @@ class VertexRenderer(Renderer):
18776
18833
  r"""
18777
18834
  Create instance
18778
18835
  :type size: float
18779
- :param size: Vertex point size
18836
+ :param size: Vertex point size (can be in pixels or millimeters, see sizeIsInPixels parameter)
18837
+ :type sizeIsInPixels: boolean
18838
+ :param sizeIsInPixels: Whether size is given in pixels or millimeters
18839
+ :type minSize: int
18840
+ :param minSize: Minimum size in pixels, used when sizeInPixels = false
18780
18841
  :type color: :py:class:`Color`
18781
- :param color:
18842
+ :param color: Override color stored for each vertex
18843
+ :type opacity: float
18844
+ :param opacity: Opacity of vertices: 1 = no transparency, 0 = fully transparent
18782
18845
  :type drawOnTop: boolean
18783
- :param drawOnTop:
18846
+ :param drawOnTop: Disable depth testing and always draw vertices on top
18784
18847
  :rtype: :py:class:`VertexRenderer`
18785
18848
  :return: instance
18786
18849
  """
@@ -18810,6 +18873,9 @@ class VertexRenderer(Renderer):
18810
18873
  def setSize(self, inputNr: "uint", size: "float") -> "void":
18811
18874
  return _fast.VertexRenderer_setSize(self, inputNr, size)
18812
18875
 
18876
+ def setOpacity(self, opacity: "float") -> "void":
18877
+ return _fast.VertexRenderer_setOpacity(self, opacity)
18878
+
18813
18879
  def draw(self, perspectiveMatrix: "Matrix4f", viewingMatrix: "Matrix4f", zNear: "float", zFar: "float", mode2D: "bool", viewWidth: "int", viewHeight: "int") -> "void":
18814
18880
  return _fast.VertexRenderer_draw(self, perspectiveMatrix, viewingMatrix, zNear, zFar, mode2D, viewWidth, viewHeight)
18815
18881
  __swig_destroy__ = _fast.delete_VertexRenderer
@@ -18827,11 +18893,17 @@ def VertexRenderer_create(*args, **kwargs) -> "std::shared_ptr< fast::VertexRend
18827
18893
  r"""
18828
18894
  Create instance
18829
18895
  :type size: float
18830
- :param size: Vertex point size
18896
+ :param size: Vertex point size (can be in pixels or millimeters, see sizeIsInPixels parameter)
18897
+ :type sizeIsInPixels: boolean
18898
+ :param sizeIsInPixels: Whether size is given in pixels or millimeters
18899
+ :type minSize: int
18900
+ :param minSize: Minimum size in pixels, used when sizeInPixels = false
18831
18901
  :type color: :py:class:`Color`
18832
- :param color:
18902
+ :param color: Override color stored for each vertex
18903
+ :type opacity: float
18904
+ :param opacity: Opacity of vertices: 1 = no transparency, 0 = fully transparent
18833
18905
  :type drawOnTop: boolean
18834
- :param drawOnTop:
18906
+ :param drawOnTop: Disable depth testing and always draw vertices on top
18835
18907
  :rtype: :py:class:`VertexRenderer`
18836
18908
  :return: instance
18837
18909
  """
@@ -19256,6 +19328,62 @@ class SliderWidget(object):
19256
19328
  # Register SliderWidget in _fast:
19257
19329
  _fast.SliderWidget_swigregister(SliderWidget)
19258
19330
 
19331
+ class TextWidget(object):
19332
+ r"""A text widget"""
19333
+
19334
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
19335
+ __repr__ = _swig_repr
19336
+
19337
+ def __init__(self, text: "std::string", parent: "QWidget *"=None):
19338
+ r"""
19339
+ Create a text widget
19340
+ :type text: string
19341
+ :param text: The text to display. Can contain HTML and also variables, e.g. {this_var}.
19342
+ The values of the variables can be set with TextWidget::setVariable("this_var", "value");
19343
+ :type parent: QWidget
19344
+ :param parent:
19345
+ """
19346
+ _fast.TextWidget_swiginit(self, _fast.new_TextWidget(text, parent))
19347
+
19348
+ def setText(self, text: "std::string") -> "void":
19349
+ r"""
19350
+ Set text
19351
+ :type text: string
19352
+ :param text: The text to display. Can contain HTML and also variables, e.g. {this_var}.
19353
+ The values of the variables can be set with TextWidget::setVariable("this_var", "value");
19354
+ :type text: string
19355
+ :param text:
19356
+ """
19357
+ return _fast.TextWidget_setText(self, text)
19358
+
19359
+ def getText(self) -> "std::string":
19360
+ return _fast.TextWidget_getText(self)
19361
+
19362
+ def setVariable(self, name: "std::string", value: "std::string") -> "void":
19363
+ r"""
19364
+ Set a variable
19365
+ :type name: string
19366
+ :param name: Name of variable, should exist as {<name>} in the text, and will be replaced with <value>
19367
+ :type value: string
19368
+ :param value: Value of variable
19369
+ """
19370
+ return _fast.TextWidget_setVariable(self, name, value)
19371
+
19372
+ def setVariables(self, variables: "StringMap") -> "void":
19373
+ r"""
19374
+ Set multiple variables
19375
+ :type variables: std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >
19376
+ :param variables: map of name and values of the variables
19377
+ """
19378
+ return _fast.TextWidget_setVariables(self, variables)
19379
+
19380
+ def getVariable(self, name: "std::string") -> "std::string":
19381
+ return _fast.TextWidget_getVariable(self, name)
19382
+ __swig_destroy__ = _fast.delete_TextWidget
19383
+
19384
+ # Register TextWidget in _fast:
19385
+ _fast.TextWidget_swigregister(TextWidget)
19386
+
19259
19387
  class FramerateSynchronizer(ProcessObject):
19260
19388
  r"""
19261
19389
  Synchronize multiple process objects
@@ -19304,6 +19432,106 @@ def FramerateSynchronizer_getStaticNameOfClass() -> "std::string":
19304
19432
  def FramerateSynchronizer_create(priorityPort: "int"=-1) -> "std::shared_ptr< fast::FramerateSynchronizer >":
19305
19433
  return _fast.FramerateSynchronizer_create(priorityPort)
19306
19434
 
19435
+ class DataHubItems(object):
19436
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
19437
+ __repr__ = _swig_repr
19438
+
19439
+ def iterator(self) -> "swig::SwigPyIterator *":
19440
+ return _fast.DataHubItems_iterator(self)
19441
+ def __iter__(self):
19442
+ return self.iterator()
19443
+
19444
+ def __nonzero__(self) -> "bool":
19445
+ return _fast.DataHubItems___nonzero__(self)
19446
+
19447
+ def __bool__(self) -> "bool":
19448
+ return _fast.DataHubItems___bool__(self)
19449
+
19450
+ def __len__(self) -> "std::vector< fast::DataHub::Item >::size_type":
19451
+ return _fast.DataHubItems___len__(self)
19452
+
19453
+ def __getslice__(self, i: "std::vector< fast::DataHub::Item >::difference_type", j: "std::vector< fast::DataHub::Item >::difference_type") -> "std::vector< fast::DataHub::Item,std::allocator< fast::DataHub::Item > > *":
19454
+ return _fast.DataHubItems___getslice__(self, i, j)
19455
+
19456
+ def __setslice__(self, *args) -> "void":
19457
+ return _fast.DataHubItems___setslice__(self, *args)
19458
+
19459
+ def __delslice__(self, i: "std::vector< fast::DataHub::Item >::difference_type", j: "std::vector< fast::DataHub::Item >::difference_type") -> "void":
19460
+ return _fast.DataHubItems___delslice__(self, i, j)
19461
+
19462
+ def __delitem__(self, *args) -> "void":
19463
+ return _fast.DataHubItems___delitem__(self, *args)
19464
+
19465
+ def __getitem__(self, *args) -> "std::vector< fast::DataHub::Item >::value_type const &":
19466
+ return _fast.DataHubItems___getitem__(self, *args)
19467
+
19468
+ def __setitem__(self, *args) -> "void":
19469
+ return _fast.DataHubItems___setitem__(self, *args)
19470
+
19471
+ def append(self, x: "DataHubItem") -> "void":
19472
+ return _fast.DataHubItems_append(self, x)
19473
+
19474
+ def empty(self) -> "bool":
19475
+ return _fast.DataHubItems_empty(self)
19476
+
19477
+ def size(self) -> "std::vector< fast::DataHub::Item >::size_type":
19478
+ return _fast.DataHubItems_size(self)
19479
+
19480
+ def swap(self, v: "DataHubItems") -> "void":
19481
+ return _fast.DataHubItems_swap(self, v)
19482
+
19483
+ def begin(self) -> "std::vector< fast::DataHub::Item >::iterator":
19484
+ return _fast.DataHubItems_begin(self)
19485
+
19486
+ def end(self) -> "std::vector< fast::DataHub::Item >::iterator":
19487
+ return _fast.DataHubItems_end(self)
19488
+
19489
+ def rbegin(self) -> "std::vector< fast::DataHub::Item >::reverse_iterator":
19490
+ return _fast.DataHubItems_rbegin(self)
19491
+
19492
+ def rend(self) -> "std::vector< fast::DataHub::Item >::reverse_iterator":
19493
+ return _fast.DataHubItems_rend(self)
19494
+
19495
+ def clear(self) -> "void":
19496
+ return _fast.DataHubItems_clear(self)
19497
+
19498
+ def get_allocator(self) -> "std::vector< fast::DataHub::Item >::allocator_type":
19499
+ return _fast.DataHubItems_get_allocator(self)
19500
+
19501
+ def pop_back(self) -> "void":
19502
+ return _fast.DataHubItems_pop_back(self)
19503
+
19504
+ def erase(self, *args) -> "std::vector< fast::DataHub::Item >::iterator":
19505
+ return _fast.DataHubItems_erase(self, *args)
19506
+
19507
+ def __init__(self, *args):
19508
+ _fast.DataHubItems_swiginit(self, _fast.new_DataHubItems(*args))
19509
+
19510
+ def push_back(self, x: "DataHubItem") -> "void":
19511
+ return _fast.DataHubItems_push_back(self, x)
19512
+
19513
+ def front(self) -> "std::vector< fast::DataHub::Item >::value_type const &":
19514
+ return _fast.DataHubItems_front(self)
19515
+
19516
+ def back(self) -> "std::vector< fast::DataHub::Item >::value_type const &":
19517
+ return _fast.DataHubItems_back(self)
19518
+
19519
+ def assign(self, n: "std::vector< fast::DataHub::Item >::size_type", x: "DataHubItem") -> "void":
19520
+ return _fast.DataHubItems_assign(self, n, x)
19521
+
19522
+ def insert(self, *args) -> "void":
19523
+ return _fast.DataHubItems_insert(self, *args)
19524
+
19525
+ def reserve(self, n: "std::vector< fast::DataHub::Item >::size_type") -> "void":
19526
+ return _fast.DataHubItems_reserve(self, n)
19527
+
19528
+ def capacity(self) -> "std::vector< fast::DataHub::Item >::size_type":
19529
+ return _fast.DataHubItems_capacity(self)
19530
+ __swig_destroy__ = _fast.delete_DataHubItems
19531
+
19532
+ # Register DataHubItems in _fast:
19533
+ _fast.DataHubItems_swigregister(DataHubItems)
19534
+
19307
19535
  class DataHub(object):
19308
19536
  r"""
19309
19537
  Object uses to browse and download data, models and pipelines from the FAST DataHub
@@ -19412,6 +19640,33 @@ class DataHubItem(object):
19412
19640
  downloads = property(_fast.DataHubItem_downloads_get, _fast.DataHubItem_downloads_set)
19413
19641
  needs = property(_fast.DataHubItem_needs_get, _fast.DataHubItem_needs_set)
19414
19642
 
19643
+ def __init__(self, json: "QJsonObject"):
19644
+ r"""
19645
+ Create Item from JSON
19646
+ :type json: QJsonObject
19647
+ :param json:
19648
+ """
19649
+ _fast.DataHubItem_swiginit(self, _fast.new_DataHubItem(json))
19650
+
19651
+ @staticmethod
19652
+ def fromJSONFile(pathToJSONFile: "std::string const &") -> "fast::DataHub::Item":
19653
+ r"""
19654
+ Create Item from JSON file
19655
+ :type pathToJSONFile: string
19656
+ :param pathToJSONFile:
19657
+ :rtype: :py:class:`Item`
19658
+ :return:
19659
+ """
19660
+ return _fast.DataHubItem_fromJSONFile(pathToJSONFile)
19661
+
19662
+ def toJSON(self) -> "QJsonObject":
19663
+ r"""
19664
+ Return Item as JSON
19665
+ :rtype: QJsonObject
19666
+ :return:
19667
+ """
19668
+ return _fast.DataHubItem_toJSON(self)
19669
+
19415
19670
  def getAllAuthors(self) -> "std::set< std::string >":
19416
19671
  r"""
19417
19672
  Get all authors of this item and dependencies
@@ -19435,14 +19690,21 @@ class DataHubItem(object):
19435
19690
  :return: licenses
19436
19691
  """
19437
19692
  return _fast.DataHubItem_getAllLicences(self)
19438
-
19439
- def __init__(self):
19440
- _fast.DataHubItem_swiginit(self, _fast.new_DataHubItem())
19441
19693
  __swig_destroy__ = _fast.delete_DataHubItem
19442
19694
 
19443
19695
  # Register DataHubItem in _fast:
19444
19696
  _fast.DataHubItem_swigregister(DataHubItem)
19445
19697
 
19698
+ def DataHubItem_fromJSONFile(pathToJSONFile: "std::string const &") -> "fast::DataHub::Item":
19699
+ r"""
19700
+ Create Item from JSON file
19701
+ :type pathToJSONFile: string
19702
+ :param pathToJSONFile:
19703
+ :rtype: :py:class:`Item`
19704
+ :return:
19705
+ """
19706
+ return _fast.DataHubItem_fromJSONFile(pathToJSONFile)
19707
+
19446
19708
  class DataHubDownload(object):
19447
19709
  r"""Download results from DataHub"""
19448
19710
 
@@ -19756,6 +20018,9 @@ class PythonProcessObject(ProcessObject):
19756
20018
 
19757
20019
  def createOutputPort(self, port: "int") -> "void":
19758
20020
  return _fast.PythonProcessObject_createOutputPort(self, port)
20021
+
20022
+ def stopPipeline(self) -> "void":
20023
+ return _fast.PythonProcessObject_stopPipeline(self)
19759
20024
  @classmethod
19760
20025
  def create(cls, *args, **kwargs):
19761
20026
  instance = cls(*args, **kwargs)
@@ -19860,6 +20125,9 @@ class PythonStreamer(Streamer):
19860
20125
 
19861
20126
  def frameAdded(self) -> "void":
19862
20127
  return _fast.PythonStreamer_frameAdded(self)
20128
+
20129
+ def stopPipeline(self) -> "void":
20130
+ return _fast.PythonStreamer_stopPipeline(self)
19863
20131
  @classmethod
19864
20132
  def create(cls, *args, **kwargs):
19865
20133
  instance = cls(*args, **kwargs)
@@ -19991,6 +20259,9 @@ class PythonRandomAccessStreamer(RandomAccessStreamer):
19991
20259
 
19992
20260
  def setFramerate(self, framerate: "int") -> "void":
19993
20261
  return _fast.PythonRandomAccessStreamer_setFramerate(self, framerate)
20262
+
20263
+ def stopPipeline(self) -> "void":
20264
+ return _fast.PythonRandomAccessStreamer_stopPipeline(self)
19994
20265
  @classmethod
19995
20266
  def create(cls, *args, **kwargs):
19996
20267
  instance = cls(*args, **kwargs)
@@ -10,14 +10,15 @@ uniform mat4 perspectiveTransform;
10
10
  uniform float pointSize;
11
11
  uniform bool useGlobalColor;
12
12
  uniform vec3 globalColor;
13
+ uniform float opacity;
13
14
 
14
15
  void main()
15
16
  {
16
17
  gl_PointSize = pointSize;
17
18
  gl_Position = perspectiveTransform * viewTransform * transform * vec4(aPos, 1.0);
18
19
  if(useGlobalColor) {
19
- vertex_color = vec4(globalColor, 1.0);
20
+ vertex_color = vec4(globalColor, opacity);
20
21
  } else {
21
- vertex_color = vec4(aColor, 1.0);
22
+ vertex_color = vec4(aColor, opacity);
22
23
  }
23
24
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyfast
3
- Version: 4.12.0
3
+ Version: 4.13.0
4
4
  Summary: Python bindings of FAST - a framework for high performance medical image computing and visualization on heterogeneous systems utilizing multi-core CPUs and GPUs.
5
5
  Home-page: https://fast-imaging.github.io
6
6
  Author: Erik Smistad
@@ -21,10 +21,11 @@ Classifier: Topic :: Scientific/Engineering :: Visualization
21
21
  Requires-Python: >=3
22
22
  Description-Content-Type: text/markdown
23
23
 
24
- ![](https://github.com/smistad/FAST/wiki/images/fast_logo.png)
24
+ ![](doc/images/fast_logo_wide_background.png)
25
25
 
26
26
  [![GitHub Discussions](https://img.shields.io/github/discussions/smistad/FAST?label=GitHub%20discussions&logo=github)](https://github.com/smistad/FAST/discussions)
27
27
  [![Pip Downloads](https://img.shields.io/pypi/dm/pyfast?label=pip%20downloads&logo=python)](https://fast-imaging.github.io/download-stats.html)
28
+ [![Documentation](https://img.shields.io/badge/Documentation-Online-blue?logo=googledocs&logoColor=white)](https://fast-imaging.github.io)
28
29
 
29
30
  FAST is an open-source framework developed by researchers at the Norwegian University of Science and Technology (NTNU) and SINTEF.
30
31
  The main goal of FAST is to make it easier to do high-performance processing, neural network inference, and visualization of medical images utilizing multi-core CPUs and GPUs. To achieve this, FAST use modern C++, OpenCL and OpenGL, and neural network inference libraries such as TensorRT, OpenVINO, TensorFlow and ONNX Runtime.
@@ -38,7 +39,7 @@ Learn best by example? Check out all the examples for [C++](https://fast-imaging
38
39
 
39
40
  For more examples and documentation, go to [fast-imaging.github.io](https://fast-imaging.github.io).
40
41
 
41
- Need help? Post your questions on the [Discussions](https://github.com/smistad/FAST/discussions/new?category=q-a) page or use the [Gitter Chat](https://gitter.im/smistad/FAST).
42
+ Need help? Post your questions on the [Discussions](https://github.com/smistad/FAST/discussions/) page.
42
43
 
43
44
  ### Main features
44
45
 
@@ -74,8 +75,14 @@ To setup and build the framework, see the instructions for your operating system
74
75
  * [macOS](https://fast-imaging.github.io/building-on-mac.html)
75
76
 
76
77
 
77
- ![Surface mesh extracted from a large abdominal CT scan.](https://github.com/smistad/FAST/wiki/images/surface_extraction.png) ![Alpha blending ray casting rendering of a thorax CT image.](https://github.com/smistad/FAST/wiki/images/volume_renderer.jpg)
78
+ [<img src="https://fast-imaging.github.io/alpha_blending_volume_renderer_CT.jpg" height="300">](https://fast-imaging.github.io/python-tutorial-mri-ct.html#autotoc_md116)
79
+ [<img src="https://fast-imaging.github.io/rotating_3D.gif" height="300">](https://fast-imaging.github.io/create_rotating_3D_gif_8py-example.html)
80
+
81
+ [<img src="https://fast-imaging.github.io/real_time_line_plotter.jpg" width="570">](https://fast-imaging.github.io/real_time_line_plotter_8py-example.html)
82
+
83
+ [<img src="https://fast-imaging.github.io/nuclei_segmentation.jpg" height="300">](https://fast-imaging.github.io/python-tutorial-wsi.html#autotoc_md172)
84
+ [<img src="https://fast-imaging.github.io/open_wsi.jpg" height="300">](https://fast-imaging.github.io/load_and_display_wsi_8py-example.html)
85
+
78
86
 
79
- ![Ultrasound image segmentation using neural netwoks.](https://github.com/smistad/FAST/wiki/images/ultrasound_segmentation.jpg) ![Whole slide microscopy image.](https://github.com/smistad/FAST/wiki/images/wsi.jpg)
80
87
 
81
88
 
@@ -1,13 +1,13 @@
1
1
  fast/README.md,sha256=IAIHnW4u0N5jqL9jJJJIWUEr4NxNiYukgzcAQVi7X7Y,3157
2
- fast/__init__.py,sha256=F8lTSMU9Y8fLtyVc9TRwkxcR-xfYIli6ohWPu-qk3q0,1107
2
+ fast/__init__.py,sha256=7dAN9S8exrVrCIASBenenE9RMl6z2_lqYogH3kerKIA,1697
3
3
  fast/entry_points.py,sha256=-HSZuuewlaohCTgk_RoaZVORN-s6vi1gj40_4oejJPQ,437
4
- fast/fast.py,sha256=TerCOseztv6abekG6Iex7Bx5hHsAxUkD28Ja-7Ygd3E,775242
4
+ fast/fast.py,sha256=UfJwHSA-Uivn9RqiHIhQPrGwvLHvxqOW1CvIcR-IWt4,785538
5
5
  fast/bin/DirectML.dll,sha256=nJ5tgiVhxsQbkOaZSz6IV88dZtv7HgxMeZx8ibTpLaE,18527776
6
- fast/bin/FAST.dll,sha256=hot8jYJ_WAOl1jeq1ptLCi2eNCZcdYaKqbsEcPPiR38,6568960
7
- fast/bin/InferenceEngineONNXRuntime.dll,sha256=Cd3aan_tvSxEdCKq50bVhXaHcWatiVs9LDnIFXWtWxM,68608
8
- fast/bin/InferenceEngineOpenVINO.dll,sha256=UtaqRprO3lfOiq3hB6diSoBdogfwZTB4-Npiq8UBj6U,103424
9
- fast/bin/InferenceEngineTensorFlow.dll,sha256=vMnRiv-aB3Z0Mh0rgrutKSsSnbyXJITM3tauy-C3gfo,84992
10
- fast/bin/InferenceEngineTensorRT.dll,sha256=vYcDdjNizuzmmW9LMaq1LSNV_HFAwr14PMTbgAjVLcQ,183296
6
+ fast/bin/FAST.dll,sha256=kVfvPTqmLHs5tibcoI5I-OVLrfHknPgaTzNhDF3Y9x8,6585856
7
+ fast/bin/InferenceEngineONNXRuntime.dll,sha256=ejOA6Txb6obNH6szVDzXfqqHp6wxBu3CJCBV44HfLpg,68608
8
+ fast/bin/InferenceEngineOpenVINO.dll,sha256=iebi6W32Zdb_VcCWdwodfO_6KX7QDKIN2r_i044Zyuk,103424
9
+ fast/bin/InferenceEngineTensorFlow.dll,sha256=MLTODraPw5lgEsQG33FC7rh9_6c21YDD6PXs6tGai48,84992
10
+ fast/bin/InferenceEngineTensorRT.dll,sha256=gxpKHj8oBnAwxFqT8aotCn2093dNbL1wGXRoAF14DeE,183296
11
11
  fast/bin/JKQTCommonSharedLib_Release.dll,sha256=-J899O0jWoErkmad0Gpz3yUOsOzaasZ1KH7qfRztlWY,594944
12
12
  fast/bin/JKQTFastPlotterSharedLib_Release.dll,sha256=ihj_GGUTxtRMxcWwE5gcninxk71OAD3ZcrJfFQKkcl0,275968
13
13
  fast/bin/JKQTMathTextSharedLib_Release.dll,sha256=LciFx8sPLuhY8neWSSnuJOl95wn4UC6TjbQQsk8wKws,1854464
@@ -29,12 +29,13 @@ fast/bin/Qt5Svg.dll,sha256=aj02zjM0_dLEts0WBtgFg1IkoC9TiZlljTR_Sn89w2c,323584
29
29
  fast/bin/Qt5Test.dll,sha256=Q8N0_CAf2zm5qmDKIhyDZF6OMQo50ioqBXECQDKQaF8,238080
30
30
  fast/bin/Qt5Widgets.dll,sha256=7QO8QbvCqLonnGokcye5bEy_aEmYvGNC-r4SA2Aixvk,5486592
31
31
  fast/bin/Qt5Xml.dll,sha256=3LNjwTIY4zSIOpjak8zO882n24aB6R6HC2BYxr_r0CE,206848
32
- fast/bin/UFFviewer.exe,sha256=3OfM7n6qt2lqN52UamYvL-dkv1GE8Q9XHa5sgi0k6sA,351232
33
- fast/bin/_fast.pyd,sha256=eqJibZyEIOiGHq-Fk-NqxXjIXl48jw_G4mLRsAWi1-8,6593024
32
+ fast/bin/UFFviewer.exe,sha256=862dR2oesBsrn9EEpMr9Kojq43owECvFH57dDv2zlZI,351232
33
+ fast/bin/_fast.pyd,sha256=DsdRsnZ4-wHbjML98SZoilM_z-QhSIhHN1Wt8m8yGSY,6684160
34
34
  fast/bin/brotlicommon.dll,sha256=eqau-BNwoZqjP-UehjE2TtJ3OUgHM1aFih_QPKO0q_0,141824
35
35
  fast/bin/brotlidec.dll,sha256=4VtxgcvsGSOeczeJg8mj-jvnEgoKAYamP_jL5U6I5rA,49152
36
36
  fast/bin/brotlienc.dll,sha256=mEPxzSRy_5f5rF1b-njjzWnp7VUXYvFl828J_CSgOoc,666112
37
37
  fast/bin/cache.json,sha256=G1D17VUxd1mczt2nGk7Rvt-Up1x4pUvf8M6gMnaNR6w,8872422
38
+ fast/bin/concrt140.dll,sha256=JAU1XwpYBnslj43zPDJ-Oj1xbqrFo6Wuu3V4Qthb03Y,324208
38
39
  fast/bin/dcmdata.dll,sha256=J5BIPXn9H-f_ve57xUgycqHK9zlCDmFkZiAve9pifx4,1864704
39
40
  fast/bin/dcmimage.dll,sha256=yGRN_4EMo3chsKKf7Q_xQSHpnaLd0xGdZzx_fB2R2zo,560640
40
41
  fast/bin/dcmimgle.dll,sha256=5Qw8Yyy8dGUsqSj8QcFKrMhhOEUP4vEtKwEpVkBBXwk,2213888
@@ -51,6 +52,11 @@ fast/bin/libcrypto-1_1-x64.dll,sha256=kWp0waUKjEfHA8y429FUHTvKShPNxdGEmvyUEkxNmj
51
52
  fast/bin/libjpeg.dll,sha256=qiY0bpjHAzd4bz-MAet6ohb1DfcbLcTp272Q3P53wlg,271360
52
53
  fast/bin/libopenslide-1.dll,sha256=IOH0OO7ZOMkV8pIq5oru9kb6fG5Y8iwlyaBRkl-ueVM,9540115
53
54
  fast/bin/libssl-1_1-x64.dll,sha256=WEFxofN9iwRTmJiQrqoYd5rOkktHeLpisIZZEnAuaLA,654848
55
+ fast/bin/msvcp140.dll,sha256=D4hbUJpoXSu_plL-0mtfsx2I-9qwqXjGQdHHuKpGCqk,557728
56
+ fast/bin/msvcp140_1.dll,sha256=v61a70xjpmnjwUBlXN_fOVtsl5tACkR71dy2XtiCbD0,35952
57
+ fast/bin/msvcp140_2.dll,sha256=PqBvDuCYtII8t5WZ3zeA5_I8zlLBmqwx0qDUfv4zpek,280200
58
+ fast/bin/msvcp140_atomic_wait.dll,sha256=ZAsq787UhNA2jupb3Qat3QZYo6cKSSVuVg1pI7QEpHk,50304
59
+ fast/bin/msvcp140_codecvt_ids.dll,sha256=8gaaUogOyIXufwURGGEA63-toEEaK0lI-v6nc1uHihg,31872
54
60
  fast/bin/oflog.dll,sha256=pfgzt6X0LOvG9kAGimWOcrB65zo0XOvsAUWyENZDewA,334848
55
61
  fast/bin/ofstd.dll,sha256=7SgTboLfZmp5KckgU5YSKsRw0OnOa_mfLF322FGEKI0,261632
56
62
  fast/bin/onnxruntime.dll,sha256=9yLdkaMRufpLfyNB0iw3mnL7e8W2Od8Ytkgh8jzd4Us,16468024
@@ -69,14 +75,17 @@ fast/bin/openvino_onnx_frontend.dll,sha256=1GaigbrSMXXhdP8VxFN3MdCmqeLp18wUTXe9-
69
75
  fast/bin/openvino_paddle_frontend.dll,sha256=LTyHVbydnalMlmJ5KErufxpjzM-KduT8AndQRAfQ0oM,1291784
70
76
  fast/bin/plugins.xml,sha256=cxXE2Y4pocbjloTNLYfh4_Wlc2Z6tQbM3hnrCzQraCU,938
71
77
  fast/bin/realsense2.dll,sha256=GOPlz5ppiWk5GjhoOE6VX7XANiwZ_Tlvc1VNHp-1Vd0,6607360
72
- fast/bin/runPipeline.exe,sha256=ZyTJL9Fb887Bdu2FLh3XD5tldbNiuz-EV_OEy9c4O-g,87552
73
- fast/bin/systemCheck.exe,sha256=b-mfR13-G3KR0gH3qw6xQXIbU-4q9VYV5ua3lpQYQnY,70144
78
+ fast/bin/runPipeline.exe,sha256=FflSWgH45QH0M6aHY0C7Yk6dM_aNj5J0hWMjn4kWaJ0,87552
79
+ fast/bin/systemCheck.exe,sha256=e3d8Etmlb0FQcBwK25HdRhDoiUVFPTDUTYZjr0TkujU,70144
74
80
  fast/bin/tbb.dll,sha256=fUbSAXWHDJaUzfw6Yua2DUSq1aKaVEAKhij6kuW_BOw,230416
75
81
  fast/bin/tbb_preview.dll,sha256=9sertnzn8ooqT9uRGi-4kcov7lvJLeZNCcPw5tBHDAk,419344
76
82
  fast/bin/tbbbind.dll,sha256=Mt-8NTbjPbpYQbnJptpGygUI8_EXn6gge4DNt2jWvN0,76304
77
83
  fast/bin/tbbmalloc.dll,sha256=Pr-fy4yl8BmnNQnA65QWZ-MZBsRPYgMg6vIAZqs6lFs,108048
78
84
  fast/bin/tbbmalloc_proxy.dll,sha256=iWkg1k_yBAQBMGpcdLOcNxJDrOlfNeU4RIB-VOLZWzM,46608
79
85
  fast/bin/tiff.dll,sha256=UcE9pQ-iE9dkTBDgbZc0UbfNU2r2y9LxRaEjePJHJp0,440320
86
+ fast/bin/vcomp140.dll,sha256=VauiPNzWSE-7BvQVW4ynWt_OeogfEK_QxJRXFl5ncWQ,193152
87
+ fast/bin/vcruntime140.dll,sha256=1eTZo-g1-meUUBRdan2U42VzpQkxcRGQTZs3EsMNkGY,124544
88
+ fast/bin/vcruntime140_1.dll,sha256=Hy1BxKpdsLwz6_e2bXKUOoF9fObL6IBQKpQDgjYzCT8,49792
80
89
  fast/bin/zlib.dll,sha256=7iG2aUtUgkiDa_fpF75YKu5y2ELekJAwZcUvoNMdJro,86016
81
90
  fast/doc/bright-plotting-style.ini,sha256=2CiNPwGgCRi-lWXZ9XEIPVCw8o7gTLl_IxexqGPh79M,2363
82
91
  fast/doc/dark-plotting-style.ini,sha256=eVCvvpKexDv0ER7TYbIo6GpYNnzyTbKETZd0EsPynZ0,2362
@@ -190,7 +199,7 @@ fast/kernels/Visualization/TriangleRenderer/TriangleRenderer.frag,sha256=3Rpi-Hz
190
199
  fast/kernels/Visualization/TriangleRenderer/TriangleRenderer.vert,sha256=VKzvCtusfPfM5WAPjFtoOk2sRRRtVhNHMtP5lwktVfw,951
191
200
  fast/kernels/Visualization/VectorFieldRenderer/VectorFieldColorRenderer.cl,sha256=seBxqKJIpn29IkK8mHATx_3ZQK9l2ohdjOWin9P1d30,1089
192
201
  fast/kernels/Visualization/VertexRenderer/VertexRenderer.frag,sha256=8e6GOBAB56pnp4tz2JWsJDoi8rvNih18geEUrmtjzRw,258
193
- fast/kernels/Visualization/VertexRenderer/VertexRenderer.vert,sha256=x0W4Ysnn0C2bnh50S0TbEKkbt6pFCff1W6SZHUTpoyg,573
202
+ fast/kernels/Visualization/VertexRenderer/VertexRenderer.vert,sha256=mTKcYEoDBWHLXUqY6RThMcPEc-rJAvzaIiTG9yI2WzM,605
194
203
  fast/kernels/Visualization/VolumeRenderer/AlphaBlendingVolumeRenderer.cl,sha256=uFGD5e7uEVStF_y2xTzA2Wui1PidZFY-IMRRG4y-EBo,8552
195
204
  fast/kernels/Visualization/VolumeRenderer/MaximumIntensityProjection.cl,sha256=22EcYv5aCnWBsrRlfktAx41B-ZX4NMjRzShMopcZJS8,5542
196
205
  fast/kernels/Visualization/VolumeRenderer/ThresholdVolumeRenderer.cl,sha256=-cEcFczK9ceHifOgj-5ymzJpKOchjoqRNuMS7km9R-A,7472
@@ -300,8 +309,8 @@ fast/plugins/printsupport/windowsprintersupport.dll,sha256=kBurf1mttxzy_MVu0Ms0Y
300
309
  fast/plugins/sqldrivers/qsqlite.dll,sha256=Xt-Rep35Kmij0H1p3oupOIB0uJHjMQeA9dqXQbZF760,1404928
301
310
  fast/plugins/sqldrivers/qsqlodbc.dll,sha256=yTfiiHzR9BooTeU7fKM2T7wD1F22R_YU-jrdt_tAkrM,91136
302
311
  fast/plugins/styles/qwindowsvistastyle.dll,sha256=GjdUPMzOTyhIq7OOMC6yoV4TFGAYZEqskATVB-Vt9s4,137216
303
- pyfast-4.12.0.dist-info/METADATA,sha256=F6U9NioytPuo1l1YsZveD9j0pJhkQ7WvKf712o3UwIA,6679
304
- pyfast-4.12.0.dist-info/WHEEL,sha256=NhJjJj0zvJjNUIc1BgT18k2IYq2O0dIE45IEYKXKXn0,100
305
- pyfast-4.12.0.dist-info/entry_points.txt,sha256=R8uLUxXQR4QRSOK02qMJusiCmeiCJarHWpvN8BLG8Js,152
306
- pyfast-4.12.0.dist-info/top_level.txt,sha256=8QJk2-edYNobGXP5cFnggvdAmRsO4HxRmobqpf6Uxuo,5
307
- pyfast-4.12.0.dist-info/RECORD,,
312
+ pyfast-4.13.0.dist-info/METADATA,sha256=WJ2X_7z63gHiOeLNW_F53nUYXGjLsAkMREL8DeAef2E,7036
313
+ pyfast-4.13.0.dist-info/WHEEL,sha256=NhJjJj0zvJjNUIc1BgT18k2IYq2O0dIE45IEYKXKXn0,100
314
+ pyfast-4.13.0.dist-info/entry_points.txt,sha256=R8uLUxXQR4QRSOK02qMJusiCmeiCJarHWpvN8BLG8Js,152
315
+ pyfast-4.13.0.dist-info/top_level.txt,sha256=8QJk2-edYNobGXP5cFnggvdAmRsO4HxRmobqpf6Uxuo,5
316
+ pyfast-4.13.0.dist-info/RECORD,,