VTK
vtkLabelHierarchyCompositeIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLabelHierarchyCompositeIterator.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
36 #ifndef __vtkLabelHierarchyCompositeIterator_h
37 #define __vtkLabelHierarchyCompositeIterator_h
38 
39 
41 
42 class vtkIdTypeArray;
43 class vtkLabelHierarchy;
44 class vtkPolyData;
45 
47 {
48 public:
50  virtual void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
58  { this->AddIterator(it, 1); }
59  virtual void AddIterator(vtkLabelHierarchyIterator* it, int count);
61 
63  virtual void ClearIterators();
64 
69  virtual void Begin( vtkIdTypeArray* );
70 
72  virtual void Next();
73 
75  virtual bool IsAtEnd();
76 
78  virtual vtkIdType GetLabelId();
79 
82 
86  virtual void GetNodeGeometry( double ctr[3], double& size );
87 
89  virtual void BoxNode() { }
90 
92  virtual void BoxAllNodes( vtkPolyData* ) { }
93 
94 protected:
97 
98  //BTX
99  class Internal;
100  Internal* Implementation;
101  //ETX
102 
103 private:
105  void operator = ( const vtkLabelHierarchyCompositeIterator& ); // Not implemented.
106 };
107 
108 #endif // __vtkLabelHierarchyCompositeIterator_h