VTK
9.6.1
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Imaging
Core
vtkImageChangeInformation.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
17
18
#ifndef vtkImageChangeInformation_h
19
#define vtkImageChangeInformation_h
20
21
#include "
vtkImageAlgorithm.h
"
22
#include "vtkImagingCoreModule.h"
// For export macro
23
24
VTK_ABI_NAMESPACE_BEGIN
25
class
vtkImageData
;
26
27
class
VTKIMAGINGCORE_EXPORT
vtkImageChangeInformation
:
public
vtkImageAlgorithm
28
{
29
public
:
30
static
vtkImageChangeInformation
*
New
();
31
vtkTypeMacro(
vtkImageChangeInformation
,
vtkImageAlgorithm
);
32
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
33
35
39
virtual
void
SetInformationInputData
(
vtkImageData
*);
40
virtual
vtkImageData
*
GetInformationInput
();
42
44
51
vtkSetVector3Macro(
OutputExtentStart
,
int
);
52
vtkGetVector3Macro(
OutputExtentStart
,
int
);
54
56
61
vtkSetVector3Macro(
OutputSpacing
,
double
);
62
vtkGetVector3Macro(
OutputSpacing
,
double
);
64
66
71
vtkSetVectorMacro(
OutputDirection
,
double
, 9);
72
vtkGetVectorMacro(
OutputDirection
,
double
, 9);
74
76
81
vtkSetVector3Macro(
OutputOrigin
,
double
);
82
vtkGetVector3Macro(
OutputOrigin
,
double
);
84
86
92
vtkSetMacro(
CenterImage
,
vtkTypeBool
);
93
vtkBooleanMacro(
CenterImage
,
vtkTypeBool
);
94
vtkGetMacro(
CenterImage
,
vtkTypeBool
);
96
98
101
vtkSetVector3Macro(
ExtentTranslation
,
int
);
102
vtkGetVector3Macro(
ExtentTranslation
,
int
);
104
106
109
vtkSetVector3Macro(
SpacingScale
,
double
);
110
vtkGetVector3Macro(
SpacingScale
,
double
);
112
114
117
vtkSetVector3Macro(
OriginTranslation
,
double
);
118
vtkGetVector3Macro(
OriginTranslation
,
double
);
120
122
126
vtkSetVector3Macro(
OriginScale
,
double
);
127
vtkGetVector3Macro(
OriginScale
,
double
);
129
130
protected
:
131
vtkImageChangeInformation
();
132
~vtkImageChangeInformation
()
override
;
133
134
vtkTypeBool
CenterImage
;
135
136
int
OutputExtentStart
[3];
137
int
ExtentTranslation
[3];
138
int
FinalExtentTranslation
[3];
139
140
double
OutputSpacing
[3];
141
double
SpacingScale
[3];
142
143
double
OutputDirection
[9];
144
145
double
OutputOrigin
[3];
146
double
OriginScale
[3];
147
double
OriginTranslation
[3];
148
149
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
150
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
151
152
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
153
154
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
155
156
private
:
157
vtkImageChangeInformation
(
const
vtkImageChangeInformation
&) =
delete
;
158
void
operator=(
const
vtkImageChangeInformation
&) =
delete
;
159
};
160
161
VTK_ABI_NAMESPACE_END
162
#endif
vtkImageAlgorithm::vtkImageAlgorithm
vtkImageAlgorithm()
vtkImageChangeInformation::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageChangeInformation::New
static vtkImageChangeInformation * New()
vtkImageChangeInformation::SpacingScale
double SpacingScale[3]
Definition
vtkImageChangeInformation.h:141
vtkImageChangeInformation::OutputDirection
double OutputDirection[9]
Definition
vtkImageChangeInformation.h:143
vtkImageChangeInformation::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
vtkImageChangeInformation::GetInformationInput
virtual vtkImageData * GetInformationInput()
Copy the information from another data set.
vtkImageChangeInformation::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
vtkImageChangeInformation::OriginTranslation
double OriginTranslation[3]
Definition
vtkImageChangeInformation.h:147
vtkImageChangeInformation::ExtentTranslation
int ExtentTranslation[3]
Definition
vtkImageChangeInformation.h:137
vtkImageChangeInformation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageChangeInformation::OutputSpacing
double OutputSpacing[3]
Definition
vtkImageChangeInformation.h:140
vtkImageChangeInformation::OriginScale
double OriginScale[3]
Definition
vtkImageChangeInformation.h:146
vtkImageChangeInformation::vtkImageChangeInformation
vtkImageChangeInformation()
vtkImageChangeInformation::FinalExtentTranslation
int FinalExtentTranslation[3]
Definition
vtkImageChangeInformation.h:138
vtkImageChangeInformation::CenterImage
vtkTypeBool CenterImage
Definition
vtkImageChangeInformation.h:134
vtkImageChangeInformation::SetInformationInputData
virtual void SetInformationInputData(vtkImageData *)
Copy the information from another data set.
vtkImageChangeInformation::~vtkImageChangeInformation
~vtkImageChangeInformation() override
vtkImageChangeInformation::OutputOrigin
double OutputOrigin[3]
Definition
vtkImageChangeInformation.h:145
vtkImageChangeInformation::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkImageChangeInformation::OutputExtentStart
int OutputExtentStart[3]
Definition
vtkImageChangeInformation.h:136
vtkImageData
topologically and geometrically regular array of data
Definition
vtkImageData.h:46
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:64
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkImageAlgorithm.h
Generated on
for VTK by
1.16.1