Skip to content

MarchingCasesD

vtk-examples/Python/VisualizationAlgorithms/MarchingCasesD

Other languages

See (Cxx)

Question

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

Code

MarchingCasesD.py

#!/usr/bin/env python

"""
Marching cubes cases.

Case 7 is rotated 180 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 = [7]
    rotation = 2
    label = False
    MarchingCases.marching_cubes(mc_cases, rotation, label)


if __name__ == '__main__':
    main()