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

Method GetFileExtension

IO/ExportGL2PS/vtkGL2PSExporter.cxx:126–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126const char* vtkGL2PSExporter::GetFileExtension()
127{
128 switch (this->FileFormat)
129 {
130 default:
131 vtkDebugMacro(<< "Invalid output format. Using postscript.");
132 [[fallthrough]];
133 case PS_FILE:
134 return "ps";
135 case EPS_FILE:
136 return "eps";
137 case PDF_FILE:
138 return "pdf";
139 case TEX_FILE:
140 return "tex";
141 case SVG_FILE:
142 return "svg";
143 }
144}
145
146void vtkGL2PSExporter::PrintSelf(ostream& os, vtkIndent indent)
147{

Callers 1

WriteDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected