/usr/include/vtkDICOMMRGenerator.h is in libvtk-dicom0.5-dev 0.5.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | /*=========================================================================
Program: DICOM for VTK
Copyright (c) 2012-2014 David Gobbi
All rights reserved.
See Copyright.txt or http://dgobbi.github.io/bsd3.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __vtkDICOMMRGenerator_h
#define __vtkDICOMMRGenerator_h
#include "vtkDICOMModule.h"
#include "vtkDICOMGenerator.h"
//! Generate DICOM data objects for MR images.
/*!
* Generate a DICOM data set belonging to one of the MR SOP classes.
* The assumption is that images have been read into VTK as MR, and
* are being written out as derived images after being processed.
* The specific IOD classes supported are as follows:
* - MR Image, 1.2.840.10008.5.1.4.1.1.4
*/
class VTK_DICOM_EXPORT vtkDICOMMRGenerator : public vtkDICOMGenerator
{
public:
//! Static method for construction.
static vtkDICOMMRGenerator *New();
vtkTypeMacro(vtkDICOMMRGenerator, vtkDICOMGenerator);
//! Print information about this object.
virtual void PrintSelf(ostream& os, vtkIndent indent);
//! Generate an instance of one of the supported classes.
/*!
* This is the primary interface method of this class. Given the
* information for a vtkImageData object, it will populate the
* attributes of the supplied vtkDICOMMetaData object.
*/
virtual bool GenerateInstance(vtkInformation *info);
protected:
vtkDICOMMRGenerator();
~vtkDICOMMRGenerator();
//! Generate the Series Module.
virtual bool GenerateMRSeriesModule(vtkDICOMMetaData *source);
//! Generate the Image Module.
virtual bool GenerateMRImageModule(vtkDICOMMetaData *source);
//! Instantiate a DICOM Secondary Capture Image object.
virtual bool GenerateMRInstance(vtkInformation *info);
private:
vtkDICOMMRGenerator(const vtkDICOMMRGenerator&); // Not implemented.
void operator=(const vtkDICOMMRGenerator&); // Not implemented.
};
#endif // __vtkDICOMMRGenerator_h
|