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

# Hybrid/vtkGLUTesselatorTriangleFilter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkGLUTesselatorTriangleFilter.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 =========================================================================*/
    00044 #ifndef __vtkGLUTesselatorTriangleFilter_h
    00045 #define __vtkGLUTesselatorTriangleFilter_h
    00046
    00047 #include "vtkPolyDataToPolyDataFilter.h"
    00048 #include <GL/GLU.h> // Needed for GLUtesselator
    00049
    00050 class VTK_HYBRID_EXPORT vtkGLUTesselatorTriangleFilter : public vtkPolyDataToPolyDataFilter
    00051 {
    00052 public:
    00053   static vtkGLUTesselatorTriangleFilter *New();
    00054   vtkTypeRevisionMacro(vtkGLUTesselatorTriangleFilter,vtkPolyDataToPolyDataFilter);
    00055   void PrintSelf(ostream& os, vtkIndent indent);
    00056
    00058
    00059   vtkBooleanMacro(PassVerts,int);
    00060   vtkSetMacro(PassVerts,int);
    00061   vtkGetMacro(PassVerts,int);
    00063
    00065
    00066   vtkBooleanMacro(PassLines,int);
    00067   vtkSetMacro(PassLines,int);
    00068   vtkGetMacro(PassLines,int);
    00070
    00071 protected:
    00072   vtkGLUTesselatorTriangleFilter();
    00073   ~vtkGLUTesselatorTriangleFilter();
    00074
    00075   // Usual data generation method
    00076   void Execute();
    00077
    00078         // Data
    00079   int PassVerts;
    00080   int PassLines;
    00081   GLUtesselator *GLUTesselator;
    00082
    00083 private:
    00084   vtkGLUTesselatorTriangleFilter(const vtkGLUTesselatorTriangleFilter&);  // Not implemented.
    00085   void operator=(const vtkGLUTesselatorTriangleFilter&);  // Not implemented.
    00086 };
    00087
    00088 #endif
    00089
    00090