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

Method PrintSelf

Common/DataModel/vtkImageData.cxx:739–759  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

737
738//------------------------------------------------------------------------------
739void 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//------------------------------------------------------------------------------
762vtkIdType* vtkImageData::GetIncrements()

Callers

nothing calls this directly

Calls 1

GetDataMethod · 0.45

Tested by

no test coverage detected