Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkBridgePointIteratorOnCell.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkBridgePointIteratorOnCell.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00024 #ifndef __vtkBridgePointIteratorOnCell_h
00025 #define __vtkBridgePointIteratorOnCell_h
00026 
00027 #include "vtkBridgeExport.h"
00028 #include "vtkGenericPointIterator.h"
00029 
00030 class vtkBridgeDataSet;
00031 class vtkBridgeCell;
00032 class vtkIdList;
00033 
00034 class VTK_BRIDGE_EXPORT vtkBridgePointIteratorOnCell : public vtkGenericPointIterator
00035 {
00036 public:
00037   static vtkBridgePointIteratorOnCell *New();
00038   vtkTypeRevisionMacro(vtkBridgePointIteratorOnCell,vtkGenericPointIterator);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040   
00042   void Begin();
00043 
00045   int IsAtEnd();
00046 
00049   void Next();
00050  
00053   double *GetPosition();
00054 
00057   void GetPosition(double x[3]);
00058   
00061   vtkIdType GetId();
00062   
00065   void InitWithCell(vtkBridgeCell *cell);
00066   
00067 protected:
00069   vtkBridgePointIteratorOnCell();
00070   
00072   virtual ~vtkBridgePointIteratorOnCell();
00073   
00074   vtkBridgeDataSet *DataSet; // the structure on which the objet iterates.
00075   vtkIdType Cursor; // current position
00076  
00077   vtkIdList *PtIds; // list of points of the cell
00078   
00079 private:
00080   vtkBridgePointIteratorOnCell(const vtkBridgePointIteratorOnCell&); // Not implemented
00081   void operator=(const vtkBridgePointIteratorOnCell&); // Not implemented
00082 };
00083 
00084 #endif

Generated on Mon Jan 21 23:07:22 2008 for VTK by  doxygen 1.4.3-20050530