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

vtkPLinearExtrusionFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPLinearExtrusionFilter.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 =========================================================================*/
00037 #ifndef __vtkPLinearExtrusionFilter_h
00038 #define __vtkPLinearExtrusionFilter_h
00039 
00040 #include "vtkLinearExtrusionFilter.h"
00041 
00042 class VTK_PARALLEL_EXPORT vtkPLinearExtrusionFilter : public vtkLinearExtrusionFilter 
00043 {
00044 public:
00045   vtkTypeRevisionMacro(vtkPLinearExtrusionFilter,vtkLinearExtrusionFilter);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00049   static vtkPLinearExtrusionFilter *New();
00050 
00051   // To get piece invariance, this filter has to request an 
00052   // extra ghost level.  Since piece invariance is not very 
00053   // important for this filter,  it is optional.  Without invariance,
00054   // Internal surfaces will be generated.  These surface
00055   // Are hidden by the normal surface generated by this filter.
00056   // By default, PieceInvariance is off.
00057   vtkSetMacro(PieceInvariant, int);
00058   vtkGetMacro(PieceInvariant, int);
00059   vtkBooleanMacro(PieceInvariant, int);
00060 
00061 protected:
00062   vtkPLinearExtrusionFilter();
00063   ~vtkPLinearExtrusionFilter() {};
00064 
00065   void Execute();
00066   void ComputeInputUpdateExtents(vtkDataObject *output);
00067 
00068   int PieceInvariant;
00069 private:
00070   vtkPLinearExtrusionFilter(const vtkPLinearExtrusionFilter&);  // Not implemented.
00071   void operator=(const vtkPLinearExtrusionFilter&);  // Not implemented.
00072 };
00073 
00074 #endif