VTK  9.3.1
vtkImageToStructuredPoints.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
18 #ifndef vtkImageToStructuredPoints_h
19 #define vtkImageToStructuredPoints_h
20 
21 #include "vtkCommonExecutionModelModule.h" // For export macro
22 #include "vtkImageAlgorithm.h"
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkImageData;
27 
28 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageToStructuredPoints : public vtkImageAlgorithm
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
36 
39  void SetVectorInputData(vtkImageData* input);
40  vtkImageData* GetVectorInput();
42 
46  vtkStructuredPoints* GetStructuredPointsOutput();
47 
48 protected:
50  ~vtkImageToStructuredPoints() override;
51 
52  // to translate the wholeExtent to have min 0 ( I do not like this hack).
53  int Translate[3];
54 
58 
59  int FillOutputPortInformation(int, vtkInformation*) override;
60  int FillInputPortInformation(int, vtkInformation*) override;
61 
62 private:
64  void operator=(const vtkImageToStructuredPoints&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
Store vtkAlgorithm input/output information.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
Attaches image pipeline to VTK.
A subclass of ImageData.
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.