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