VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
Extraction
vtkExtractSelectedIds.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelectedIds.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
=========================================================================*/
30
#ifndef __vtkExtractSelectedIds_h
31
#define __vtkExtractSelectedIds_h
32
33
#include "vtkFiltersExtractionModule.h"
// For export macro
34
#include "
vtkExtractSelectionBase.h
"
35
36
class
vtkSelection
;
37
class
vtkSelectionNode
;
38
39
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractSelectedIds
:
public
vtkExtractSelectionBase
40
{
41
public
:
42
static
vtkExtractSelectedIds
*
New
();
43
vtkTypeMacro(
vtkExtractSelectedIds
,
vtkExtractSelectionBase
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
46
protected
:
47
vtkExtractSelectedIds
();
48
~
vtkExtractSelectedIds
();
49
50
// Overridden to indicate that the input must be a vtkDataSet.
51
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
52
53
// Usual data generation method
54
virtual
int
RequestData
(
vtkInformation
*,
55
vtkInformationVector
**,
56
vtkInformationVector
*);
57
58
59
int
ExtractCells(
vtkSelectionNode
*sel,
vtkDataSet
*input,
60
vtkDataSet
*output);
61
int
ExtractPoints(
vtkSelectionNode
*sel,
vtkDataSet
*input,
62
vtkDataSet
*output);
63
64
private
:
65
vtkExtractSelectedIds
(
const
vtkExtractSelectedIds
&);
// Not implemented.
66
void
operator=(
const
vtkExtractSelectedIds
&);
// Not implemented.
67
};
68
69
#endif
Generated on Thu May 24 2012 22:22:15 for VTK by
1.8.1