vtk_openCARP_methods_ibt.AugmentA_methods package

Submodules

vtk_openCARP_methods_ibt.AugmentA_methods.point_selection module

pick_point(mesh, object_str)[source]

Pick a point on a mesh interactively :type mesh: :param mesh: The mesh where a point should be picked :type object_str: :param object_str: The name of the object which should be picked :return:

pick_point_with_preselection(mesh, object_str, current_point, point_scale=1)[source]

Pick a point on a mesh interactively and select an orientation point :type mesh: :param mesh: The mesh where a point should be picked :type object_str: :param object_str: The name of the object which should be picked :type current_point: :param current_point: The current guess where the point is. Will be visualized. :type point_scale: :param point_scale: Scale of the current point on the model :return:

vtk_openCARP_methods_ibt.AugmentA_methods.vtk_operations module

class ThresholdMode(value)[source]

Bases: IntEnum

An enumeration.

BETWEEN = 2
LOWER = 1
UPPER = 0
extract_largest_region(mesh)[source]
vtk_thr(model, mode, points_cells, array, thr1, thr2='None')[source]

DEPRECATED use vtk_opencarp_helper_methods.vtk.thresholding instead

Parameters:

mode (ThresholdMode | int) – ThresholdMode enum or int (0=UPPER, 1=LOWER, 2=BETWEEN)

Module contents