VTK
dox
Rendering
SceneGraph
vtkViewNodeCollection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkViewNodeCollection.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
=========================================================================*/
25
#ifndef vtkViewNodeCollection_h
26
#define vtkViewNodeCollection_h
27
28
#include "vtkRenderingSceneGraphModule.h"
// For export macro
29
#include "
vtkCollection.h
"
30
31
class
vtkViewNode
;
32
33
class
VTKRENDERINGSCENEGRAPH_EXPORT
vtkViewNodeCollection
:
34
public
vtkCollection
35
{
36
public
:
37
static
vtkViewNodeCollection
*
New
();
38
vtkTypeMacro(
vtkViewNodeCollection
,
vtkCollection
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
44
void
AddItem
(
vtkViewNode
*a);
45
50
vtkViewNode
*GetNextItem();
51
56
vtkViewNode
*GetNextViewNode(
vtkCollectionSimpleIterator
&cookie);
57
61
bool
IsRenderablePresent(
vtkObject
*obj);
62
63
protected
:
64
vtkViewNodeCollection
() {};
65
~vtkViewNodeCollection
() {};
66
67
private
:
68
// hide the standard AddItem from the user and the compiler.
69
void
AddItem
(
vtkObject
*o)
70
{ this->
vtkCollection::AddItem
(o); }
71
72
vtkViewNodeCollection
(
const
vtkViewNodeCollection
&) =
delete
;
73
void
operator=(
const
vtkViewNodeCollection
&) =
delete
;
74
};
75
76
#endif
vtkViewNodeCollection
collection of view nodes
Definition:
vtkViewNodeCollection.h:33
vtkCollection::New
static vtkCollection * New()
Construct with empty list.
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition:
vtkCollection.h:47
vtkCollection.h
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkViewNodeCollection::vtkViewNodeCollection
vtkViewNodeCollection()
Definition:
vtkViewNodeCollection.h:64
vtkCollection
create and manipulate ordered lists of objects
Definition:
vtkCollection.h:51
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkViewNode
a node within a VTK scene graph
Definition:
vtkViewNode.h:40
vtkCollection::AddItem
void AddItem(vtkObject *)
Add an object to the bottom of the list.
vtkCollection::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkViewNodeCollection::~vtkViewNodeCollection
~vtkViewNodeCollection()
Definition:
vtkViewNodeCollection.h:65
Generated by
1.8.16