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
=========================================================================*/
29
30
#ifndef vtkImageChangeInformation_h
31
#define vtkImageChangeInformation_h
32
33
#include "
vtkImageAlgorithm.h
"
34
#include "vtkImagingCoreModule.h"
// For export macro
35
36
class
vtkImageData
;
37
38
class
VTKIMAGINGCORE_EXPORT
vtkImageChangeInformation
:
public
vtkImageAlgorithm
39
{
40
public
:
41
static
vtkImageChangeInformation
*
New
();
42
vtkTypeMacro(
vtkImageChangeInformation
,
vtkImageAlgorithm
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
44
46
50
virtual
void
SetInformationInputData
(
vtkImageData
*);
51
virtual
vtkImageData
*
GetInformationInput
();
53
55
62
vtkSetVector3Macro(
OutputExtentStart
,
int
);
63
vtkGetVector3Macro(
OutputExtentStart
,
int
);
65
67
72
vtkSetVector3Macro(
OutputSpacing
,
double
);
73
vtkGetVector3Macro(
OutputSpacing
,
double
);
75
77
82
vtkSetVector3Macro(
OutputOrigin
,
double
);
83
vtkGetVector3Macro(
OutputOrigin
,
double
);
85
87
93
vtkSetMacro(
CenterImage
,
vtkTypeBool
);
94
vtkBooleanMacro(
CenterImage
,
vtkTypeBool
);
95
vtkGetMacro(
CenterImage
,
vtkTypeBool
);
97
99
102
vtkSetVector3Macro(
ExtentTranslation
,
int
);
103
vtkGetVector3Macro(
ExtentTranslation
,
int
);
105
107
110
vtkSetVector3Macro(
SpacingScale
,
double
);
111
vtkGetVector3Macro(
SpacingScale
,
double
);
113
115
118
vtkSetVector3Macro(
OriginTranslation
,
double
);
119
vtkGetVector3Macro(
OriginTranslation
,
double
);
121
123
127
vtkSetVector3Macro(
OriginScale
,
double
);
128
vtkGetVector3Macro(
OriginScale
,
double
);
130
131
protected
:
132
vtkImageChangeInformation
();
133
~vtkImageChangeInformation
()
override
;
134
135
vtkTypeBool
CenterImage
;
136
137
int
OutputExtentStart
[3];
138
int
ExtentTranslation
[3];
139
int
FinalExtentTranslation
[3];
140
141
double
OutputSpacing
[3];
142
double
SpacingScale
[3];
143
144
double
OutputOrigin
[3];
145
double
OriginScale
[3];
146
double
OriginTranslation
[3];
147
148
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
149
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
150
151
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
152
153
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
154
155
private
:
156
vtkImageChangeInformation
(
const
vtkImageChangeInformation
&) =
delete
;
157
void
operator=(
const
vtkImageChangeInformation
&) =
delete
;
158
};
159
160
#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:142
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:146
vtkImageChangeInformation::ExtentTranslation
int ExtentTranslation[3]
Definition
vtkImageChangeInformation.h:138
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:141
vtkImageChangeInformation::OriginScale
double OriginScale[3]
Definition
vtkImageChangeInformation.h:145
vtkImageChangeInformation::vtkImageChangeInformation
vtkImageChangeInformation()
vtkImageChangeInformation::FinalExtentTranslation
int FinalExtentTranslation[3]
Definition
vtkImageChangeInformation.h:139
vtkImageChangeInformation::CenterImage
vtkTypeBool CenterImage
Definition
vtkImageChangeInformation.h:135
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:144
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:137
vtkImageData
topologically and geometrically regular array of data
Definition
vtkImageData.h:54
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 Thu Feb 27 2025 00:00:00 for VTK by
1.13.2