VTK  9.3.0
vtkVoxelContoursToSurfaceFilter.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
43#ifndef vtkVoxelContoursToSurfaceFilter_h
44#define vtkVoxelContoursToSurfaceFilter_h
45
46#include "vtkFiltersGeneralModule.h" // For export macro
48
49VTK_ABI_NAMESPACE_BEGIN
50class VTKFILTERSGENERAL_EXPORT vtkVoxelContoursToSurfaceFilter : public vtkPolyDataAlgorithm
51{
52public:
55 void PrintSelf(ostream& os, vtkIndent indent) override;
56
58
64 vtkSetMacro(MemoryLimitInBytes, int);
65 vtkGetMacro(MemoryLimitInBytes, int);
67
68 vtkSetVector3Macro(Spacing, double);
69 vtkGetVectorMacro(Spacing, double, 3);
70
71protected:
74
76
78
79 double Spacing[3];
80
81 double* LineList;
84
85 double* SortedXList;
86 double* SortedYList;
88
91
94
95 void AddLineToLineList(double x1, double y1, double x2, double y2);
97
98 void CastLines(float* slice, double gridOrigin[3], int gridSize[3], int type);
99
100 void PushDistances(float* ptr, int gridSize[3], int chunkSize);
101
102private:
104 void operator=(const vtkVoxelContoursToSurfaceFilter&) = delete;
105};
106
107VTK_ABI_NAMESPACE_END
108#endif
a simple class to control print indentation
Definition vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
void CastLines(float *slice, double gridOrigin[3], int gridSize[3], int type)
void PushDistances(float *ptr, int gridSize[3], int chunkSize)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddLineToLineList(double x1, double y1, double x2, double y2)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkVoxelContoursToSurfaceFilter * New()