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

Method GetGL2PSFormat

IO/ExportGL2PS/vtkGL2PSExporter.cxx:106–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106int vtkGL2PSExporter::GetGL2PSFormat()
107{
108 switch (this->FileFormat)
109 {
110 default:
111 vtkDebugMacro(<< "Invalid output format. Using postscript.");
112 [[fallthrough]];
113 case PS_FILE:
114 return GL2PS_PS;
115 case EPS_FILE:
116 return GL2PS_EPS;
117 case PDF_FILE:
118 return GL2PS_PDF;
119 case TEX_FILE:
120 return GL2PS_TEX;
121 case SVG_FILE:
122 return GL2PS_SVG;
123 }
124}
125
126const char* vtkGL2PSExporter::GetFileExtension()
127{

Callers 1

WriteDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected