44 int Allocate(
const vtkIdType sz,
const int strategy=0);
57 void SetNumberOfIds(
const vtkIdType number);
85 void Reset() {this->NumberOfIds = 0;};
88 void Squeeze() {this->Resize(this->NumberOfIds);};
112 this->IntersectWith(&otherIds); };
135 this->
Ids[i] = vtkid;
void InsertId(const vtkIdType i, const vtkIdType vtkid)
abstract base class for most VTK objects
void SetId(const vtkIdType i, const vtkIdType vtkid)
#define VTKCOMMONCORE_EXPORT
vtkIdType GetNumberOfIds()
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
void IntersectWith(vtkIdList &otherIds)
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
list of point or cell ids
vtkIdType IsId(vtkIdType vtkid)
vtkIdType GetId(const vtkIdType i)
vtkIdType InsertNextId(const vtkIdType vtkid)
vtkIdType * GetPointer(const vtkIdType i)
vtkIdType * Resize(const vtkIdType sz)