VTK
9.3.0
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Imaging
Core
vtkExtractVOI.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
30
#ifndef vtkExtractVOI_h
31
#define vtkExtractVOI_h
32
33
#include "
vtkImageAlgorithm.h
"
34
#include "vtkImagingCoreModule.h"
// For export macro
35
36
// Forward Declarations
37
VTK_ABI_NAMESPACE_BEGIN
38
class
vtkExtractStructuredGridHelper
;
39
40
class
VTKIMAGINGCORE_EXPORT
vtkExtractVOI
:
public
vtkImageAlgorithm
41
{
42
public
:
43
vtkTypeMacro(
vtkExtractVOI
,
vtkImageAlgorithm
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
45
49
static
vtkExtractVOI
*
New
();
50
52
57
vtkSetVector6Macro(VOI,
int
);
58
vtkGetVectorMacro(VOI,
int
, 6);
60
62
68
vtkSetVector3Macro(SampleRate,
int
);
69
vtkGetVectorMacro(SampleRate,
int
, 3);
71
73
81
vtkSetMacro(IncludeBoundary,
vtkTypeBool
);
82
vtkGetMacro(IncludeBoundary,
vtkTypeBool
);
83
vtkBooleanMacro(IncludeBoundary,
vtkTypeBool
);
85
86
protected
:
87
vtkExtractVOI
();
88
~vtkExtractVOI
()
override
;
89
90
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
91
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
92
int
RequestData
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
93
vtkInformationVector
* outputVector)
override
;
94
101
bool
RequestDataImpl
(
vtkInformationVector
** inputVector,
vtkInformationVector
* outputVector);
102
103
int
VOI[6];
104
int
SampleRate[3];
105
vtkTypeBool
IncludeBoundary
;
106
107
vtkExtractStructuredGridHelper
*
Internal
;
108
109
private
:
110
vtkExtractVOI
(
const
vtkExtractVOI
&) =
delete
;
111
void
operator=(
const
vtkExtractVOI
&) =
delete
;
112
};
113
114
VTK_ABI_NAMESPACE_END
115
#endif
vtkExtractStructuredGridHelper
helper for extracting/sub-sampling structured datasets.
Definition
vtkExtractStructuredGridHelper.h:45
vtkExtractVOI
select piece (e.g., volume of interest) and/or subsample structured points dataset
Definition
vtkExtractVOI.h:41
vtkExtractVOI::vtkExtractVOI
vtkExtractVOI()
vtkExtractVOI::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkExtractVOI::Internal
vtkExtractStructuredGridHelper * Internal
Definition
vtkExtractVOI.h:107
vtkExtractVOI::RequestDataImpl
bool RequestDataImpl(vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Implementation for RequestData using a specified VOI.
vtkExtractVOI::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkExtractVOI::New
static vtkExtractVOI * New()
Construct object to extract all of the input data.
vtkExtractVOI::~vtkExtractVOI
~vtkExtractVOI() override
vtkExtractVOI::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractVOI::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
vtkExtractVOI::IncludeBoundary
vtkTypeBool IncludeBoundary
Definition
vtkExtractVOI.h:105
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition
vtkImageAlgorithm.h:30
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:63
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkImageAlgorithm.h
Generated on Mon Feb 26 2024 16:15:33 for VTK by
1.11.0