posebutcher.vtk

Module Contents

Functions

read_ply(file)

Read vtk polydata from a .ply file

write_ply(file, polydata)

Write vtk polydata to a .ply file

to_open3d(port)

Convert some vtk poly data to an open3d triangle mesh

from_open3d(o3d_mesh)

Convert an open3d trianglemesh to some vtk poly data

boolean_difference(m1, m2)

Uses vtkBool to compute the boolean difference between two open3d triangle meshes

Attributes

logger

posebutcher.vtk.logger
posebutcher.vtk.read_ply(file)

Read vtk polydata from a .ply file

posebutcher.vtk.write_ply(file, polydata)

Write vtk polydata to a .ply file

posebutcher.vtk.to_open3d(port)

Convert some vtk poly data to an open3d triangle mesh

posebutcher.vtk.from_open3d(o3d_mesh)

Convert an open3d trianglemesh to some vtk poly data

posebutcher.vtk.boolean_difference(m1, m2)

Uses vtkBool to compute the boolean difference between two open3d triangle meshes