VTK  9.7.1
vtkGESignaReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
25 #ifndef vtkGESignaReader_h
26 #define vtkGESignaReader_h
27 
28 #include "vtkIOImageModule.h" // For export macro
29 #include "vtkMedicalImageReader2.h"
30 
31 VTK_ABI_NAMESPACE_BEGIN
32 class VTKIOIMAGE_EXPORT vtkGESignaReader : public vtkMedicalImageReader2
33 {
34 public:
35  static vtkGESignaReader* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
43  int CanReadFile(VTK_FILEPATH const char* fname) override;
44 
48  const char* GetFileExtensions() override { return ".MR .CT"; }
49 
53  const char* GetDescriptiveName() override { return "GESigna"; }
54 
55 protected:
56  vtkGESignaReader() = default;
57  ~vtkGESignaReader() override = default;
58 
59  void ExecuteInformation() override;
60  void ExecuteDataWithInformation(vtkDataObject* out, vtkInformation* outInfo) override;
61 
62 private:
63  vtkGESignaReader(const vtkGESignaReader&) = delete;
64  void operator=(const vtkGESignaReader&) = delete;
65 };
66 VTK_ABI_NAMESPACE_END
67 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
read GE Signa ximg files
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
static vtkMedicalImageReader2 * New()
const char * GetFileExtensions() override
Valid extentsions.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual void ExecuteInformation()
const char * GetDescriptiveName() override
A descriptive name for this format.
#define VTK_FILEPATH
virtual int CanReadFile(const char *fname)
Return non zero if the reader can read the given file name.
vtkImageReader2 with medical meta data.
general representation of visualization data
Definition: vtkDataObject.h:55