VTK
9.0.1
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 "
vtkExtractSelectionBase.h
"
33
#include "vtkFiltersExtractionModule.h"
// For export macro
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
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
51
52
int
ExtractCells
(
vtkSelectionNode
* sel,
vtkDataSet
* input,
vtkDataSet
* output);
53
int
ExtractPoints
(
vtkSelectionNode
* sel,
vtkDataSet
* input,
vtkDataSet
* output);
54
55
private
:
56
vtkExtractSelectedLocations
(
const
vtkExtractSelectedLocations
&) =
delete
;
57
void
operator=(
const
vtkExtractSelectedLocations
&) =
delete
;
58
};
59
60
#endif
vtkExtractSelectionBase.h
vtkSelectionNode
A node in a selection tree.
Definition:
vtkSelectionNode.h:62
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:36
vtkExtractSelectedLocations::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkSelection
data object that represents a "selection" in VTK.
Definition:
vtkSelection.h:58
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:34
vtkExtractSelectedLocations::New
static vtkExtractSelectedLocations * New()
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:57
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:65
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 on Mon Jan 4 2021 21:12:05 for VTK by
1.8.20