VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GenericFiltering
Testing
Cxx
vtkBridgePointIteratorOne.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBridgePointIteratorOne.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 __vtkBridgePointIteratorOne_h
25
#define __vtkBridgePointIteratorOne_h
26
27
#include "
vtkBridgeExport.h
"
28
#include "
vtkGenericPointIterator.h
"
29
30
class
vtkBridgeDataSet
;
31
32
class
VTK_BRIDGE_EXPORT
vtkBridgePointIteratorOne
:
public
vtkGenericPointIterator
33
{
34
public
:
35
static
vtkBridgePointIteratorOne
*
New
();
36
vtkTypeMacro(
vtkBridgePointIteratorOne
,
vtkGenericPointIterator
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
void
Begin
();
41
43
int
IsAtEnd
();
44
47
void
Next
();
48
51
double
*
GetPosition
();
52
55
void
GetPosition
(
double
x[3]);
56
59
vtkIdType
GetId
();
60
62
66
void
InitWithOnePoint(
vtkBridgeDataSet
*ds,
67
vtkIdType
id
);
69
70
protected
:
72
vtkBridgePointIteratorOne
();
73
75
virtual
~
vtkBridgePointIteratorOne
();
76
77
vtkBridgeDataSet
*
DataSet
;
// the structure on which the objet iterates.
78
vtkIdType
Id
;
// the id at current position.
79
int
cIsAtEnd
;
80
81
private
:
82
vtkBridgePointIteratorOne
(
const
vtkBridgePointIteratorOne
&);
// Not implemented
83
void
operator=(
const
vtkBridgePointIteratorOne
&);
// Not implemented
84
};
85
86
#endif
Generated on Wed Nov 21 2012 21:33:46 for VTK by
1.8.2