VTK
9.2.6
Imaging
Core
vtkImageChangeInformation.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageChangeInformation.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
=========================================================================*/
23
24
#ifndef vtkImageChangeInformation_h
25
#define vtkImageChangeInformation_h
26
27
#include "
vtkImageAlgorithm.h
"
28
#include "vtkImagingCoreModule.h"
// For export macro
29
30
class
vtkImageData
;
31
32
class
VTKIMAGINGCORE_EXPORT
vtkImageChangeInformation
:
public
vtkImageAlgorithm
33
{
34
public
:
35
static
vtkImageChangeInformation
*
New
();
36
vtkTypeMacro(
vtkImageChangeInformation
,
vtkImageAlgorithm
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
38
40
44
virtual
void
SetInformationInputData
(
vtkImageData
*);
45
virtual
vtkImageData
*
GetInformationInput
();
47
49
56
vtkSetVector3Macro(
OutputExtentStart
,
int
);
57
vtkGetVector3Macro(
OutputExtentStart
,
int
);
59
61
66
vtkSetVector3Macro(
OutputSpacing
,
double
);
67
vtkGetVector3Macro(
OutputSpacing
,
double
);
69
71
76
vtkSetVector3Macro(
OutputOrigin
,
double
);
77
vtkGetVector3Macro(
OutputOrigin
,
double
);
79
81
87
vtkSetMacro(
CenterImage
,
vtkTypeBool
);
88
vtkBooleanMacro(
CenterImage
,
vtkTypeBool
);
89
vtkGetMacro(
CenterImage
,
vtkTypeBool
);
91
93
96
vtkSetVector3Macro(
ExtentTranslation
,
int
);
97
vtkGetVector3Macro(
ExtentTranslation
,
int
);
99
101
104
vtkSetVector3Macro(
SpacingScale
,
double
);
105
vtkGetVector3Macro(
SpacingScale
,
double
);
107
109
112
vtkSetVector3Macro(
OriginTranslation
,
double
);
113
vtkGetVector3Macro(
OriginTranslation
,
double
);
115
117
121
vtkSetVector3Macro(
OriginScale
,
double
);
122
vtkGetVector3Macro(
OriginScale
,
double
);
124
125
protected
:
126
vtkImageChangeInformation
();
127
~vtkImageChangeInformation
()
override
;
128
129
vtkTypeBool
CenterImage
;
130
131
int
OutputExtentStart
[3];
132
int
ExtentTranslation
[3];
133
int
FinalExtentTranslation
[3];
134
135
double
OutputSpacing
[3];
136
double
SpacingScale
[3];
137
138
double
OutputOrigin
[3];
139
double
OriginScale
[3];
140
double
OriginTranslation
[3];
141
142
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
143
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
144
145
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
146
147
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
148
149
private
:
150
vtkImageChangeInformation
(
const
vtkImageChangeInformation
&) =
delete
;
151
void
operator=(
const
vtkImageChangeInformation
&) =
delete
;
152
};
153
154
#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:136
vtkImageChangeInformation::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
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:140
vtkImageChangeInformation::ExtentTranslation
int ExtentTranslation[3]
Definition
vtkImageChangeInformation.h:132
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:135
vtkImageChangeInformation::OriginScale
double OriginScale[3]
Definition
vtkImageChangeInformation.h:139
vtkImageChangeInformation::vtkImageChangeInformation
vtkImageChangeInformation()
vtkImageChangeInformation::FinalExtentTranslation
int FinalExtentTranslation[3]
Definition
vtkImageChangeInformation.h:133
vtkImageChangeInformation::CenterImage
vtkTypeBool CenterImage
Definition
vtkImageChangeInformation.h:129
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:138
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:131
vtkImageData
topologically and geometrically regular array of data
Definition
vtkImageData.h:48
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:68
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkImageAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2