VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkSpatialRepresentationFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSpatialRepresentationFilter.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
=========================================================================*/
58
#ifndef __vtkSpatialRepresentationFilter_h
59
#define __vtkSpatialRepresentationFilter_h
60
61
#include "
vtkPolyDataSource.h
"
62
63
#define VTK_MAX_SPATIAL_REP_LEVEL 24
64
65
class
vtkLocator
;
66
class
vtkDataSet
;
67
68
class
VTK_GRAPHICS_EXPORT
vtkSpatialRepresentationFilter
:
public
vtkPolyDataSource
69
{
70
public
:
71
static
vtkSpatialRepresentationFilter
*
New
();
72
vtkTypeMacro(
vtkSpatialRepresentationFilter
,
vtkPolyDataSource
);
73
void
PrintSelf
(ostream& os,
vtkIndent
indent);
74
76
77
virtual
void
SetSpatialRepresentation(
vtkLocator
*);
78
vtkGetObjectMacro(SpatialRepresentation,
vtkLocator
);
80
82
83
vtkGetMacro(Level,
int
);
85
88
vtkPolyData
*
GetOutput
(
int
level
);
89
91
vtkPolyData
*
GetOutput
();
92
94
void
ResetOutput();
95
97
98
virtual
void
SetInput(
vtkDataSet
*input);
99
vtkDataSet
*GetInput();
101
102
protected
:
103
vtkSpatialRepresentationFilter
();
104
~
vtkSpatialRepresentationFilter
();
105
106
void
Execute
();
107
void
GenerateOutput();
108
109
int
Level
;
110
int
TerminalNodesRequested
;
111
112
vtkLocator
*
SpatialRepresentation
;
113
114
virtual
void
ReportReferences
(
vtkGarbageCollector
*);
115
virtual
int
FillInputPortInformation
(
int
,
vtkInformation
*);
116
private
:
117
vtkSpatialRepresentationFilter
(
const
vtkSpatialRepresentationFilter
&);
// Not implemented.
118
void
operator=(
const
vtkSpatialRepresentationFilter
&);
// Not implemented.
119
};
120
121
#endif
122
123
Generated on Fri Aug 2 2013 12:19:50 for VTK by
1.8.4