VTK: Filters/ParallelDIY2/vtkPResampleToImage.h Source File

| VTK 9.3.1

vtkPResampleToImage.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
16 #ifndef vtkPResampleToImage_h
17 #define vtkPResampleToImage_h
18
19 #include "vtkFiltersParallelDIY2Module.h" // For export macro
20 #include "vtkResampleToImage.h"
21
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkDataSet;
24 class vtkImageData;
25 class vtkMultiProcessController;
26
27 class VTKFILTERSPARALLELDIY2_EXPORT vtkPResampleToImage : public vtkResampleToImage
28 {
29 public:
30 vtkTypeMacro(vtkPResampleToImage, vtkResampleToImage);
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
33 static vtkPResampleToImage* New();
34
36
40 virtual void SetController(vtkMultiProcessController*);
41 vtkGetObjectMacro(Controller, vtkMultiProcessController);
43
44 protected:
45 vtkPResampleToImage();
46 ~vtkPResampleToImage() override;
47
48 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
49
50 vtkMultiProcessController* Controller;
51
52 private:
53 vtkPResampleToImage(const vtkPResampleToImage&) = delete;
54 void operator=(const vtkPResampleToImage&) = delete;
55 };
56
57 VTK_ABI_NAMESPACE_END
58 #endif
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
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
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:72
vtkPResampleToImage
sample dataset on a uniform grid in parallel
Definition: vtkPResampleToImage.h:28
vtkPResampleToImage::~vtkPResampleToImage
~vtkPResampleToImage() override
vtkPResampleToImage::vtkPResampleToImage
vtkPResampleToImage()
vtkPResampleToImage::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPResampleToImage::Controller
vtkMultiProcessController * Controller
Definition: vtkPResampleToImage.h:50
vtkPResampleToImage::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkPResampleToImage::New
static vtkPResampleToImage * New()
vtkPResampleToImage::SetController
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
vtkResampleToImage
sample dataset on a uniform grid
Definition: vtkResampleToImage.h:28
vtkResampleToImage.h