Skip to content
Snippets Groups Projects

Local itk-vtk-viewer

3 files
+ 12
33
Compare changes
  • Side-by-side
  • Inline

Files

+ 3
9
@@ -141,17 +141,11 @@ def main():
interface.launch(inbrowser = inbrowser, force_light_mode = False)
elif args.subcommand == "viz":
# if not args.source:
# print("Please specify a source file using the argument --source")
# return
# Load the data
# print(f"Loading data from {args.source}")
# print(f"Done, volume shape: {volume.shape}")
# Make k3d plot
if args.method == 'itk-vtk-viewer':
print("\nGenerating itk-vtk-viewer plot...")
print("\nPloting in itk-vtk-viewer...")
qim3d.viz.itk_vtk_viewer.Viewer(args.source)
elif args.method == 'k3d':
volume = qim3d.io.load(str(args.source))
print("\nGenerating k3d plot...")
Loading