VTK: Imaging/General/vtkImageCityBlockDistance.h Source File

| VTK 9.3.1

vtkImageCityBlockDistance.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
32 #ifndef vtkImageCityBlockDistance_h
33 #define vtkImageCityBlockDistance_h
34
35 #include "vtkImageDecomposeFilter.h"
36 #include "vtkImagingGeneralModule.h" // For export macro
37
38 VTK_ABI_NAMESPACE_BEGIN
39 class VTKIMAGINGGENERAL_EXPORT vtkImageCityBlockDistance : public vtkImageDecomposeFilter
40 {
41 public:
42 static vtkImageCityBlockDistance* New();
43 vtkTypeMacro(vtkImageCityBlockDistance, vtkImageDecomposeFilter);
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
46 protected:
47 vtkImageCityBlockDistance();
48 ~vtkImageCityBlockDistance() override = default;
49
50 int IterativeRequestUpdateExtent(vtkInformation* in, vtkInformation* out) override;
51 int IterativeRequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
52
53 void AllocateOutputScalars(
54 vtkImageData* outData, int* updateExtent, int* wholeExtent, vtkInformation* outInfo);
55
56 private:
57 vtkImageCityBlockDistance(const vtkImageCityBlockDistance&) = delete;
58 void operator=(const vtkImageCityBlockDistance&) = delete;
59 };
60
61 VTK_ABI_NAMESPACE_END
62 #endif
vtkImageCityBlockDistance
1,2 or 3D distance map.
Definition: vtkImageCityBlockDistance.h:40
vtkImageCityBlockDistance::IterativeRequestUpdateExtent
int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out) override
vtkImageCityBlockDistance::AllocateOutputScalars
void AllocateOutputScalars(vtkImageData *outData, int *updateExtent, int *wholeExtent, vtkInformation *outInfo)
vtkImageCityBlockDistance::IterativeRequestData
int IterativeRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkImageCityBlockDistance::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3.
vtkImageCityBlockDistance::New
static vtkImageCityBlockDistance * New()
vtkImageCityBlockDistance::vtkImageCityBlockDistance
vtkImageCityBlockDistance()
vtkImageCityBlockDistance::~vtkImageCityBlockDistance
~vtkImageCityBlockDistance() override=default
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
vtkImageDecomposeFilter
Filters that execute axes in series.
Definition: vtkImageDecomposeFilter.h:22
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkImageDecomposeFilter.h