tomo3D.viewers.viewer_vtk module

class tomo3D.viewers.viewer_vtk.VtkPlot(vti_file=None, graph_file=None, net_file=None, peaks_file=None, surf_file=None)[source]

Bases: object

Class to visualize VTK files Input paramters:

  • vti_file (Path (Str) - Optional): File containing a Volume (Volume VTK Object)
  • graph_file (Path (Str) - Optional): File containing a Graph (PolyData VTK Object)
  • net_file (Path (Str) - Optional): File containing a Net (PolyData VTK Object)
  • peaks_file (Path (Str) - Optional): File containing Peaks - Coordinates (PolyData VTK Object)
  • surf_file (Path (Str) - Optional): File containing a Surface (PolyData VTK Object)
Usage:
import VtkPlot plt = VtkPlot(vti_file=path_vti, graph_file=path_graph, net_file=path_net, peaks_file=path_peaks) plt.initializePlot()
initializePlot()[source]
plotGraph(value)[source]
plotNet(value)[source]
plotPeaks(value)[source]
plotSurface(value)[source]
plotVectors(value)[source]
plotVti(value)[source]
toogleNetSlice(value)[source]
toogleTomoSlice(value)[source]