VTK
dox
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
-------------------------------------------------------------------------*/
32
#ifndef vtkExtractSelectedRows_h
33
#define vtkExtractSelectedRows_h
34
35
#include "vtkFiltersExtractionModule.h"
// For export macro
36
#include "
vtkTableAlgorithm.h
"
37
38
39
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractSelectedRows
:
public
vtkTableAlgorithm
40
{
41
public
:
42
static
vtkExtractSelectedRows
*
New
();
43
vtkTypeMacro(
vtkExtractSelectedRows
,
vtkTableAlgorithm
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
45
49
void
SetSelectionConnection
(
vtkAlgorithmOutput
* in);
50
54
void
SetAnnotationLayersConnection
(
vtkAlgorithmOutput
* in);
55
59
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
60
62
66
vtkSetMacro(AddOriginalRowIdsArray,
bool
);
67
vtkGetMacro(AddOriginalRowIdsArray,
bool
);
68
vtkBooleanMacro(AddOriginalRowIdsArray,
bool
);
70
71
protected
:
72
vtkExtractSelectedRows
();
73
~vtkExtractSelectedRows
()
override
;
74
75
int
RequestData
(
76
vtkInformation
*,
77
vtkInformationVector
**,
78
vtkInformationVector
*)
override
;
79
80
bool
AddOriginalRowIdsArray
;
81
private
:
82
vtkExtractSelectedRows
(
const
vtkExtractSelectedRows
&) =
delete
;
83
void
operator=(
const
vtkExtractSelectedRows
&) =
delete
;
84
};
85
86
#endif
87
vtkExtractSelectedRows::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first vtkGraph input and the second vtkSelection input.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractSelectedRows::AddOriginalRowIdsArray
bool AddOriginalRowIdsArray
Definition:
vtkExtractSelectedRows.h:80
vtkExtractSelectedRows::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractSelectedRows::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractSelectedRows::New
static vtkExtractSelectedRows * New()
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkExtractSelectedRows::~vtkExtractSelectedRows
~vtkExtractSelectedRows() override
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition:
vtkTableAlgorithm.h:49
vtkExtractSelectedRows::SetAnnotationLayersConnection
void SetAnnotationLayersConnection(vtkAlgorithmOutput *in)
A convenience method for setting the third input (i.e.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkExtractSelectedRows::vtkExtractSelectedRows
vtkExtractSelectedRows()
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition:
vtkAlgorithmOutput.h:40
vtkTableAlgorithm.h
vtkExtractSelectedRows
return selected rows of a table
Definition:
vtkExtractSelectedRows.h:40
vtkExtractSelectedRows::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
Generated by
1.8.20