VTK
dox
Filters
General
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
=========================================================================*/
46
#ifndef vtkVoxelContoursToSurfaceFilter_h
47
#define vtkVoxelContoursToSurfaceFilter_h
48
49
#include "vtkFiltersGeneralModule.h"
// For export macro
50
#include "
vtkPolyDataAlgorithm.h
"
51
52
class
VTKFILTERSGENERAL_EXPORT
vtkVoxelContoursToSurfaceFilter
:
public
vtkPolyDataAlgorithm
53
{
54
public
:
55
static
vtkVoxelContoursToSurfaceFilter
*
New
();
56
vtkTypeMacro(
vtkVoxelContoursToSurfaceFilter
,
vtkPolyDataAlgorithm
);
57
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
58
60
66
vtkSetMacro( MemoryLimitInBytes,
int
);
67
vtkGetMacro( MemoryLimitInBytes,
int
);
69
70
vtkSetVector3Macro( Spacing,
double
);
71
vtkGetVectorMacro( Spacing,
double
, 3 );
72
73
protected
:
74
vtkVoxelContoursToSurfaceFilter
();
75
~
vtkVoxelContoursToSurfaceFilter
()
override
;
76
77
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
78
79
int
MemoryLimitInBytes
;
80
81
double
Spacing[3];
82
83
double
*
LineList
;
84
int
LineListLength
;
85
int
LineListSize
;
86
87
double
*
SortedXList
;
88
double
*
SortedYList
;
89
int
SortedListSize
;
90
91
int
*
WorkingList
;
92
int
WorkingListLength
;
93
94
double
*
IntersectionList
;
95
int
IntersectionListLength
;
96
97
void
AddLineToLineList(
double
x1,
double
y1,
double
x2,
double
y2 );
98
void
SortLineList();
99
100
void
CastLines(
float
*slice,
double
gridOrigin[3],
101
int
gridSize[3],
int
type
);
102
103
void
PushDistances(
float
*ptr,
int
gridSize[3],
int
chunkSize );
104
private
:
105
vtkVoxelContoursToSurfaceFilter
(
const
vtkVoxelContoursToSurfaceFilter
&) =
delete
;
106
void
operator=(
const
vtkVoxelContoursToSurfaceFilter
&) =
delete
;
107
};
108
109
#endif
vtkVoxelContoursToSurfaceFilter::SortedXList
double * SortedXList
Definition:
vtkVoxelContoursToSurfaceFilter.h:87
vtkVoxelContoursToSurfaceFilter::WorkingList
int * WorkingList
Definition:
vtkVoxelContoursToSurfaceFilter.h:91
vtkVoxelContoursToSurfaceFilter::IntersectionList
double * IntersectionList
Definition:
vtkVoxelContoursToSurfaceFilter.h:94
vtkVoxelContoursToSurfaceFilter::LineListLength
int LineListLength
Definition:
vtkVoxelContoursToSurfaceFilter.h:84
vtkX3D::type
Definition:
vtkX3D.h:516
vtkVoxelContoursToSurfaceFilter::WorkingListLength
int WorkingListLength
Definition:
vtkVoxelContoursToSurfaceFilter.h:92
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkVoxelContoursToSurfaceFilter::LineListSize
int LineListSize
Definition:
vtkVoxelContoursToSurfaceFilter.h:85
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkVoxelContoursToSurfaceFilter::SortedYList
double * SortedYList
Definition:
vtkVoxelContoursToSurfaceFilter.h:88
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkVoxelContoursToSurfaceFilter::LineList
double * LineList
Definition:
vtkVoxelContoursToSurfaceFilter.h:83
vtkVoxelContoursToSurfaceFilter::MemoryLimitInBytes
int MemoryLimitInBytes
Definition:
vtkVoxelContoursToSurfaceFilter.h:79
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkVoxelContoursToSurfaceFilter::IntersectionListLength
int IntersectionListLength
Definition:
vtkVoxelContoursToSurfaceFilter.h:95
vtkVoxelContoursToSurfaceFilter::SortedListSize
int SortedListSize
Definition:
vtkVoxelContoursToSurfaceFilter.h:89
vtkVoxelContoursToSurfaceFilter
create surface from contours
Definition:
vtkVoxelContoursToSurfaceFilter.h:52
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:44
Generated by
1.8.16