VTK
vtkImageToStructuredPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageToStructuredPoints.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 =========================================================================*/
27 #ifndef vtkImageToStructuredPoints_h
28 #define vtkImageToStructuredPoints_h
29 
30 #include "vtkCommonExecutionModelModule.h" // For export macro
31 #include "vtkImageAlgorithm.h"
32 
33 class vtkImageData;
35 
36 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageToStructuredPoints : public vtkImageAlgorithm
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
42 
44 
47  void SetVectorInputData(vtkImageData *input);
48  vtkImageData *GetVectorInput();
50 
54  vtkStructuredPoints* GetStructuredPointsOutput();
55 
56 protected:
58  ~vtkImageToStructuredPoints() VTK_OVERRIDE;
59 
60  // to translate the wholeExtent to have min 0 ( I do not like this hack).
61  int Translate[3];
62 
63  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
64  int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
65  int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
66 
67  int FillOutputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
68  int FillInputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
69 
70 private:
71  vtkImageToStructuredPoints(const vtkImageToStructuredPoints&) VTK_DELETE_FUNCTION;
72  void operator=(const vtkImageToStructuredPoints&) VTK_DELETE_FUNCTION;
73 };
74 
75 
76 #endif
77 
78 
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
Attaches image pipeline to VTK.
A subclass of ImageData.
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.