1 #ifndef CTL_SIMPLESYSTEM_H 2 #define CTL_SIMPLESYSTEM_H 110 Q_DECL_DEPRECATED_X(
"Function has been renamed. " 111 "Please consider the new spelling 'fromCTSystem'.")
113 Q_DECL_DEPRECATED_X(
"Function has been renamed. " 114 "Please consider the new spelling 'fromCTSystem'.")
130 void replaceGantry(std::unique_ptr<AbstractGantry> newGantry);
132 void replaceSource(std::unique_ptr<AbstractSource> newSource);
151 using CTSystem::operator<<;
154 Q_DECL_DEPRECATED_X(
"Class has been renamed. Please consider the new spelling 'SimpleCTSystem'.")
161 #endif // CTL_SIMPLESYSTEM_H void addComponent(ComponentPtr component)
Definition: ctsystem.cpp:268
Base class for components that modify the X-ray beam.
Definition: abstractbeammodifier.h:45
AbstractGantry * gantry() const
Definition: simplectsystem.cpp:141
AbstractDetector * detector() const
Definition: simplectsystem.cpp:131
void removeComponent(SystemComponent *component)
Definition: ctsystem.cpp:302
void removeBeamModifiers()
Removes all beam modifiers in this system.
Definition: simplectsystem.cpp:281
CTSystem * clone() const &override
Definition: simplectsystem.cpp:288
Base class for gantry components.
Definition: abstractgantry.h:65
Base class for detector components.
Definition: abstractdetector.h:54
void replaceSource(AbstractSource *newSource)
Definition: simplectsystem.cpp:218
The CTSystem class manages the list of all components of a system.
Definition: ctsystem.h:84
void replaceGantry(AbstractGantry *newGantry)
Definition: simplectsystem.cpp:191
static SimpleCTSystem fromCTSystem(const CTSystem &system, bool *ok=nullptr)
Definition: simplectsystem.cpp:67
void replaceDetector(AbstractDetector *newDetector)
Definition: simplectsystem.cpp:164
std::vector< float > photonsPerPixel() const
Definition: simplectsystem.cpp:273
unsigned int uint
Qt style alias for unsigned int.
Definition: modulelayout.h:6
void addBeamModifier(AbstractBeamModifier *modifier)
Definition: simplectsystem.cpp:243
AbstractSource * source() const
Definition: simplectsystem.cpp:151
Base class for source components.
Definition: abstractsource.h:68
float photonsPerPixelMean() const
Definition: simplectsystem.cpp:257
void clear()
Definition: ctsystem.cpp:289
The SimpleCTSystem class is a specialized sub-class of CTSystem for simple systems (i....
Definition: simplectsystem.h:95