VTK
9.2.6
Filters
Extraction
vtkExtractSelectedRows.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelectedRows.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
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
31
32
#ifndef vtkExtractSelectedRows_h
33
#define vtkExtractSelectedRows_h
34
35
#include "vtkFiltersExtractionModule.h"
// For export macro
36
#include "
vtkTableAlgorithm.h
"
37
38
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractSelectedRows
:
public
vtkTableAlgorithm
39
{
40
public
:
41
static
vtkExtractSelectedRows
*
New
();
42
vtkTypeMacro(
vtkExtractSelectedRows
,
vtkTableAlgorithm
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
44
48
void
SetSelectionConnection
(
vtkAlgorithmOutput
* in);
49
53
void
SetAnnotationLayersConnection
(
vtkAlgorithmOutput
* in);
54
58
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
59
61
65
vtkSetMacro(
AddOriginalRowIdsArray
,
bool
);
66
vtkGetMacro(
AddOriginalRowIdsArray
,
bool
);
67
vtkBooleanMacro(
AddOriginalRowIdsArray
,
bool
);
69
70
protected
:
71
vtkExtractSelectedRows
();
72
~vtkExtractSelectedRows
()
override
;
73
74
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
75
76
bool
AddOriginalRowIdsArray
;
77
78
private
:
79
vtkExtractSelectedRows
(
const
vtkExtractSelectedRows
&) =
delete
;
80
void
operator=(
const
vtkExtractSelectedRows
&) =
delete
;
81
};
82
83
#endif
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition
vtkAlgorithmOutput.h:37
vtkExtractSelectedRows::vtkExtractSelectedRows
vtkExtractSelectedRows()
vtkExtractSelectedRows::AddOriginalRowIdsArray
bool AddOriginalRowIdsArray
Definition
vtkExtractSelectedRows.h:76
vtkExtractSelectedRows::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractSelectedRows::~vtkExtractSelectedRows
~vtkExtractSelectedRows() override
vtkExtractSelectedRows::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first vtkGraph input and the second vtkSelection input.
vtkExtractSelectedRows::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
vtkExtractSelectedRows::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractSelectedRows::SetAnnotationLayersConnection
void SetAnnotationLayersConnection(vtkAlgorithmOutput *in)
A convenience method for setting the third input (i.e.
vtkExtractSelectedRows::New
static vtkExtractSelectedRows * New()
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:68
vtkTableAlgorithm::vtkTableAlgorithm
vtkTableAlgorithm()
vtkTableAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2