VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
Testing
GenericBridge
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
"
//for module export macro
28
#include "vtkGenericPointIterator.h"
29
30
class
vtkBridgeDataSet
;
31
32
class
VTKTESTINGGENERICBRIDGE_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
vtkBridgePointIteratorOne::cIsAtEnd
int cIsAtEnd
Definition:
vtkBridgePointIteratorOne.h:79
vtkBridgePointIteratorOne::DataSet
vtkBridgeDataSet * DataSet
Definition:
vtkBridgePointIteratorOne.h:77
vtkBridgePointIteratorOne::Id
vtkIdType Id
Definition:
vtkBridgePointIteratorOne.h:78
vtkBridgeDataSet
Implementation of vtkGenericDataSet.
Definition:
vtkBridgeDataSet.h:33
vtkBridgeExport.h
vtkBridgePointIteratorOne
Iterate over one point of a dataset.
Definition:
vtkBridgePointIteratorOne.h:32
Generated on Sat May 10 2014 05:42:50 for VTK by
1.8.6