VTK
9.0.1
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
=========================================================================*/
22
#ifndef vtkViewNodeCollection_h
23
#define vtkViewNodeCollection_h
24
25
#include "
vtkCollection.h
"
26
#include "vtkRenderingSceneGraphModule.h"
// For export macro
27
28
class
vtkViewNode
;
29
30
class
VTKRENDERINGSCENEGRAPH_EXPORT
vtkViewNodeCollection
:
public
vtkCollection
31
{
32
public
:
33
static
vtkViewNodeCollection
*
New
();
34
vtkTypeMacro(
vtkViewNodeCollection
,
vtkCollection
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
36
40
void
AddItem
(
vtkViewNode
* a);
41
46
vtkViewNode
* GetNextItem();
47
52
vtkViewNode
* GetNextViewNode(
vtkCollectionSimpleIterator
& cookie);
53
57
bool
IsRenderablePresent(
vtkObject
* obj);
58
59
protected
:
60
vtkViewNodeCollection
() {}
61
~vtkViewNodeCollection
()
override
{}
62
63
private
:
64
// hide the standard AddItem from the user and the compiler.
65
void
AddItem
(
vtkObject
* o) { this->
vtkCollection::AddItem
(o); }
66
67
vtkViewNodeCollection
(
const
vtkViewNodeCollection
&) =
delete
;
68
void
operator=(
const
vtkViewNodeCollection
&) =
delete
;
69
};
70
71
#endif
vtkViewNodeCollection
collection of view nodes
Definition:
vtkViewNodeCollection.h:30
vtkCollection::New
static vtkCollection * New()
Construct with empty list.
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition:
vtkCollection.h:48
vtkCollection.h
vtkViewNodeCollection::~vtkViewNodeCollection
~vtkViewNodeCollection() override
Definition:
vtkViewNodeCollection.h:61
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkViewNodeCollection::vtkViewNodeCollection
vtkViewNodeCollection()
Definition:
vtkViewNodeCollection.h:60
vtkCollection
create and manipulate ordered lists of objects
Definition:
vtkCollection.h:52
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkViewNode
a node within a VTK scene graph
Definition:
vtkViewNode.h:37
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.
Generated on Thu Jun 25 2020 08:31:01 for VTK by
1.8.17