Graphics/vtkRotationalExtrusionFilter.h Source File

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

# Graphics/vtkRotationalExtrusionFilter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkRotationalExtrusionFilter.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 =========================================================================*/
    00079 #ifndef __vtkRotationalExtrusionFilter_h
    00080 #define __vtkRotationalExtrusionFilter_h
    00081
    00082 #include "vtkPolyDataToPolyDataFilter.h"
    00083
    00084 class VTK_GRAPHICS_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataToPolyDataFilter
    00085 {
    00086 public:
    00087   vtkTypeRevisionMacro(vtkRotationalExtrusionFilter,vtkPolyDataToPolyDataFilter);
    00088   void PrintSelf(ostream& os, vtkIndent indent);
    00089
    00092   static vtkRotationalExtrusionFilter *New();
    00093
    00095
    00097   vtkSetClampMacro(Resolution,int,1,VTK_LARGE_INTEGER);
    00098   vtkGetMacro(Resolution,int);
    00100
    00102
    00103   vtkSetMacro(Capping,int);
    00104   vtkGetMacro(Capping,int);
    00105   vtkBooleanMacro(Capping,int);
    00107
    00109
    00110   vtkSetMacro(Angle,float);
    00111   vtkGetMacro(Angle,float);
    00113
    00115
    00116   vtkSetMacro(Translation,float);
    00117   vtkGetMacro(Translation,float);
    00119
    00121
    00122   vtkSetMacro(DeltaRadius,float);
    00123   vtkGetMacro(DeltaRadius,float);
    00125
    00126 protected:
    00127   vtkRotationalExtrusionFilter();
    00128   ~vtkRotationalExtrusionFilter() {};
    00129
    00130   void Execute();
    00131   int Resolution;
    00132   int Capping;
    00133   float Angle;
    00134   float Translation;
    00135   float DeltaRadius;
    00136 private:
    00137   vtkRotationalExtrusionFilter(const vtkRotationalExtrusionFilter&);  // Not implemented.
    00138   void operator=(const vtkRotationalExtrusionFilter&);  // Not implemented.
    00139 };
    00140
    00141 #endif