VTK  9.1.0
vtkVoxelContoursToSurfaceFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkVoxelContoursToSurfaceFilter.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=========================================================================*/
52#ifndef vtkVoxelContoursToSurfaceFilter_h
53#define vtkVoxelContoursToSurfaceFilter_h
54
55#include "vtkFiltersGeneralModule.h" // For export macro
57
58class VTKFILTERSGENERAL_EXPORT vtkVoxelContoursToSurfaceFilter : public vtkPolyDataAlgorithm
59{
60public:
63 void PrintSelf(ostream& os, vtkIndent indent) override;
64
66
72 vtkSetMacro(MemoryLimitInBytes, int);
73 vtkGetMacro(MemoryLimitInBytes, int);
75
76 vtkSetVector3Macro(Spacing, double);
77 vtkGetVectorMacro(Spacing, double, 3);
78
79protected:
82
84
86
87 double Spacing[3];
88
89 double* LineList;
92
93 double* SortedXList;
94 double* SortedYList;
96
99
102
103 void AddLineToLineList(double x1, double y1, double x2, double y2);
105
106 void CastLines(float* slice, double gridOrigin[3], int gridSize[3], int type);
107
108 void PushDistances(float* ptr, int gridSize[3], int chunkSize);
109
110private:
112 void operator=(const vtkVoxelContoursToSurfaceFilter&) = delete;
113};
114
115#endif
a simple class to control print indentation
Definition: vtkIndent.h:43
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()
@ type
Definition: vtkX3D.h:522