plastimatch
Loading...
Searching...
No Matches
dcmtk_util.h File Reference
#include "plmbase_config.h"
#include <vector>
#include "dcmtk/dcmdata/dcitem.h"
#include "dcmtk/dcmdata/dctag.h"
#include "dcmtk/ofstd/ofcond.h"

Go to the source code of this file.

Functions

void dcmtk_get_date_time (std::string *date, std::string *time)
 
template<class T >
OFCondition dcmtk_put (DcmItem *, const DcmTag &, T)
 
OFCondition dcmtk_put (DcmItem *, const DcmTag &, const std::string &)
 
OFCondition dcmtk_put (DcmItem *, const DcmTag &, const char *)
 
OFCondition dcmtk_get_ds_float (DcmItem *item, const DcmTag &tag, float *s)
 
OFCondition dcmtk_get_ds_float2 (DcmItem *item, const DcmTag &tag, float *s)
 
OFCondition dcmtk_get_ds_float3 (DcmItem *item, const DcmTag &tag, float *s)
 
OFCondition dcmtk_get_ds_float_vec (DcmItem *item, const DcmTag &tag, std::vector< float > *f)
 

Function Documentation

◆ dcmtk_get_date_time()

void dcmtk_get_date_time ( std::string * date,
std::string * time )

◆ dcmtk_get_ds_float()

OFCondition dcmtk_get_ds_float ( DcmItem * item,
const DcmTag & tag,
float * s )

◆ dcmtk_get_ds_float2()

OFCondition dcmtk_get_ds_float2 ( DcmItem * item,
const DcmTag & tag,
float * s )

◆ dcmtk_get_ds_float3()

OFCondition dcmtk_get_ds_float3 ( DcmItem * item,
const DcmTag & tag,
float * s )

◆ dcmtk_get_ds_float_vec()

OFCondition dcmtk_get_ds_float_vec ( DcmItem * item,
const DcmTag & tag,
std::vector< float > * f )

◆ dcmtk_put() [1/3]

OFCondition dcmtk_put ( DcmItem * item,
const DcmTag & tag,
const char * s )

◆ dcmtk_put() [2/3]

OFCondition dcmtk_put ( DcmItem * item,
const DcmTag & tag,
const std::string & s )

◆ dcmtk_put() [3/3]

template<class T >
OFCondition dcmtk_put ( DcmItem * item,
const DcmTag & tag,
T t )