Skip to content

Instantly share code, notes, and snippets.

Avatar

Andras Lasso lassoan

View GitHub Profile
@lassoan
lassoan / SliceAreaPlot.py
Created Aug 6, 2019 — forked from hherhold/SliceAreaPlot.py
Example module that computes and plots the cross sectional area of each visible segment. Direction of cross-section can be picked.
View SliceAreaPlot.py
import os
import unittest
import vtk, qt, ctk, slicer
from slicer.ScriptedLoadableModule import *
from array import array
import logging
import vtk.util.numpy_support
import numpy as np
#
You can’t perform that action at this time.