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