VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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
40
#include "
vtkLabelHierarchyIterator.h
"
41
42
class
vtkIdTypeArray
;
43
class
vtkLabelHierarchy
;
44
class
vtkPolyData
;
45
46
class
VTK_RENDERING_EXPORT
vtkLabelHierarchyCompositeIterator
:
public
vtkLabelHierarchyIterator
47
{
48
public
:
49
vtkTypeMacro(
vtkLabelHierarchyCompositeIterator
,
vtkLabelHierarchyIterator
);
50
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
51
static
vtkLabelHierarchyCompositeIterator
*
New
();
52
54
57
virtual
void
AddIterator(
vtkLabelHierarchyIterator
* it)
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
81
virtual
vtkLabelHierarchy
*
GetHierarchy
();
82
86
virtual
void
GetNodeGeometry
(
double
ctr[3],
double
&
size
);
87
89
virtual
void
BoxNode
() { }
90
92
virtual
void
BoxAllNodes
(
vtkPolyData
* ) { }
93
94
protected
:
95
vtkLabelHierarchyCompositeIterator
();
96
virtual
~
vtkLabelHierarchyCompositeIterator
();
97
98
//BTX
99
class
Internal;
100
Internal*
Implementation
;
101
//ETX
102
103
private
:
104
vtkLabelHierarchyCompositeIterator
(
const
vtkLabelHierarchyCompositeIterator
& );
// Not implemented.
105
void
operator = (
const
vtkLabelHierarchyCompositeIterator
& );
// Not implemented.
106
};
107
108
#endif // __vtkLabelHierarchyCompositeIterator_h
Generated on Sun Sep 9 2012 13:03:44 for VTK by
1.8.1.2