VTK  9.2.6
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 =========================================================================*/
35 #ifndef vtkGESignaReader_h
36 #define vtkGESignaReader_h
37 
38 #include "vtkIOImageModule.h" // For export macro
39 #include "vtkMedicalImageReader2.h"
40 
41 class VTKIOIMAGE_EXPORT vtkGESignaReader : public vtkMedicalImageReader2
42 {
43 public:
44  static vtkGESignaReader* New();
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
51  int CanReadFile(VTK_FILEPATH const char* fname) override;
52 
56  const char* GetFileExtensions() override { return ".MR .CT"; }
57 
61  const char* GetDescriptiveName() override { return "GESigna"; }
62 
63 protected:
64  vtkGESignaReader() = default;
65  ~vtkGESignaReader() override = default;
66 
67  void ExecuteInformation() override;
68  void ExecuteDataWithInformation(vtkDataObject* out, vtkInformation* outInfo) override;
69 
70 private:
71  vtkGESignaReader(const vtkGESignaReader&) = delete;
72  void operator=(const vtkGESignaReader&) = delete;
73 };
74 #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.
virtual int CanReadFile(VTK_FILEPATH const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
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:39
virtual void ExecuteInformation()
const char * GetDescriptiveName() override
A descriptive name for this format.
#define VTK_FILEPATH
vtkImageReader2 with medical meta data.
general representation of visualization data
Definition: vtkDataObject.h:65