VTK
vtkBridgePointIteratorOnCell.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBridgePointIteratorOnCell.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 =========================================================================*/
26 #ifndef vtkBridgePointIteratorOnCell_h
27 #define vtkBridgePointIteratorOnCell_h
28 
29 #include "vtkBridgeExport.h" //for module export macro
31 
32 class vtkBridgeDataSet;
33 class vtkBridgeCell;
34 class vtkIdList;
35 
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44  void Begin();
45 
47  int IsAtEnd();
48 
51  void Next();
52 
55  double *GetPosition();
56 
59  void GetPosition(double x[3]);
60 
64 
68 
69 protected:
72 
75 
76  vtkBridgeDataSet *DataSet; // the structure on which the objet iterates.
77  vtkIdType Cursor; // current position
78 
79  vtkIdList *PtIds; // list of points of the cell
80 
81 private:
83  void operator=(const vtkBridgePointIteratorOnCell&); // Not implemented
84 };
85 
86 #endif
vtkGenericPointIterator
iterator used to traverse points
Definition: vtkGenericPointIterator.h:42
VTKTESTINGGENERICBRIDGE_EXPORT
#define VTKTESTINGGENERICBRIDGE_EXPORT
Definition: vtkTestingGenericBridgeModule.h:15
vtkBridgePointIteratorOnCell::GetId
vtkIdType GetId()
vtkBridgePointIteratorOnCell::InitWithCell
void InitWithCell(vtkBridgeCell *cell)
vtkBridgePointIteratorOnCell::Cursor
vtkIdType Cursor
Definition: vtkBridgePointIteratorOnCell.h:77
vtkBridgePointIteratorOnCell::IsAtEnd
int IsAtEnd()
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkGenericPointIterator.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::x
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
vtkBridgePointIteratorOnCell
Implementation of vtkGenericPointIterator.
Definition: vtkBridgePointIteratorOnCell.h:37
vtkBridgePointIteratorOnCell::Begin
void Begin()
vtkBridgePointIteratorOnCell::Next
void Next()
vtkBridgePointIteratorOnCell::~vtkBridgePointIteratorOnCell
virtual ~vtkBridgePointIteratorOnCell()
vtkBridgePointIteratorOnCell::vtkBridgePointIteratorOnCell
vtkBridgePointIteratorOnCell()
vtkBridgePointIteratorOnCell::GetPosition
double * GetPosition()
vtkBridgePointIteratorOnCell::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkBridgePointIteratorOnCell::New
static vtkBridgePointIteratorOnCell * New()
vtkBridgeExport.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:36
vtkBridgeCell
Implementation of vtkGenericAdaptorCell.
Definition: vtkBridgeCell.h:38
vtkBridgePointIteratorOnCell::GetPosition
void GetPosition(double x[3])
vtkBridgeDataSet
Implementation of vtkGenericDataSet.
Definition: vtkBridgeDataSet.h:34
vtkBridgePointIteratorOnCell::PtIds
vtkIdList * PtIds
Definition: vtkBridgePointIteratorOnCell.h:79
vtkBridgePointIteratorOnCell::DataSet
vtkBridgeDataSet * DataSet
Definition: vtkBridgePointIteratorOnCell.h:76