VTK  9.0.1
vtkGESignaReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGESignaReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
32 #ifndef vtkGESignaReader_h
33 #define vtkGESignaReader_h
34 
35 #include "vtkIOImageModule.h" // For export macro
36 #include "vtkMedicalImageReader2.h"
37 
38 class VTKIOIMAGE_EXPORT vtkGESignaReader : public vtkMedicalImageReader2
39 {
40 public:
41  static vtkGESignaReader* New();
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
48  int CanReadFile(const char* fname) override;
49 
53  const char* GetFileExtensions() override { return ".MR .CT"; }
54 
58  const char* GetDescriptiveName() override { return "GESigna"; }
59 
60 protected:
62  ~vtkGESignaReader() override {}
63 
64  void ExecuteInformation() override;
66 
67 private:
68  vtkGESignaReader(const vtkGESignaReader&) = delete;
69  void operator=(const vtkGESignaReader&) = delete;
70 };
71 #endif
general representation of visualization data
Definition: vtkDataObject.h:60
read GE Signa ximg files
~vtkGESignaReader() override
void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int CanReadFile(const char *fname) override
Is the given file a GESigna file?
const char * GetFileExtensions() override
Valid extentsions.
const char * GetDescriptiveName() override
A descriptive name for this format.
void ExecuteInformation() override
static vtkGESignaReader * New()
a simple class to control print indentation
Definition: vtkIndent.h:34
Store vtkAlgorithm input/output information.
vtkImageReader2 with medical meta data.