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=========================================================================*/
62#ifndef vtkVoxelContoursToSurfaceFilter_h
63#define vtkVoxelContoursToSurfaceFilter_h
64
65#include "vtkFiltersGeneralModule.h" // For export macro
67
68class VTKFILTERSGENERAL_EXPORT vtkVoxelContoursToSurfaceFilter : public vtkPolyDataAlgorithm
69{
70public:
73 void PrintSelf(ostream& os, vtkIndent indent) override;
74
76
82 vtkSetMacro(MemoryLimitInBytes, int);
83 vtkGetMacro(MemoryLimitInBytes, int);
85
86 vtkSetVector3Macro(Spacing, double);
87 vtkGetVectorMacro(Spacing, double, 3);
88
89protected:
92
94
96
97 double Spacing[3];
98
99 double* LineList;
102
103 double* SortedXList;
104 double* SortedYList;
106
109
112
113 void AddLineToLineList(double x1, double y1, double x2, double y2);
115
116 void CastLines(float* slice, double gridOrigin[3], int gridSize[3], int type);
117
118 void PushDistances(float* ptr, int gridSize[3], int chunkSize);
119
120private:
122 void operator=(const vtkVoxelContoursToSurfaceFilter&) = delete;
123};
124
125#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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