#ifndef __vtkEsquiCollection_h #define __vtkEsquiCollection_h #include "vtkCollection.h" #include "vtkesquiComunesWin32Header.h" class vtkOrgan; class VTK_ESQUI_COMUNES_EXPORT vtkEsquiCollection: public vtkCollection { public: vtkTypeRevisionMacro(vtkEsquiCollection,vtkCollection); virtual void PrintSelf(ostream& os, vtkIndent indent); //! Add a Object to the list. void InsertarObjeto(vtkObject *a); //! Returns the position of object. virtual vtkIdType IndexOf(vtkObject *object); //! Returns the position of object. virtual vtkIdType Find(vtkObject *object); //! Delete the node on i position. void DeleteNode(vtkIdType i); //! Returns the number of items. vtkIdType GetCount() {return this->GetNumberOfItems();} //! Returns 1 if the list is empty. int IsEmpty(); protected: // vtkIdType NumeroDeHerramientas; vtkEsquiCollection() {}; ~vtkEsquiCollection() {}; private: //! Hide the standard AddItem from the user and the compiler. void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); } private: vtkEsquiCollection(const vtkEsquiCollection&); // Not implemented. void operator=(const vtkEsquiCollection&); // Not implemented. }; #endif