Graphics/vtkDataSetTriangleFilter.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Graphics/vtkDataSetTriangleFilter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkDataSetTriangleFilter.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00047 #ifndef __vtkDataSetTriangleFilter_h
    00048 #define __vtkDataSetTriangleFilter_h
    00049
    00050 #include "vtkDataSetToUnstructuredGridFilter.h"
    00051
    00052 class vtkOrderedTriangulator;
    00053
    00054 class VTK_GRAPHICS_EXPORT vtkDataSetTriangleFilter : public vtkDataSetToUnstructuredGridFilter
    00055 {
    00056 public:
    00057   static vtkDataSetTriangleFilter *New();
    00058   vtkTypeRevisionMacro(vtkDataSetTriangleFilter,vtkDataSetToUnstructuredGridFilter);
    00059   void PrintSelf(ostream& os, vtkIndent indent);
    00060
    00061 protected:
    00062   vtkDataSetTriangleFilter():Triangulator(NULL) {}
    00063   ~vtkDataSetTriangleFilter();
    00064
    00065   // Usual data generation method
    00066   void Execute();
    00067
    00068   // different execute methods depending on whether input is structured
    00069   void StructuredExecute();
    00070   void UnstructuredExecute();
    00071
    00072   vtkOrderedTriangulator *Triangulator;
    00073 private:
    00074   vtkDataSetTriangleFilter(const vtkDataSetTriangleFilter&);  // Not implemented.
    00075   void operator=(const vtkDataSetTriangleFilter&);  // Not implemented.
    00076 };
    00077
    00078 #endif
    00079
    00080