VTK  9.7.20261029
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
56
57#ifndef vtkImageChangeInformation_h
58#define vtkImageChangeInformation_h
59
60#include "vtkImageAlgorithm.h"
61#include "vtkImagingCoreModule.h" // For export macro
62
63VTK_ABI_NAMESPACE_BEGIN
64class vtkImageData;
65
66class VTKIMAGINGCORE_EXPORT vtkImageChangeInformation : public vtkImageAlgorithm
67{
68public:
71 void PrintSelf(ostream& os, vtkIndent indent) override;
72
74
81
83
90 vtkSetVector3Macro(OutputExtentStart, int);
91 vtkGetVector3Macro(OutputExtentStart, int);
93
95
100 vtkSetVector3Macro(OutputSpacing, double);
101 vtkGetVector3Macro(OutputSpacing, double);
103
105
110 vtkSetVectorMacro(OutputDirection, double, 9);
111 vtkGetVectorMacro(OutputDirection, double, 9);
113
115
120 vtkSetVector3Macro(OutputOrigin, double);
121 vtkGetVector3Macro(OutputOrigin, double);
123
125
132 vtkBooleanMacro(CenterImage, vtkTypeBool);
135
137
140 vtkSetVector3Macro(ExtentTranslation, int);
141 vtkGetVector3Macro(ExtentTranslation, int);
143
145
148 vtkSetVector3Macro(SpacingScale, double);
149 vtkGetVector3Macro(SpacingScale, double);
151
153
156 vtkSetVector3Macro(OriginTranslation, double);
157 vtkGetVector3Macro(OriginTranslation, double);
159
161
165 vtkSetVector3Macro(OriginScale, double);
166 vtkGetVector3Macro(OriginScale, double);
168
169protected:
172
174
178
179 double OutputSpacing[3];
180 double SpacingScale[3];
181
183
184 double OutputOrigin[3];
185 double OriginScale[3];
187
190
192
193 int FillInputPortInformation(int port, vtkInformation* info) override;
194
195private:
197 void operator=(const vtkImageChangeInformation&) = delete;
198};
199
200VTK_ABI_NAMESPACE_END
201#endif
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
static vtkImageChangeInformation * New()
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
virtual vtkImageData * GetInformationInput()
Copy the information from another data set.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetInformationInputData(vtkImageData *)
Copy the information from another data set.
~vtkImageChangeInformation() override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition vtkABI.h:64