fw4spl
|
This class defines a SCOORD3D node in a SR document. More...
#include <DicomSRSCoord3DNode.hpp>
Public Types | |
typedef std::vector< float > | GraphicDataContainerType |
Public Types inherited from fwGdcmIO::container::sr::DicomSRNode | |
typedef std::vector< std::shared_ptr< DicomSRNode > > | SubNodeContainer |
Public Member Functions | |
FWGDCMIO_API | DicomSRSCoord3DNode (const DicomCodedAttribute &codedAttribute, const std::string &relationship, const std::string &graphicType, const GraphicDataContainerType graphicDataContainer, const std::string &frameOfReferenceUID) |
Constructor. | |
virtual FWGDCMIO_API | ~DicomSRSCoord3DNode () |
Destructor. | |
virtual FWGDCMIO_API void | write (::gdcm::DataSet &dataset) const |
Write the SR node in the dataset. More... | |
const std::string & | getFrameOfReferenceUID () const |
Get Frame of reference UID. | |
void | setFrameOfReferenceUID (const std::string &frameOfReferenceUID) |
Set Frame of reference UID. | |
const std::string & | getGraphicType () const |
Get Graphic type. | |
void | setGraphicType (const std::string &graphicType) |
Set Graphic type. | |
const GraphicDataContainerType & | getGraphicDataContainer () const |
Get Graphic data container. | |
void | setGraphicDataContainer (const GraphicDataContainerType &graphicDataContainer) |
Set Graphic data container. | |
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. | |
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_frameOfReferenceUID |
Referenced Frame of Reference UID. | |
std::string | m_graphicType |
Graphic Type. | |
GraphicDataContainerType | m_graphicDataContainer |
Graphic Data. | |
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) | |
This class defines a SCOORD3D node in a SR document.
Definition at line 26 of file DicomSRSCoord3DNode.hpp.
|
virtual |
Write the SR node in the dataset.
[in] | dataset | Destination dataset |
Reimplemented from fwGdcmIO::container::sr::DicomSRNode.
Definition at line 51 of file DicomSRSCoord3DNode.cpp.
References m_frameOfReferenceUID, m_graphicDataContainer, m_graphicType, and fwGdcmIO::container::sr::DicomSRNode::write().