VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkImplicitFunctionCollection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImplicitFunctionCollection.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
=========================================================================*/
24
#ifndef __vtkImplicitFunctionCollection_h
25
#define __vtkImplicitFunctionCollection_h
26
27
#include "
vtkCollection.h
"
28
29
#include "
vtkImplicitFunction.h
"
// Needed for inline methods
30
31
class
VTK_COMMON_EXPORT
vtkImplicitFunctionCollection
:
public
vtkCollection
32
{
33
public
:
34
vtkTypeMacro(
vtkImplicitFunctionCollection
,
vtkCollection
);
35
static
vtkImplicitFunctionCollection
*
New
();
36
38
void
AddItem
(
vtkImplicitFunction
*);
39
41
vtkImplicitFunction
*GetNextItem();
42
43
//BTX
45
47
vtkImplicitFunction
*GetNextImplicitFunction(
48
vtkCollectionSimpleIterator
&cookie)
49
{
50
return
static_cast<
vtkImplicitFunction
*
>
(
51
this->
GetNextItemAsObject
(cookie));
52
};
53
//ETX
55
56
protected
:
57
vtkImplicitFunctionCollection
() {};
58
~vtkImplicitFunctionCollection
() {};
59
60
61
private
:
62
// hide the standard AddItem from the user and the compiler.
63
void
AddItem
(
vtkObject
*o) { this->
vtkCollection::AddItem
(o); };
64
65
private
:
66
vtkImplicitFunctionCollection
(
const
vtkImplicitFunctionCollection
&);
// Not implemented.
67
void
operator=(
const
vtkImplicitFunctionCollection
&);
// Not implemented.
68
};
69
70
inline
void
vtkImplicitFunctionCollection::AddItem
(
vtkImplicitFunction
*f)
71
{
72
this->
vtkCollection::AddItem
(f);
73
}
74
75
inline
vtkImplicitFunction
*
vtkImplicitFunctionCollection::GetNextItem
()
76
{
77
return
static_cast<
vtkImplicitFunction
*
>
(this->
GetNextItemAsObject
());
78
}
79
80
#endif
Generated on Thu Mar 13 2014 08:09:45 for VTK by
1.8.1.2