9 #include "ioDicom/config.hpp" 11 #include <fwCom/Slot.hpp> 13 #include <fwGui/editor/IEditor.hpp> 15 #include <fwIO/IReader.hpp> 17 #include <boost/asio/deadline_timer.hpp> 18 #include <boost/asio/io_service.hpp> 19 #include <boost/filesystem/path.hpp> 88 IODICOM_API
static const ::fwCom::Slots::SlotKeyType s_READ_IMAGE_SLOT;
91 IODICOM_API
static const ::fwCom::Slots::SlotKeyType s_DISPLAY_MESSAGE_SLOT;
107 IODICOM_API virtual
void configuring() override;
110 IODICOM_API virtual
void starting() override;
113 IODICOM_API virtual
void stopping() override;
116 IODICOM_API
void updating() override;
119 IODICOM_API
void info(
std::ostream& _sstream ) override;
122 IODICOM_API
void triggerNewSlice();
128 IODICOM_API
void readImage(
std::
size_t selectedSliceIndex);
134 IODICOM_API
void displayErrorMessage(const
std::
string& message) const;
141 IODICOM_API
void changeSliceIndex(
int value);
146 ReadImageSlotType::sptr m_slotReadImage;
149 QPointer< QSlider > m_sliceIndexSlider;
152 QPointer< QLineEdit > m_sliceIndexLineEdit;
155 std::
size_t m_numberOfSlices;
158 std::
string m_dicomReaderType;
161 ::
fwIO::IReader::wptr m_dicomReader;
Namespace containing medical data.
This class contains an integer value. Integer object is essentially used as a field in other objects...
Defines the service interface managing the editor service for object.
Defines the configuration element class.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
This editor service is used to select a slice index and read the corresponding image on the local com...
ioDicom contains services used to deal with the DICOM standard.
The Timer class provides single-shot or repetitive timers. A Timer triggers a function once after a d...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace fwIO contains the base interface for reader and writer services.
Contains the representation of the data objects used in the framework.
This class defines a composite object.
This namespace fwThread provides few tools to execute asynchronous tasks on different threads...