fw4spl
|
This class adds patient(s) from DICOM file(s) to fwData::SeriesDB. More...
#include <SeriesDB.hpp>
Public Types | |
typedef std::vector< std::shared_ptr< ::fwMedData::DicomSeries > > | DicomSeriesContainerType |
typedef std::vector< std::string > | FilenameContainerType |
typedef std::vector< std::string > | SupportedSOPClassContainerType |
Public Types inherited from fwDataIO::reader::GenericObjectReader< ::fwMedData::SeriesDB > | |
typedef ::fwMedData::SeriesDB | DataType |
the object type related | |
Public Types inherited from fwDataIO::reader::IObjectReader | |
typedef std::function< void(std::uint64_t) > | ProgressCallback |
typedef std::function< void() > | CancelCallback |
typedef ::fwDataIO::reader::factory::Key | Key |
Public Types inherited from fwCom::HasSignals | |
typedef std::shared_ptr< HasSignals > | sptr |
typedef std::shared_ptr< const HasSignals > | csptr |
Public Member Functions | |
virtual bool | isA (const std::string &type) const override |
FWGDCMIO_API | SeriesDB (::fwDataIO::reader::IObjectReader::Key key) |
Constructor. | |
FWGDCMIO_API | ~SeriesDB () |
Destructor. | |
FWGDCMIO_API void | read () override |
Reads DICOM data from configured path and fills SeriesDB object. | |
FWGDCMIO_API void | readFromDicomSeriesDB (const ::fwMedData::SeriesDB::csptr &dicomSeriesDB, const ::fwServices::IService::sptr ¬ifier=::fwServices::IService::sptr()) |
Reads DICOM data from DicomSeries and fills SeriesDB object. More... | |
FWGDCMIO_API void | readDicomSeries () |
Reads DICOM data from configured path and fills SeriesDB object with DicomSeries. | |
FWGDCMIO_API bool | isDicomDirAvailable () |
Return true if a dicomdir file can be read. | |
FWGDCMIO_API DicomSeriesContainerType & | getDicomSeries () |
Return DicomSeries container. | |
const bool & | getDicomdirActivated () const |
Get Set whether the reader must use the dicomdir file or not. | |
void | setDicomdirActivated (const bool &isDicomdirActivated) |
Set Set whether the reader must use the dicomdir file or not. | |
const std::string & | getDicomFilterType () const |
Get Dicom filter type that must be applied prior to the reading process. | |
void | setDicomFilterType (const std::string &dicomFilterType) |
Set Dicom filter type that must be applied prior to the reading process. | |
const SupportedSOPClassContainerType & | getSupportedSOPClassContainer () const |
Get Supported SOP Class. | |
void | setSupportedSOPClassContainer (const SupportedSOPClassContainerType &supportedSOPClassContainer) |
Set Supported SOP Class. | |
const ::fwLog::Logger::sptr & | getLogger () const |
Get Logger. | |
void | setLogger (const ::fwLog::Logger::sptr &logger) |
Set Logger. | |
FWGDCMIO_API std::shared_ptr< ::fwJobs::IJob > | getJob () const override |
Getter for reader's job. | |
void | setBufferRotationEnabled (bool enabled) |
Enable buffer rotation. | |
Public Member Functions inherited from fwDataIO::reader::GenericObjectReader< ::fwMedData::SeriesDB > | |
GenericObjectReader () | |
Constructor. Do nothing. | |
virtual std::string | extension () override |
virtual | ~GenericObjectReader () |
Destructor. Do nothing. | |
virtual void | setObject (::fwTools::Object::sptr obj) override |
m_object setter. More... | |
virtual std::shared_ptr< DataType > | getConcreteObject () |
m_object getter. More... | |
Public Member Functions inherited from fwDataIO::reader::IObjectReader | |
virtual FWDATAIO_API::fwTools::Object::sptr | getObject () |
m_object getter. More... | |
virtual FWDATAIO_API void | setLocation (const ::fwData::location::ILocation::sptr _location) |
m_location setter. More... | |
virtual FWDATAIO_API::fwData::location::ILocation::sptr | getLocation () |
m_location getter. More... | |
FWDATAIO_API void | cancel () |
Requests reader abortion. | |
Public Member Functions inherited from fwCore::BaseObject | |
Public Member Functions inherited from fwData::location::enableFolder< ::fwDataIO::reader::IObjectReader > | |
enableFolder (::fwDataIO::reader::IObjectReader *rw) | |
constructor More... | |
void | setFolder (ILocation::PathType folder) |
Set folder filesystem path. | |
ILocation::PathType | getFolder () |
Get folder filesystem path. | |
void | setRecursive (bool val) |
Set the flag if folder location is recursive. | |
bool | getRecursive () |
Get the flag if folder location is recursive. | |
Public Member Functions inherited from fwData::location::enableMultiFiles< ::fwDataIO::reader::IObjectReader > | |
enableMultiFiles (::fwDataIO::reader::IObjectReader *rw) | |
constructor More... | |
void | setFiles (ILocation::VectPathType paths) |
Set file system paths. | |
ILocation::VectPathType | getFiles () |
Get file system paths. | |
Public Member Functions inherited from fwCom::HasSignals | |
std::shared_ptr< SignalBase > | signal (const Signals::SignalKeyType &key) const |
template<typename SignalType > | |
std::shared_ptr< SignalType > | signal (const Signals::SignalKeyType &key) const |
template<typename SignalType > | |
std::shared_ptr< SignalType > | newSignal (const Signals::SignalKeyType &key) |
Static Public Member Functions | |
static bool | isTypeOf (const std::string &type) |
Static Public Member Functions inherited from fwDataIO::reader::GenericObjectReader< ::fwMedData::SeriesDB > | |
static bool | isTypeOf (const std::string &type) |
static const std::string & | classname () |
return full object's classname with its namespace, i.e. fwCore::BaseObject | |
Static Public Member Functions inherited from fwDataIO::reader::IObjectReader | |
static bool | isTypeOf (const std::string &type) |
static const std::string & | leafClassname () |
return object's classname without its namespace, i.e. BaseObject | |
static const std::string & | classname () |
return object's classname without its namespace, i.e. BaseObject | |
Static Public Member Functions inherited from fwCore::BaseObject | |
static bool | isTypeOf (const std::string &type) |
static const std::string & | leafClassname () |
return object's classname without its namespace, i.e. BaseObject | |
static const std::string & | classname () |
return object's classname without its namespace, i.e. BaseObject | |
Friends | |
template<class , class , class > | |
class | ::fwTools::ClassFactory |
class | ::fwTools::Factory |
Demangling methods | |
virtual const std::string & | getLeafClassname () const override |
return object's classname without its namespace, i.e. BaseObject | |
virtual const std::string & | getClassname () const override |
return full object's classname with its namespace, i.e. fwCore::BaseObject | |
static const std::string & | leafClassname () |
return object's classname without its namespace, i.e. BaseObject | |
static const std::string & | classname () |
return object's classname without its namespace, i.e. BaseObject | |
Additional Inherited Members | |
Protected Member Functions inherited from fwDataIO::reader::IObjectReader | |
FWDATAIO_API | IObjectReader () |
Constructor. Do nothing. | |
virtual FWDATAIO_API | ~IObjectReader () |
Destructor. Do nothing. | |
Protected Member Functions inherited from fwCom::HasSignals | |
HasSignals (const HasSignals &) | |
Copy constructor forbidden. | |
HasSignals & | operator= (const HasSignals &) |
Copy operator forbidden. | |
Protected Attributes inherited from fwDataIO::reader::IObjectReader | |
::fwTools::Object::wptr | m_object |
Object result of reading process. More... | |
::fwData::location::ILocation::sptr | m_location |
Object location ( file path, directory path, url, etc ) | |
Protected Attributes inherited from fwCom::HasSignals | |
Signals | m_signals |
This class adds patient(s) from DICOM file(s) to fwData::SeriesDB.
Definition at line 40 of file io/fwGdcmIO/include/fwGdcmIO/reader/SeriesDB.hpp.
void fwGdcmIO::reader::SeriesDB::readFromDicomSeriesDB | ( | const ::fwMedData::SeriesDB::csptr & | dicomSeriesDB, |
const ::fwServices::IService::sptr & | notifier = ::fwServices::IService::sptr() |
||
) |
Reads DICOM data from DicomSeries and fills SeriesDB object.
[in] | dicomSeriesDB | SeriesDB containing DicomSeries that must be read |
[in] | notifier | Service used to notify changes in SeriesDB |
Definition at line 263 of file io/fwGdcmIO/src/fwGdcmIO/reader/SeriesDB.cpp.
References fwDicomIOFilter::helper::Filter::applyFilter(), and SLM_ASSERT.