------------------------------------------------------------------------------
| 737 | |
| 738 | //------------------------------------------------------------------------------ |
| 739 | void vtkImageData::PrintSelf(ostream& os, vtkIndent indent) |
| 740 | { |
| 741 | this->Superclass::PrintSelf(os, indent); |
| 742 | |
| 743 | int idx; |
| 744 | const double* direction = this->GetDirectionMatrix()->GetData(); |
| 745 | |
| 746 | os << indent << "Spacing: (" << this->Spacing[0] << ", " << this->Spacing[1] << ", " |
| 747 | << this->Spacing[2] << ")\n"; |
| 748 | os << indent << "Origin: (" << this->Origin[0] << ", " << this->Origin[1] << ", " |
| 749 | << this->Origin[2] << ")\n"; |
| 750 | os << indent << "Direction: (" << direction[0]; |
| 751 | for (idx = 1; idx < 9; ++idx) |
| 752 | { |
| 753 | os << ", " << direction[idx]; |
| 754 | } |
| 755 | os << ")\n"; |
| 756 | os << indent << "Increments: (" << this->Increments[0] << ", " << this->Increments[1] << ", " |
| 757 | << this->Increments[2] << ")\n"; |
| 758 | os << ")\n"; |
| 759 | } |
| 760 | |
| 761 | //------------------------------------------------------------------------------ |
| 762 | vtkIdType* vtkImageData::GetIncrements() |