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

vtkBridgePointIteratorOne.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkBridgePointIteratorOne.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 =========================================================================*/
00027 #ifndef __vtkBridgePointIteratorOne_h
00028 #define __vtkBridgePointIteratorOne_h
00029 
00030 #include "vtkBridgeExport.h"
00031 #include "vtkGenericPointIterator.h"
00032 
00033 class vtkBridgeDataSet;
00034 
00035 class VTK_BRIDGE_EXPORT vtkBridgePointIteratorOne : public vtkGenericPointIterator
00036 {
00037 public:
00038   static vtkBridgePointIteratorOne *New();
00039   vtkTypeRevisionMacro(vtkBridgePointIteratorOne,vtkGenericPointIterator);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041   
00043   void Begin();
00044 
00046   int IsAtEnd();
00047 
00050   void Next();
00051  
00054   double *GetPosition();
00055 
00058   void GetPosition(double x[3]);
00059   
00062   vtkIdType GetId();
00063   
00065 
00069   void InitWithOnePoint(vtkBridgeDataSet *ds,
00070                         vtkIdType id);
00072   
00073 protected:
00075   vtkBridgePointIteratorOne();
00076   
00078   virtual ~vtkBridgePointIteratorOne();
00079   
00080   vtkBridgeDataSet *DataSet; // the structure on which the objet iterates.
00081   vtkIdType Id; // the id at current position.
00082   int cIsAtEnd;
00083   
00084 private:
00085   vtkBridgePointIteratorOne(const vtkBridgePointIteratorOne&); // Not implemented
00086   void operator=(const vtkBridgePointIteratorOne&); // Not implemented
00087 };
00088 
00089 #endif

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