VTK: Filters/General/vtkBlankStructuredGridWithImage.h Source File

| VTK 9.3.1

vtkBlankStructuredGridWithImage.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
23 #ifndef vtkBlankStructuredGridWithImage_h
24 #define vtkBlankStructuredGridWithImage_h
25
26 #include "vtkFiltersGeneralModule.h" // For export macro
27 #include "vtkStructuredGridAlgorithm.h"
28
29 VTK_ABI_NAMESPACE_BEGIN
30 class vtkImageData;
31
32 class VTKFILTERSGENERAL_EXPORT vtkBlankStructuredGridWithImage : public vtkStructuredGridAlgorithm
33 {
34 public:
35 static vtkBlankStructuredGridWithImage* New();
36 vtkTypeMacro(vtkBlankStructuredGridWithImage, vtkStructuredGridAlgorithm);
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
43 void SetBlankingInputData(vtkImageData* input);
44 vtkImageData* GetBlankingInput();
46
47 protected:
48 vtkBlankStructuredGridWithImage();
49 ~vtkBlankStructuredGridWithImage() override;
50
51 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
52 int FillInputPortInformation(int port, vtkInformation* info) override;
53
54 private:
55 vtkBlankStructuredGridWithImage(const vtkBlankStructuredGridWithImage&) = delete;
56 void operator=(const vtkBlankStructuredGridWithImage&) = delete;
57 };
58
59 VTK_ABI_NAMESPACE_END
60 #endif
vtkBlankStructuredGridWithImage
blank a structured grid with an image
Definition: vtkBlankStructuredGridWithImage.h:33
vtkBlankStructuredGridWithImage::vtkBlankStructuredGridWithImage
vtkBlankStructuredGridWithImage()
vtkBlankStructuredGridWithImage::GetBlankingInput
vtkImageData * GetBlankingInput()
Set / get the input image used to perform the blanking.
vtkBlankStructuredGridWithImage::~vtkBlankStructuredGridWithImage
~vtkBlankStructuredGridWithImage() override
vtkBlankStructuredGridWithImage::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBlankStructuredGridWithImage::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkBlankStructuredGridWithImage::SetBlankingInputData
void SetBlankingInputData(vtkImageData *input)
Set / get the input image used to perform the blanking.
vtkBlankStructuredGridWithImage::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkBlankStructuredGridWithImage::New
static vtkBlankStructuredGridWithImage * New()
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
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition: vtkStructuredGridAlgorithm.h:31
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkStructuredGridAlgorithm.h