VTK  9.0.1
vtkAdaptiveResampleToImage.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAdaptiveResampleToImage.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 =========================================================================*/
47 #ifndef vtkAdaptiveResampleToImage_h
48 #define vtkAdaptiveResampleToImage_h
49 
50 #include "vtkDataObjectAlgorithm.h"
51 #include "vtkFiltersParallelDIY2Module.h" // For export macro
52 
54 
55 class VTKFILTERSPARALLELDIY2_EXPORT vtkAdaptiveResampleToImage : public vtkDataObjectAlgorithm
56 {
57 public:
60  void PrintSelf(ostream& os, vtkIndent indent) override;
61 
63 
68  vtkGetObjectMacro(Controller, vtkMultiProcessController);
70 
72 
78  vtkSetClampMacro(NumberOfImages, int, 0, VTK_INT_MAX);
79  vtkGetMacro(NumberOfImages, int);
81 
83 
87  vtkSetVector3Macro(SamplingDimensions, int);
88  vtkGetVector3Macro(SamplingDimensions, int);
90 protected:
93 
96  vtkInformationVector* outputVector) override;
97 
98 private:
100  void operator=(const vtkAdaptiveResampleToImage&) = delete;
101 
102  vtkMultiProcessController* Controller;
103  int NumberOfImages;
104  int SamplingDimensions[3];
105 };
106 
107 #endif
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:155
vtkAdaptiveResampleToImage::SetController
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
vtkAdaptiveResampleToImage
samples a dataset with adaptive refinements.
Definition: vtkAdaptiveResampleToImage.h:56
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkDataObjectAlgorithm
Superclass for algorithms that produce only data object as output.
Definition: vtkDataObjectAlgorithm.h:44
vtkAdaptiveResampleToImage::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkAdaptiveResampleToImage::RequestData
int RequestData(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:76
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkAdaptiveResampleToImage::~vtkAdaptiveResampleToImage
~vtkAdaptiveResampleToImage() override
vtkAdaptiveResampleToImage::New
static vtkAdaptiveResampleToImage * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:65
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkAdaptiveResampleToImage::vtkAdaptiveResampleToImage
vtkAdaptiveResampleToImage()
vtkDataObjectAlgorithm.h
vtkAdaptiveResampleToImage::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.