------------------------------------------------------------------------------
| 558 | |
| 559 | //------------------------------------------------------------------------------ |
| 560 | void vtkPolyData::Cleanup() |
| 561 | { |
| 562 | this->Verts = nullptr; |
| 563 | this->Lines = nullptr; |
| 564 | this->Polys = nullptr; |
| 565 | this->Strips = nullptr; |
| 566 | |
| 567 | this->Cells = nullptr; |
| 568 | this->Links = nullptr; |
| 569 | } |
| 570 | |
| 571 | //------------------------------------------------------------------------------ |
| 572 | // Restore object to initial state. Release memory back to system. |