#include "vtkEsquiContactCollection.h" #include "vtkObjectFactory.h" #include "vtkContact.h" vtkCxxRevisionMacro(vtkEsquiContactCollection, "$Revision: 0.1 $"); vtkStandardNewMacro(vtkEsquiContactCollection); vtkIdType vtkEsquiContactCollection::Append(vtkContact *a) { this->vtkEsquiCollection::InsertarObjeto((vtkObject *) a); return (this->GetNumberOfItems() -1); } vtkContact* vtkEsquiContactCollection::Item(vtkIdType Posicion) { return static_cast (this->vtkCollection::GetItemAsObject((int)Posicion)); } vtkContact* vtkEsquiContactCollection::GetFirst() { return this->Item(0); } void vtkEsquiContactCollection::PrintSelf(ostream& os, vtkIndent indent) { this->Superclass::PrintSelf(os,indent); } vtkIdType vtkEsquiContactCollection::Find(vtkContact *object) { return this->Superclass::Find((vtkObject*) object); } vtkIdType vtkEsquiContactCollection::IndexOf(vtkContact *object) { return this->Superclass::IndexOf((vtkObject*) object); }