VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkLoopSubdivisionFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkLoopSubdivisionFilter.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
=========================================================================*/
48
#ifndef __vtkLoopSubdivisionFilter_h
49
#define __vtkLoopSubdivisionFilter_h
50
51
#include "
vtkApproximatingSubdivisionFilter.h
"
52
53
class
vtkPolyData
;
54
class
vtkIntArray
;
55
class
vtkPoints
;
56
class
vtkIdList
;
57
58
class
VTK_GRAPHICS_EXPORT
vtkLoopSubdivisionFilter
:
public
vtkApproximatingSubdivisionFilter
59
{
60
public
:
62
63
static
vtkLoopSubdivisionFilter
*
New
();
64
vtkTypeMacro(
vtkLoopSubdivisionFilter
,
vtkApproximatingSubdivisionFilter
);
66
67
protected
:
68
vtkLoopSubdivisionFilter
() {};
69
~vtkLoopSubdivisionFilter
() {};
70
71
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
72
73
void
GenerateSubdivisionPoints
(
vtkPolyData
*inputDS,
vtkIntArray
*edgeData,
74
vtkPoints
*outputPts,
75
vtkPointData
*outputPD);
76
void
GenerateEvenStencil (
vtkIdType
p1,
vtkPolyData
*polys,
77
vtkIdList
*stencilIds,
double
*weights);
78
void
GenerateOddStencil (
vtkIdType
p1,
vtkIdType
p2,
vtkPolyData
*polys,
79
vtkIdList
*stencilIds,
double
*weights);
80
81
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
82
83
private
:
84
vtkLoopSubdivisionFilter
(
const
vtkLoopSubdivisionFilter
&);
// Not implemented.
85
void
operator=(
const
vtkLoopSubdivisionFilter
&);
// Not implemented.
86
};
87
88
#endif
Generated on Sun Sep 9 2012 13:03:30 for VTK by
1.8.1.2