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

Method PrintSelf

IO/Legacy/vtkDataObjectWriter.cxx:46–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void vtkDataObjectWriter::PrintSelf(ostream& os, vtkIndent indent)
47{
48 this->Superclass::PrintSelf(os, indent);
49
50 os << indent
51 << "File Name: " << (this->Writer->GetFileName() ? this->Writer->GetFileName() : "(none)")
52 << "\n";
53
54 if (this->Writer->GetFileType() == VTK_BINARY)
55 {
56 os << indent << "File Type: BINARY\n";
57 }
58 else
59 {
60 os << indent << "File Type: ASCII\n";
61 }
62
63 if (this->Writer->GetHeader())
64 {
65 os << indent << "Header: " << this->Writer->GetHeader() << "\n";
66 }
67 else
68 {
69 os << indent << "Header: (None)\n";
70 }
71
72 if (this->Writer->GetFieldDataName())
73 {
74 os << indent << "Field Data Name: " << this->Writer->GetFieldDataName() << "\n";
75 }
76 else
77 {
78 os << indent << "Field Data Name: (None)\n";
79 }
80}
81
82int vtkDataObjectWriter::FillInputPortInformation(int, vtkInformation* info)
83{

Callers

nothing calls this directly

Calls 3

GetFileTypeMethod · 0.80
GetHeaderMethod · 0.80
GetFileNameMethod · 0.45

Tested by

no test coverage detected