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

dox/Graphics/vtkMaskPolyData.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMaskPolyData.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 =========================================================================*/ 00025 #ifndef __vtkMaskPolyData_h 00026 #define __vtkMaskPolyData_h 00027 00028 #include "vtkPolyDataToPolyDataFilter.h" 00029 00030 class VTK_GRAPHICS_EXPORT vtkMaskPolyData : public vtkPolyDataToPolyDataFilter 00031 { 00032 public: 00033 static vtkMaskPolyData *New(); 00034 vtkTypeRevisionMacro(vtkMaskPolyData,vtkPolyDataToPolyDataFilter); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 00039 vtkSetClampMacro(OnRatio,int,1,VTK_LARGE_INTEGER); 00040 vtkGetMacro(OnRatio,int); 00042 00044 00045 vtkSetClampMacro(Offset,vtkIdType,0,VTK_LARGE_ID); 00046 vtkGetMacro(Offset,vtkIdType); 00048 00049 protected: 00050 vtkMaskPolyData(); 00051 ~vtkMaskPolyData() {}; 00052 00053 void Execute(); 00054 int OnRatio; // every OnRatio entity is on; all others are off. 00055 vtkIdType Offset; // offset (or starting point id) 00056 private: 00057 vtkMaskPolyData(const vtkMaskPolyData&); // Not implemented. 00058 void operator=(const vtkMaskPolyData&); // Not implemented. 00059 }; 00060 00061 #endif 00062 00063