VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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 "
vtkPolyDataAlgorithm.h
"
33
34
class
VTK_GRAPHICS_EXPORT
vtkMaskPolyData
:
public
vtkPolyDataAlgorithm
35
{
36
public
:
37
static
vtkMaskPolyData
*
New
();
38
vtkTypeMacro(
vtkMaskPolyData
,
vtkPolyDataAlgorithm
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
43
vtkSetClampMacro(OnRatio,
int
,1,
VTK_LARGE_INTEGER
);
44
vtkGetMacro(OnRatio,
int
);
46
48
49
vtkSetClampMacro(Offset,
vtkIdType
,0,
VTK_LARGE_ID
);
50
vtkGetMacro(Offset,
vtkIdType
);
52
53
protected
:
54
vtkMaskPolyData
();
55
~vtkMaskPolyData
() {};
56
57
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
58
int
OnRatio
;
// every OnRatio entity is on; all others are off.
59
vtkIdType
Offset
;
// offset (or starting point id)
60
61
private
:
62
vtkMaskPolyData
(
const
vtkMaskPolyData
&);
// Not implemented.
63
void
operator=(
const
vtkMaskPolyData
&);
// Not implemented.
64
};
65
66
#endif
Generated on Sun Sep 9 2012 13:03:30 for VTK by
1.8.1.2