VTK
dox
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
=========================================================================*/
45
#ifndef vtkExtractVOI_h
46
#define vtkExtractVOI_h
47
48
#include "vtkImagingCoreModule.h"
// For export macro
49
#include "
vtkImageAlgorithm.h
"
50
51
// Forward Declarations
52
class
vtkExtractStructuredGridHelper
;
53
54
class
VTKIMAGINGCORE_EXPORT
vtkExtractVOI
:
public
vtkImageAlgorithm
55
{
56
public
:
57
vtkTypeMacro(
vtkExtractVOI
,
vtkImageAlgorithm
);
58
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
59
63
static
vtkExtractVOI
*
New
();
64
66
71
vtkSetVector6Macro(VOI,
int
);
72
vtkGetVectorMacro(VOI,
int
,6);
74
76
82
vtkSetVector3Macro(SampleRate,
int
);
83
vtkGetVectorMacro(SampleRate,
int
, 3);
85
87
95
vtkSetMacro
(IncludeBoundary,
int
);
96
vtkGetMacro(IncludeBoundary,
int
);
97
vtkBooleanMacro
(IncludeBoundary,
int
);
99
100
protected
:
101
vtkExtractVOI
();
102
~vtkExtractVOI
();
103
104
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
105
vtkInformationVector
**,
106
vtkInformationVector
*) VTK_OVERRIDE;
107
virtual
int
RequestInformation
(
vtkInformation
*,
108
vtkInformationVector
**,
109
vtkInformationVector
*) VTK_OVERRIDE;
110
virtual
int
RequestData
(
vtkInformation
* request,
111
vtkInformationVector
** inputVector,
112
vtkInformationVector
* outputVector) VTK_OVERRIDE;
113
120
bool
RequestDataImpl
(
vtkInformationVector
**inputVector,
121
vtkInformationVector
*outputVector);
122
123
int
VOI[6];
124
int
SampleRate[3];
125
int
IncludeBoundary
;
126
127
vtkExtractStructuredGridHelper
*
Internal
;
128
private
:
129
vtkExtractVOI
(
const
vtkExtractVOI
&) VTK_DELETE_FUNCTION;
130
void
operator=(
const
vtkExtractVOI
&) VTK_DELETE_FUNCTION;
131
};
132
133
#endif
134
135
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractVOI::~vtkExtractVOI
~vtkExtractVOI()
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition:
vtkImageAlgorithm.h:41
vtkExtractVOI::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractStructuredGridHelper
helper for extracting/sub-sampling structured datasets.
Definition:
vtkExtractStructuredGridHelper.h:53
vtkExtractVOI::New
static vtkExtractVOI * New()
Construct object to extract all of the input data.
vtkExtractVOI::IncludeBoundary
int IncludeBoundary
Definition:
vtkExtractVOI.h:125
vtkExtractVOI::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkExtractVOI::RequestDataImpl
bool RequestDataImpl(vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Implementation for RequestData using a specified VOI.
vtkExtractVOI::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkExtractVOI::vtkExtractVOI
vtkExtractVOI()
vtkExtractVOI::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
vtkExtractVOI::Internal
vtkExtractStructuredGridHelper * Internal
Definition:
vtkExtractVOI.h:127
vtkExtractVOI
select piece (e.g., volume of interest) and/or subsample structured points dataset
Definition:
vtkExtractVOI.h:55
Generated by
1.8.20