VTK
dox
opt
build
vtk6-6.3.0+dfsg2
Filters
Extraction
vtkExtractSelectedLocations.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelectedLocations.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
=========================================================================*/
28
#ifndef vtkExtractSelectedLocations_h
29
#define vtkExtractSelectedLocations_h
30
31
#include "
vtkFiltersExtractionModule.h
"
// For export macro
32
#include "
vtkExtractSelectionBase.h
"
33
34
class
vtkSelection
;
35
class
vtkSelectionNode
;
36
37
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractSelectedLocations
:
public
vtkExtractSelectionBase
38
{
39
public
:
40
static
vtkExtractSelectedLocations
*
New
();
41
vtkTypeMacro
(
vtkExtractSelectedLocations
,
vtkExtractSelectionBase
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent);
43
44
protected
:
45
vtkExtractSelectedLocations
();
46
~vtkExtractSelectedLocations
();
47
48
// Usual data generation method
49
int
RequestData
(
vtkInformation
*,
50
vtkInformationVector
**,
51
vtkInformationVector
*);
52
53
int
ExtractCells
(
vtkSelectionNode
*sel,
vtkDataSet
*
input
,
54
vtkDataSet
*output);
55
int
ExtractPoints
(
vtkSelectionNode
*sel,
vtkDataSet
*
input
,
56
vtkDataSet
*output);
57
58
private
:
59
vtkExtractSelectedLocations
(
const
vtkExtractSelectedLocations
&);
// Not implemented.
60
void
operator=(
const
vtkExtractSelectedLocations
&);
// Not implemented.
61
};
62
63
#endif
vtkExtractSelectionBase.h
vtkSelectionNode
A node in a selection tree. Used to store selection results.
Definition:
vtkSelectionNode.h:69
vtkExtractSelectedLocations
extract cells within a dataset that contain the locations listen in the vtkSelection.
Definition:
vtkExtractSelectedLocations.h:38
vtkExtractSelectedLocations::ExtractPoints
int ExtractPoints(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkFiltersExtractionModule.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkSelection
A node in a selection tree. Used to store selection results.
Definition:
vtkSelection.h:45
vtkgl::input
GLenum GLenum GLenum input
Definition:
vtkgl.h:15941
vtkExtractSelectedLocations::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkExtractSelectedLocations::New
static vtkExtractSelectedLocations * New()
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkExtractSelectedLocations::vtkExtractSelectedLocations
vtkExtractSelectedLocations()
vtkExtractSelectionBase
abstract base class for all extract selection filters.
Definition:
vtkExtractSelectionBase.h:30
VTKFILTERSEXTRACTION_EXPORT
#define VTKFILTERSEXTRACTION_EXPORT
Definition:
vtkFiltersExtractionModule.h:15
vtkExtractSelectedLocations::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkExtractSelectedLocations::ExtractCells
int ExtractCells(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
vtkExtractSelectedLocations::~vtkExtractSelectedLocations
~vtkExtractSelectedLocations()
Generated by
1.8.20