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

# Graphics/vtkTriangleFilter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkTriangleFilter.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 =========================================================================*/
    00043 #ifndef __vtkTriangleFilter_h
    00044 #define __vtkTriangleFilter_h
    00045
    00046 #include "vtkPolyDataToPolyDataFilter.h"
    00047
    00048 class VTK_GRAPHICS_EXPORT vtkTriangleFilter : public vtkPolyDataToPolyDataFilter
    00049 {
    00050 public:
    00051   static vtkTriangleFilter *New();
    00052   vtkTypeRevisionMacro(vtkTriangleFilter,vtkPolyDataToPolyDataFilter);
    00053   void PrintSelf(ostream& os, vtkIndent indent);
    00054
    00056
    00057   vtkBooleanMacro(PassVerts,int);
    00058   vtkSetMacro(PassVerts,int);
    00059   vtkGetMacro(PassVerts,int);
    00061
    00063
    00064   vtkBooleanMacro(PassLines,int);
    00065   vtkSetMacro(PassLines,int);
    00066   vtkGetMacro(PassLines,int);
    00068
    00069 protected:
    00070   vtkTriangleFilter() : PassVerts(1), PassLines(1) {};
    00071   ~vtkTriangleFilter() {};
    00072
    00073   // Usual data generation method
    00074   void Execute();
    00075
    00076   int PassVerts;
    00077   int PassLines;
    00078 private:
    00079   vtkTriangleFilter(const vtkTriangleFilter&);  // Not implemented.
    00080   void operator=(const vtkTriangleFilter&);  // Not implemented.
    00081 };
    00082
    00083 #endif