Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkMarchingCubesCases.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMarchingCubesCases.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 #ifndef __vtkMarchingCubesCases_h
00016 #define __vtkMarchingCubesCases_h
00017 //
00018 // marching cubes case table for generating isosurfaces
00019 //
00020 typedef int EDGE_LIST;
00021 struct VTK_FILTERING_EXPORT vtkMarchingCubesTriangleCases 
00022 {
00023   EDGE_LIST edges[16];
00024   static vtkMarchingCubesTriangleCases* GetCases();
00025 };
00026  
00027 //
00028 // Edges to intersect.  Three at a time form a triangle. Comments at 
00029 // end of line indicate case number (0->255) and base case number (0->15).
00030 //
00031 
00032 #endif