MCPcopy Create free account
hub / github.com/Kitware/VTK / PrintSelf

Method PrintSelf

Common/DataModel/vtkDataSet.cxx:988–1007  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

986
987//------------------------------------------------------------------------------
988void vtkDataSet::PrintSelf(ostream& os, vtkIndent indent)
989{
990 this->Superclass::PrintSelf(os, indent);
991
992 os << indent << "Number Of Points: " << this->GetNumberOfPoints() << "\n";
993 os << indent << "Number Of Cells: " << this->GetNumberOfCells() << "\n";
994
995 os << indent << "Cell Data:\n";
996 this->CellData->PrintSelf(os, indent.GetNextIndent());
997
998 os << indent << "Point Data:\n";
999 this->PointData->PrintSelf(os, indent.GetNextIndent());
1000
1001 const double* bounds = this->GetBounds();
1002 os << indent << "Bounds: \n";
1003 os << indent << " Xmin,Xmax: (" << bounds[0] << ", " << bounds[1] << ")\n";
1004 os << indent << " Ymin,Ymax: (" << bounds[2] << ", " << bounds[3] << ")\n";
1005 os << indent << " Zmin,Zmax: (" << bounds[4] << ", " << bounds[5] << ")\n";
1006 os << indent << "Compute Time: " << this->ComputeTime.GetMTime() << "\n";
1007}
1008
1009//------------------------------------------------------------------------------
1010bool vtkDataSet::HasAnyGhostPoints()

Callers

nothing calls this directly

Calls 5

GetBoundsMethod · 0.95
GetNextIndentMethod · 0.80
GetNumberOfPointsMethod · 0.45
GetNumberOfCellsMethod · 0.45
GetMTimeMethod · 0.45

Tested by

no test coverage detected