VTK
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
31class vtkViewNode;
32
33class VTKRENDERINGSCENEGRAPH_EXPORT vtkViewNodeCollection :
34 public vtkCollection
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent);
40
45
51
57
62
63protected:
66
67private:
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&) VTK_DELETE_FUNCTION;
73 void operator=(const vtkViewNodeCollection&) VTK_DELETE_FUNCTION;
74};
75
76#endif
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
void AddItem(vtkObject *)
Add an object to the list.
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
collection of view nodes
vtkViewNode * GetNextItem()
Get the next ViewNode in the list.
vtkViewNode * GetNextViewNode(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
static vtkViewNodeCollection * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
bool IsRenderablePresent(vtkObject *obj)
Return true only if we have viewnode for obj.
void AddItem(vtkViewNode *a)
Add a ViewNode to the list.
a node within a VTK scene graph
Definition: vtkViewNode.h:42
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47