VTK
dox
Common
ExecutionModel
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
=========================================================================*/
30
#ifndef vtkImageToStructuredPoints_h
31
#define vtkImageToStructuredPoints_h
32
33
#include "vtkCommonExecutionModelModule.h"
// For export macro
34
#include "
vtkImageAlgorithm.h
"
35
36
class
vtkImageData
;
37
class
vtkStructuredPoints
;
38
39
class
VTKCOMMONEXECUTIONMODEL_EXPORT
vtkImageToStructuredPoints
:
public
vtkImageAlgorithm
40
{
41
public
:
42
static
vtkImageToStructuredPoints
*
New
();
43
vtkTypeMacro(
vtkImageToStructuredPoints
,
vtkImageAlgorithm
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
45
47
50
void
SetVectorInputData(
vtkImageData
*input);
51
vtkImageData
*GetVectorInput();
53
57
vtkStructuredPoints
* GetStructuredPointsOutput();
58
59
protected
:
60
vtkImageToStructuredPoints
();
61
~
vtkImageToStructuredPoints
() VTK_OVERRIDE;
62
63
// to translate the wholeExtent to have min 0 ( I do not like this hack).
64
int
Translate[3];
65
66
int
RequestData(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*) VTK_OVERRIDE;
67
int
RequestInformation (
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*) VTK_OVERRIDE;
68
int
RequestUpdateExtent(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*) VTK_OVERRIDE;
69
70
int
FillOutputPortInformation(
int
,
vtkInformation
*) VTK_OVERRIDE;
71
int
FillInputPortInformation(
int
,
vtkInformation
*) VTK_OVERRIDE;
72
73
private:
74
vtkImageToStructuredPoints
(const
vtkImageToStructuredPoints
&) VTK_DELETE_FUNCTION;
75
void
operator=(const
vtkImageToStructuredPoints
&) VTK_DELETE_FUNCTION;
76
};
77
78
79
#endif
80
81
vtkStructuredPoints
A subclass of ImageData.
Definition:
vtkStructuredPoints.h:39
vtkImageToStructuredPoints
Attaches image pipeline to VTK.
Definition:
vtkImageToStructuredPoints.h:39
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition:
vtkImageAlgorithm.h:40
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAlgorithm::New
static vtkAlgorithm * New()
Generated by
1.8.16