VTK
9.0.1
Filters
Extraction
vtkExtractSelectedArraysOverTime.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelectedArraysOverTime.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
=========================================================================*/
32
#ifndef vtkExtractSelectedArraysOverTime_h
33
#define vtkExtractSelectedArraysOverTime_h
34
35
#include "vtkFiltersExtractionModule.h"
// For export macro
36
#include "
vtkMultiBlockDataSetAlgorithm.h
"
37
#include "
vtkSmartPointer.h
"
// for vtkSmartPointer.
38
39
class
vtkDataSet
;
40
class
vtkDataSetAttributes
;
41
class
vtkExtractDataArraysOverTime
;
42
class
vtkExtractSelection
;
43
class
vtkSelection
;
44
class
vtkTable
;
45
46
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractSelectedArraysOverTime
47
:
public
vtkMultiBlockDataSetAlgorithm
48
{
49
public
:
50
static
vtkExtractSelectedArraysOverTime
*
New
();
51
vtkTypeMacro(
vtkExtractSelectedArraysOverTime
,
vtkMultiBlockDataSetAlgorithm
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
53
55
58
vtkGetMacro(NumberOfTimeSteps,
int
);
60
65
void
SetSelectionConnection
(
vtkAlgorithmOutput
* algOutput)
66
{
67
this->
SetInputConnection
(1, algOutput);
68
}
69
71
75
virtual
void
SetSelectionExtractor
(
vtkExtractSelection
*);
76
vtkExtractSelection
*
GetSelectionExtractor
();
78
80
90
vtkSetMacro(ReportStatisticsOnly,
bool
);
91
vtkGetMacro(ReportStatisticsOnly,
bool
);
92
vtkBooleanMacro(ReportStatisticsOnly,
bool
);
94
95
protected
:
96
vtkExtractSelectedArraysOverTime
();
97
~vtkExtractSelectedArraysOverTime
()
override
;
98
99
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
100
101
int
RequestInformation
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
102
vtkInformationVector
* outputVector)
override
;
103
int
RequestUpdateExtent
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
104
vtkInformationVector
* outputVector)
override
;
105
int
RequestData
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
106
vtkInformationVector
* outputVector)
override
;
107
108
virtual
void
PostExecute
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
109
vtkInformationVector
* outputVector);
110
117
int
DetermineSelectionType
(
vtkSelection
*);
118
119
int
NumberOfTimeSteps
;
120
int
FieldType
;
121
int
ContentType
;
122
bool
ReportStatisticsOnly
;
123
int
Error
;
124
125
enum
Errors
126
{
127
NoError
,
128
MoreThan1Indices
129
};
130
131
vtkSmartPointer<vtkExtractSelection>
SelectionExtractor
;
132
vtkSmartPointer<vtkExtractDataArraysOverTime>
ArraysExtractor
;
133
134
private
:
135
vtkExtractSelectedArraysOverTime
(
const
vtkExtractSelectedArraysOverTime
&) =
delete
;
136
void
operator=(
const
vtkExtractSelectedArraysOverTime
&) =
delete
;
137
142
vtkSmartPointer<vtkDataObject>
Extract(
vtkInformationVector
** inputV,
vtkInformation
* outInfo);
143
144
bool
IsExecuting;
145
};
146
147
#endif
vtkExtractSelectedArraysOverTime::SelectionExtractor
vtkSmartPointer< vtkExtractSelection > SelectionExtractor
Definition:
vtkExtractSelectedArraysOverTime.h:131
vtkExtractSelectedArraysOverTime::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
Convenience method to specify the selection connection (2nd input port)
Definition:
vtkExtractSelectedArraysOverTime.h:65
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition:
vtkDataSetAttributes.h:54
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:36
vtkTable
A table, which contains similar-typed columns of data.
Definition:
vtkTable.h:63
vtkExtractSelection
extract a subset from a vtkDataSet.
Definition:
vtkExtractSelection.h:52
vtkSmartPointer< vtkExtractSelection >
vtkSelection
data object that represents a "selection" in VTK.
Definition:
vtkSelection.h:58
vtkExtractSelectedArraysOverTime::ReportStatisticsOnly
bool ReportStatisticsOnly
Definition:
vtkExtractSelectedArraysOverTime.h:122
vtkExtractSelectedArraysOverTime::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkExtractSelectedArraysOverTime::DetermineSelectionType
int DetermineSelectionType(vtkSelection *)
Determines the FieldType and ContentType for the selection.
vtkX3D::port
@ port
Definition:
vtkX3D.h:453
vtkExtractSelectedArraysOverTime::ContentType
int ContentType
Definition:
vtkExtractSelectedArraysOverTime.h:121
vtkExtractSelectedArraysOverTime::PostExecute
virtual void PostExecute(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:34
vtkExtractDataArraysOverTime
extracts array from input dataset over time.
Definition:
vtkExtractDataArraysOverTime.h:75
vtkExtractSelectedArraysOverTime::NoError
@ NoError
Definition:
vtkExtractSelectedArraysOverTime.h:127
vtkSmartPointer.h
vtkExtractSelectedArraysOverTime::vtkExtractSelectedArraysOverTime
vtkExtractSelectedArraysOverTime()
vtkMultiBlockDataSetAlgorithm.h
vtkExtractSelectedArraysOverTime::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:57
vtkAlgorithm::SetInputConnection
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:65
vtkX3D::info
@ info
Definition:
vtkX3D.h:382
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition:
vtkAlgorithmOutput.h:37
vtkExtractSelectedArraysOverTime::FieldType
int FieldType
Definition:
vtkExtractSelectedArraysOverTime.h:120
vtkExtractSelectedArraysOverTime::NumberOfTimeSteps
int NumberOfTimeSteps
Definition:
vtkExtractSelectedArraysOverTime.h:119
vtkExtractSelectedArraysOverTime::RequestInformation
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkExtractSelectedArraysOverTime::SetSelectionExtractor
virtual void SetSelectionExtractor(vtkExtractSelection *)
Set/get the vtkExtractSelection instance used to obtain array values at each time step.
vtkExtractSelectedArraysOverTime::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractSelectedArraysOverTime::Error
int Error
Definition:
vtkExtractSelectedArraysOverTime.h:123
vtkExtractSelectedArraysOverTime::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractSelectedArraysOverTime::GetSelectionExtractor
vtkExtractSelection * GetSelectionExtractor()
vtkExtractSelectedArraysOverTime::ArraysExtractor
vtkSmartPointer< vtkExtractDataArraysOverTime > ArraysExtractor
Definition:
vtkExtractSelectedArraysOverTime.h:132
vtkExtractSelectedArraysOverTime::Errors
Errors
Definition:
vtkExtractSelectedArraysOverTime.h:126
vtkExtractSelectedArraysOverTime::~vtkExtractSelectedArraysOverTime
~vtkExtractSelectedArraysOverTime() override
vtkExtractSelectedArraysOverTime::New
static vtkExtractSelectedArraysOverTime * New()
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition:
vtkMultiBlockDataSetAlgorithm.h:33
vtkExtractSelectedArraysOverTime
extracts a selection over time.
Definition:
vtkExtractSelectedArraysOverTime.h:48
Generated on Mon Jan 4 2021 21:12:05 for VTK by
1.8.20