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

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 =========================================================================*/
00029 #ifndef __vtkMaskPolyData_h
00030 #define __vtkMaskPolyData_h
00031 
00032 #include "vtkPolyDataAlgorithm.h"
00033 
00034 class VTK_GRAPHICS_EXPORT vtkMaskPolyData : public vtkPolyDataAlgorithm
00035 {
00036 public:
00037   static vtkMaskPolyData *New();
00038   vtkTypeRevisionMacro(vtkMaskPolyData,vtkPolyDataAlgorithm);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042 
00043   vtkSetClampMacro(OnRatio,int,1,VTK_LARGE_INTEGER);
00044   vtkGetMacro(OnRatio,int);
00046 
00048 
00049   vtkSetClampMacro(Offset,vtkIdType,0,VTK_LARGE_ID);
00050   vtkGetMacro(Offset,vtkIdType);
00052 
00053 protected:
00054   vtkMaskPolyData();
00055   ~vtkMaskPolyData() {};
00056 
00057   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00058   int OnRatio; // every OnRatio entity is on; all others are off.
00059   vtkIdType Offset;  // offset (or starting point id)
00060 
00061 private:
00062   vtkMaskPolyData(const vtkMaskPolyData&);  // Not implemented.
00063   void operator=(const vtkMaskPolyData&);  // Not implemented.
00064 };
00065 
00066 #endif

Generated on Mon Jan 21 23:07:25 2008 for VTK by  doxygen 1.4.3-20050530