VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
Core
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
35
class
VTKFILTERSCORE_EXPORT
vtkMaskPolyData
:
public
vtkPolyDataAlgorithm
36
{
37
public
:
38
static
vtkMaskPolyData
*
New
();
39
vtkTypeMacro(
vtkMaskPolyData
,
vtkPolyDataAlgorithm
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
43
44
vtkSetClampMacro(OnRatio,
int
,1,
VTK_LARGE_INTEGER
);
45
vtkGetMacro(OnRatio,
int
);
47
49
50
vtkSetClampMacro(Offset,
vtkIdType
,0,
VTK_LARGE_ID
);
51
vtkGetMacro(Offset,
vtkIdType
);
53
54
protected
:
55
vtkMaskPolyData
();
56
~vtkMaskPolyData
() {};
57
58
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
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
Generated on Thu May 24 2012 22:22:14 for VTK by
1.8.1