Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkTagTableCollection.h
Go to the documentation of this file.
1 #ifndef __vtkTagTableCollection_h
2 #define __vtkTagTableCollection_h
3 
4 // MRML includes
5 #include "vtkMRML.h"
6 class vtkTagTable;
7 
8 // VTK includes
9 #include <vtkCollection.h>
10 
11 class VTK_MRML_EXPORT vtkTagTableCollection : public vtkCollection
12 {
13 public:
14  static vtkTagTableCollection *New();
15  vtkTypeMacro(vtkTagTableCollection, vtkCollection);
16  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
17 
18  vtkTagTable * FindTagTableByName ( const char *name );
19  void AddTableByName ( vtkTagTable *t, const char *name );
20  void DeleteTableByName ( const char *name );
21  void ClearAllTagTables ( );
22  void SetRestoreSelectionStateForAllTables ( int val);
23 
26  void AddItem ( vtkTagTable *t ) {
27  this->vtkCollection::AddItem ( (vtkObject *)t); };
28 
32  vtkTagTable *GetNextTable();
33 
38  vtkTagTable *GetNextItem() { return this->GetNextTable(); };
39 
43  vtkTagTable *GetNextTable(vtkCollectionSimpleIterator &cookie);
44 
45  protected:
48 
50  void AddItem (vtkObject *o ) { this->vtkCollection::AddItem(o); } ;
51 
53  void operator=(const vtkTagTableCollection&); private:
54 };
55 
56 #endif
void AddItem(vtkTagTable *t)
Add a Tag Table to the list.
void AddItem(vtkObject *o)
hide the standard AddItem from the user and compiler.