#include "vtkEsquiIdList.h" #include "vtkObjectFactory.h" vtkCxxRevisionMacro(vtkEsquiIdList, "$Revision: $0.1"); vtkStandardNewMacro(vtkEsquiIdList); vtkIdType vtkEsquiIdList::Find(vtkIdType valor) { for (vtkIdType i=0; iGetNumberOfIds(); i++) { if (this->GetId(i)==valor) { return i; } } return NULL; } void vtkEsquiIdList::Append(vtkIdType valor) { this->InsertId(this->GetNumberOfIds(),valor); } vtkIdType vtkEsquiIdList::GetCount() { return this->GetNumberOfIds(); } void vtkEsquiIdList::PrintSelf(ostream &os,vtkIndent indent) { this->Superclass::PrintSelf(os,indent); }