Skip to content

MarchingCasesC

vtk-examples/Python/VisualizationAlgorithms/MarchingCasesC

Other languages

See (Cxx)

Question

If you have a question about this example, please use the VTK Discourse Forum

Code

MarchingCasesC.py

#!/usr/bin/env python

"""
Marching cubes cases.

Case 3 is rotated 90 degrees about the y-axis with no label.

Note: Make sure MarchingCases.py is in the same directory as this program.
"""

import MarchingCases


def main():
    mc_cases = [3]
    rotation = 1
    label = False
    MarchingCases.marching_cubes(mc_cases, rotation, label)


if __name__ == '__main__':
    main()