VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Imaging
Core
vtkExtractVOI.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractVOI.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
=========================================================================*/
42
#ifndef vtkExtractVOI_h
43
#define vtkExtractVOI_h
44
45
#include "
vtkImageAlgorithm.h
"
46
#include "vtkImagingCoreModule.h"
// For export macro
47
48
// Forward Declarations
49
class
vtkExtractStructuredGridHelper
;
50
51
class
VTKIMAGINGCORE_EXPORT
vtkExtractVOI
:
public
vtkImageAlgorithm
52
{
53
public
:
54
vtkTypeMacro(
vtkExtractVOI
,
vtkImageAlgorithm
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
56
60
static
vtkExtractVOI
*
New
();
61
63
68
vtkSetVector6Macro(VOI,
int
);
69
vtkGetVectorMacro(VOI,
int
, 6);
71
73
79
vtkSetVector3Macro(SampleRate,
int
);
80
vtkGetVectorMacro(SampleRate,
int
, 3);
82
84
92
vtkSetMacro(IncludeBoundary,
vtkTypeBool
);
93
vtkGetMacro(IncludeBoundary,
vtkTypeBool
);
94
vtkBooleanMacro(IncludeBoundary,
vtkTypeBool
);
96
97
protected
:
98
vtkExtractVOI
();
99
~vtkExtractVOI
()
override
;
100
101
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
102
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
103
int
RequestData
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
104
vtkInformationVector
* outputVector)
override
;
105
112
bool
RequestDataImpl
(
vtkInformationVector
** inputVector,
vtkInformationVector
* outputVector);
113
114
int
VOI[6];
115
int
SampleRate[3];
116
vtkTypeBool
IncludeBoundary
;
117
118
vtkExtractStructuredGridHelper
*
Internal
;
119
120
private
:
121
vtkExtractVOI
(
const
vtkExtractVOI
&) =
delete
;
122
void
operator=(
const
vtkExtractVOI
&) =
delete
;
123
};
124
125
#endif
vtkExtractStructuredGridHelper
helper for extracting/sub-sampling structured datasets.
Definition
vtkExtractStructuredGridHelper.h:52
vtkExtractVOI
select piece (e.g., volume of interest) and/or subsample structured points dataset
Definition
vtkExtractVOI.h:52
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:118
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:116
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition
vtkImageAlgorithm.h:41
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkImageAlgorithm.h
Generated on Fri Nov 8 2024 00:00:00 for VTK by
1.12.0