| 124 | } |
| 125 | |
| 126 | const 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 | |
| 146 | void vtkGL2PSExporter::PrintSelf(ostream& os, vtkIndent indent) |
| 147 | { |