Open Inventor
Release 2024.2.0
Loading...
Searching...
No Matches
DicomInfo.h
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
19
#include <Medical/InventorMedical.h>
20
#include <Medical/nodes/TextBox.h>
21
22
#include <Inventor/SbString.h>
23
#include <Inventor/fields/SoSFFilePathString.h>
24
25
class
SoVRDicomData
;
26
80
class
INVENTORMEDICAL_API
DicomInfo
:
public
TextBox
{
81
82
SO_NODE_HEADER(
DicomInfo
);
83
84
public
:
89
SoSFFilePathString
fileName
;
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
121
DicomInfo
();
122
123
private
:
125
virtual
~DicomInfo
();
126
127
SbString
m_filename;
128
SoVRDicomData
* m_dicomReader;
129
130
bool
checkFilename();
131
};
132
133
#endif
DicomInfo
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
Definition
DicomInfo.h:80
DicomInfo::displayDicomInfo
int displayDicomInfo(SbString title, SbString infoString)
Add a line to the DICOM annotation.
DicomInfo::initClass
static void initClass()
Initialize the class.
DicomInfo::fileName
SoSFFilePathString fileName
Path to the DICOM file used to extract DICOM info.
Definition
DicomInfo.h:89
DicomInfo::getDicomInfo
SbString getDicomInfo(unsigned short group, unsigned short element)
Returns the string representing the specified DICOM tag (empty if not present).
DicomInfo::DicomInfo
DicomInfo()
Constructor.
DicomInfo::displayDicomInfo
int displayDicomInfo(SbString title, unsigned short group, unsigned short element)
Add a line to the DICOM annotation.
DicomInfo::exitClass
static void exitClass()
Finish using the class.
SbString
Class for smart character strings.
Definition
SbString.h:202
SoSFFilePathString
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Definition
SoSFFilePathString.h:59
SoVRDicomData
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> DICOM data.
Definition
SoVRDicomData.h:63
TextBox
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
Definition
TextBox.h:105
Medical
nodes
DicomInfo.h
Generated by
1.9.8