OrsSurfaceDetermination

Generates a mesh from a dataset’s contour

author:

Dragonfly Team

contact:

https://dragonfly.comet.tech

email:

support.dragonfly@comet.tech

organization:

Comet Technologies Canada Inc.

address:

460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7

copyright:

Comet Technologies Canada Inc. All rights reserved 2023.

date:

Sep 16 2015 13:15

dragonflyVersion:

3.0

UUID:

af8b0d3a761511e78b5f448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsSurfaceDetermination.OrsSurfaceDetermination.OrsSurfaceDetermination(*args, **kwargs)
interfacemethod generateALinearContourMeshFromAChannelWithProgress(dataset: Channel, isovalue, samplingX, samplingY, samplingZ, IProgress=None)

Generates a mesh from a dataset using a vtk marching cube algorithm or Ors marching cube algorithm

Parameters:
  • dataset (ORSModel.ors.Channel) – a Channel on which the mesh should be obtained

  • isovalue (float) – value in the dataset at which the mesh is obtained

  • samplingX (int) – sampling in X

  • samplingY (int) – sampling in Y

  • samplingZ (int) – sampling in Z

  • IProgress (ORSModel.ors.Progress) – The Progress bar

Returns:

contourMesh (ORSModel.ors.Mesh) – return the mesh generated

classmethod getMainFormClass()

Gets the class of the main form

Returns:

output