fw4spl
|
This class defines an IMAGE node in a SR document. More...
#include <DicomSRImageNode.hpp>
Public Member Functions | |
FWGDCMIO_API | DicomSRImageNode (const DicomCodedAttribute &codedAttribute, const std::string &relationship, const std::string &sopClassUID, const std::string &sopInstanceUID, int frameNumber) |
Constructor. | |
virtual FWGDCMIO_API | ~DicomSRImageNode () |
Destructor. | |
virtual FWGDCMIO_API void | write (::gdcm::DataSet &dataset) const |
Write the SR node in the dataset. More... | |
const std::string & | getSOPClassUID () const |
Get SOP Class UID. | |
void | setSOPClassUID (const std::string &sopClassUID) |
Set SOP Class UID. | |
const std::string & | getSOPInstanceUID () const |
Get SOP Instance UID. | |
void | setSOPInstanceUID (const std::string &sopInstanceUID) |
Set SOP Instance UID. | |
const int & | getFrameNumber () const |
Get Frame number. | |
void | setFrameNumber (const int &frameNumber) |
Set Frame number. | |
Public Member Functions inherited from fwGdcmIO::container::sr::DicomSRNode | |
FWGDCMIO_API void | addSubNode (const std::shared_ptr< DicomSRNode > &node) |
Add a sub node. More... | |
const SubNodeContainer & | getSubNodeContainer () const |
Get Sub node container. | |
void | setSubNodeContainer (const SubNodeContainer &subNodeContainer) |
Set Sub node container. | |
const DicomCodedAttribute & | getCodedAttribute () const |
Get Coded attribute. | |
void | setCodedAttribute (const DicomCodedAttribute &codedAttribute) |
Set Coded attribute. | |
const std::string & | getType () const |
Get Type. | |
void | setType (const std::string &type) |
Set Type. | |
const std::string & | getRelationship () const |
Get Relationship. | |
void | setRelationship (const std::string &relationship) |
Set Relationship. | |
Protected Member Functions | |
virtual void | print (std::ostream &os) const |
Dump function. | |
void | writeReferencedSOPSequence (::gdcm::DataSet &dataset) const |
Write a referenced SOP sequence. More... | |
Protected Member Functions inherited from fwGdcmIO::container::sr::DicomSRNode | |
DicomSRNode (const DicomCodedAttribute &codedAttribute, const std::string &type, const std::string &relationship="") | |
Constructor. | |
virtual | ~DicomSRNode () |
Destructor. | |
::gdcm::SmartPointer< ::gdcm::SequenceOfItems > | createConceptNameCodeSequence (const DicomCodedAttribute &codedAttribute) const |
Create a concept name code sequence. More... | |
void | writeContentSequence (::gdcm::DataSet &dataset) const |
Write a content sequence. More... | |
Protected Attributes | |
std::string | m_sopClassUID |
Referenced SOP Class UID (0008,1150) | |
std::string | m_sopInstanceUID |
Referenced SOP Instance UID (0008,1155) | |
int | m_frameNumber |
Referenced Frame Number (0008,1199) | |
Protected Attributes inherited from fwGdcmIO::container::sr::DicomSRNode | |
SubNodeContainer | m_subNodeContainer |
SubNode container. | |
DicomCodedAttribute | m_codedAttribute |
Coded entry of the node. | |
std::string | m_type |
Node type (0040, a040) | |
std::string | m_relationship |
Node relationship (0040, a010) | |
Additional Inherited Members | |
Public Types inherited from fwGdcmIO::container::sr::DicomSRNode | |
typedef std::vector< std::shared_ptr< DicomSRNode > > | SubNodeContainer |
This class defines an IMAGE node in a SR document.
Definition at line 26 of file DicomSRImageNode.hpp.
|
virtual |
Write the SR node in the dataset.
[in] | dataset | Destination dataset |
Reimplemented from fwGdcmIO::container::sr::DicomSRNode.
Definition at line 40 of file DicomSRImageNode.cpp.
References fwGdcmIO::container::sr::DicomSRNode::write(), and writeReferencedSOPSequence().
|
protected |
Write a referenced SOP sequence.
[in] | dataset | Destination dataset |
Definition at line 50 of file DicomSRImageNode.cpp.
References m_frameNumber, m_sopClassUID, and m_sopInstanceUID.
Referenced by write().