Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
DicomInfo.h
Go to the documentation of this file.
1// DICOM annotation utility class
2
4//
5// This class is part of the Open Inventor Medical utility library.
6//
7// The medical utility classes are provided as a prebuilt library named
8// "fei_inventor_medical", that can be used directly in an Open Inventor
9// application. The classes in the prebuilt library are documented and
10// supported by Thermo Fisher Scientific. These classes are also provided as source code.
11//
12// Please see $OIVHOME/include/Medical/InventorMedical.h for the full text.
13//
15
16#ifndef _DICOM_INFO_H_
17#define _DICOM_INFO_H_
18
21
22#include <Inventor/SbString.h>
24
25class SoVRDicomData;
26
81
83
84public:
90
98 int displayDicomInfo( SbString title, unsigned short group, unsigned short element );
99
107 int displayDicomInfo( SbString title, SbString infoString );
108
112 SbString getDicomInfo(unsigned short group, unsigned short element);
113
115 static void initClass();
116
118 static void exitClass();
119
122
123private:
125 virtual ~DicomInfo();
126
127 SbString m_filename;
128 SoVRDicomData* m_dicomReader;
129
130 bool checkFilename();
131};
132
133#endif
#define SO_NODE_HEADER(className)
Definition SoSubNode.h:151
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
Definition DicomInfo.h:80
int displayDicomInfo(SbString title, SbString infoString)
Add a line to the DICOM annotation.
static void initClass()
Initialize the class.
SoSFFilePathString fileName
Path to the DICOM file used to extract DICOM info.
Definition DicomInfo.h:89
SbString getDicomInfo(unsigned short group, unsigned short element)
Returns the string representing the specified DICOM tag (empty if not present).
DicomInfo()
Constructor.
int displayDicomInfo(SbString title, unsigned short group, unsigned short element)
Add a line to the DICOM annotation.
static void exitClass()
Finish using the class.
Class for smart character strings.
Definition SbString.h:202
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> DICOM data.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
Definition TextBox.h:105
#define INVENTORMEDICAL_API
Definition port.h:388