VTK
vtkMaskPolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMaskPolyData.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkMaskPolyData_h
30 #define vtkMaskPolyData_h
31 
32 #include "vtkFiltersCoreModule.h" // For export macro
33 #include "vtkPolyDataAlgorithm.h"
34 
36 {
37 public:
38  static vtkMaskPolyData *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
44  vtkSetClampMacro(OnRatio,int,1,VTK_INT_MAX);
45  vtkGetMacro(OnRatio,int);
47 
49 
50  vtkSetClampMacro(Offset,vtkIdType,0,VTK_ID_MAX);
51  vtkGetMacro(Offset,vtkIdType);
53 
54 protected:
57 
59  int OnRatio; // every OnRatio entity is on; all others are off.
60  vtkIdType Offset; // offset (or starting point id)
61 
62 private:
63  vtkMaskPolyData(const vtkMaskPolyData&); // Not implemented.
64  void operator=(const vtkMaskPolyData&); // Not implemented.
65 };
66 
67 #endif
sample subset of input polygonal data cells
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
#define VTK_INT_MAX
Definition: vtkType.h:132
int vtkIdType
Definition: vtkType.h:275
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTK_ID_MAX
Definition: vtkType.h:278
Store zero or more vtkInformation instances.