VTK
dox
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
=========================================================================*/
29
#ifndef vtkExtractSelectedLocations_h
30
#define vtkExtractSelectedLocations_h
31
32
#include "vtkFiltersExtractionModule.h"
// For export macro
33
#include "
vtkExtractSelectionBase.h
"
34
35
class
vtkSelection
;
36
class
vtkSelectionNode
;
37
38
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractSelectedLocations
:
public
vtkExtractSelectionBase
39
{
40
public
:
41
static
vtkExtractSelectedLocations
*
New
();
42
vtkTypeMacro(
vtkExtractSelectedLocations
,
vtkExtractSelectionBase
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
44
45
protected
:
46
vtkExtractSelectedLocations
();
47
~vtkExtractSelectedLocations
()
override
;
48
49
// Usual data generation method
50
int
RequestData
(
vtkInformation
*,
51
vtkInformationVector
**,
52
vtkInformationVector
*)
override
;
53
54
int
ExtractCells
(
vtkSelectionNode
*sel,
vtkDataSet
*input,
55
vtkDataSet
*output);
56
int
ExtractPoints
(
vtkSelectionNode
*sel,
vtkDataSet
*input,
57
vtkDataSet
*output);
58
59
private
:
60
vtkExtractSelectedLocations
(
const
vtkExtractSelectedLocations
&) =
delete
;
61
void
operator=(
const
vtkExtractSelectedLocations
&) =
delete
;
62
};
63
64
#endif
vtkExtractSelectionBase.h
vtkSelectionNode
A node in a selection tree.
Definition:
vtkSelectionNode.h:68
vtkExtractSelectedLocations
extract cells within a dataset that contain the locations listen in the vtkSelection.
Definition:
vtkExtractSelectedLocations.h:39
vtkExtractSelectedLocations::~vtkExtractSelectedLocations
~vtkExtractSelectedLocations() override
vtkExtractSelectedLocations::ExtractPoints
int ExtractPoints(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractSelectedLocations::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkSelection
data object that represents a "selection" in VTK.
Definition:
vtkSelection.h:64
vtkExtractSelectedLocations::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkExtractSelectedLocations::New
static vtkExtractSelectedLocations * New()
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:63
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkExtractSelectedLocations::vtkExtractSelectedLocations
vtkExtractSelectedLocations()
vtkExtractSelectionBase
abstract base class for all extract selection filters.
Definition:
vtkExtractSelectionBase.h:31
vtkExtractSelectedLocations::ExtractCells
int ExtractCells(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
Generated by
1.8.20