------------------------------------------------------------------------------
| 543 | |
| 544 | //------------------------------------------------------------------------------ |
| 545 | void vtkCell::PrintSelf(ostream& os, vtkIndent indent) |
| 546 | { |
| 547 | this->Superclass::PrintSelf(os, indent); |
| 548 | |
| 549 | int numIds = this->PointIds->GetNumberOfIds(); |
| 550 | |
| 551 | os << indent << "Number Of Points: " << numIds << "\n"; |
| 552 | |
| 553 | if (numIds > 0) |
| 554 | { |
| 555 | const double* bounds = this->GetBounds(); |
| 556 | |
| 557 | os << indent << "Bounds: \n"; |
| 558 | os << indent << " Xmin,Xmax: (" << bounds[0] << ", " << bounds[1] << ")\n"; |
| 559 | os << indent << " Ymin,Ymax: (" << bounds[2] << ", " << bounds[3] << ")\n"; |
| 560 | os << indent << " Zmin,Zmax: (" << bounds[4] << ", " << bounds[5] << ")\n"; |
| 561 | |
| 562 | os << indent << " Point ids are: "; |
| 563 | for (int i = 0; i < numIds; i++) |
| 564 | { |
| 565 | os << this->PointIds->GetId(i); |
| 566 | if (i && !(i % 12)) |
| 567 | { |
| 568 | os << "\n\t"; |
| 569 | } |
| 570 | else |
| 571 | { |
| 572 | if (i != (numIds - 1)) |
| 573 | { |
| 574 | os << ", "; |
| 575 | } |
| 576 | } |
| 577 | } |
| 578 | os << indent << "\n"; |
| 579 | } |
| 580 | } |
| 581 | |
| 582 | // Usually overridden. Only composite cells do not override this. |
| 583 | double* vtkCell::GetParametricCoords() |
nothing calls this directly
no test coverage detected