MarchingCasesC

VTKExamples/Python/VisualizationAlgorithms/MarchingCasesC


Other Languages

See (Cxx)

Question

If you have a simple question about this example contact us at VTKExamplesProject If your question is more complex and may require extended discussion, 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()