VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkPolyDataCollection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPolyDataCollection.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
=========================================================================*/
25
#ifndef __vtkPolyDataCollection_h
26
#define __vtkPolyDataCollection_h
27
28
#include "
vtkCollection.h
"
29
30
#include "
vtkPolyData.h
"
// Needed for static cast
31
32
class
VTK_FILTERING_EXPORT
vtkPolyDataCollection
:
public
vtkCollection
33
{
34
public
:
35
static
vtkPolyDataCollection
*
New
();
36
vtkTypeMacro(
vtkPolyDataCollection
,
vtkCollection
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
41
void
AddItem
(
vtkPolyData
*pd)
42
{
43
this->
vtkCollection::AddItem
(pd);
44
}
46
48
49
vtkPolyData
*
GetNextItem
() {
50
return
static_cast<
vtkPolyData
*
>
(this->
GetNextItemAsObject
());};
52
53
//BTX
55
57
vtkPolyData
*
GetNextPolyData
(
vtkCollectionSimpleIterator
&cookie) {
58
return
static_cast<
vtkPolyData
*
>
(this->
GetNextItemAsObject
(cookie));};
59
//ETX
61
62
protected
:
63
vtkPolyDataCollection
() {};
64
~vtkPolyDataCollection
() {};
65
66
private
:
67
// hide the standard AddItem from the user and the compiler.
68
void
AddItem
(
vtkObject
*o) { this->
vtkCollection::AddItem
(o); };
69
70
private
:
71
vtkPolyDataCollection
(
const
vtkPolyDataCollection
&);
// Not implemented.
72
void
operator=(
const
vtkPolyDataCollection
&);
// Not implemented.
73
};
74
75
76
#endif
Generated on Sun Sep 9 2012 13:03:28 for VTK by
1.8.1.2