CTL
0.6.1
Computed Tomography Library
|
Public Member Functions | |
AbstractIntegrableDataModelOperation (std::shared_ptr< AbstractIntegrableDataModel > lhs, std::shared_ptr< AbstractIntegrableDataModel > rhs) | |
QVariant | parameter () const override |
void | setParameter (const QVariant ¶meter) override |
![]() | |
virtual float | binIntegral (float position, float binWidth) const =0 |
Returns the integral over model values in the interval [position - 0.5 * binWidth, position + 0.5 * binWidth]. More... | |
virtual AbstractIntegrableDataModel * | clone () const override=0 |
float | meanValue (float position, float binWidth) const |
![]() | |
int | type () const override |
virtual float | valueAt (float position) const =0 |
void | fromVariant (const QVariant &variant) override |
QVariant | toVariant () const override |
bool | isIntegrable () const |
void | setName (const QString &name) |
const QString & | name () const |
![]() | |
virtual | ~SerializationInterface ()=default |
Protected Attributes | |
std::shared_ptr< AbstractIntegrableDataModel > | _lhs |
std::shared_ptr< AbstractIntegrableDataModel > | _rhs |
Additional Inherited Members | |
![]() | |
enum | { Type = 0 } |
![]() | |
enum | { Type = -1, UserType = 65536 } |
![]() | |
DataModelPtr | |
Template alias name for CopyableUniquePtr<ModelType> to a suitable ModelType. | |
AbstractDataModelPtr | |
Alias name for DataModelPtr<AbstractDataModel>. More... | |
std::unique_ptr< ModelType > | makeDataModel (ConstructorArguments &&... arguments) |
using DataModelPtr | CopyableUniquePtr |
Alias name for CopyableUniquePtr<ModelType> to a suitable ModelType. | |
|
overridevirtual |
Returns the parameters of this instance as a QVariant.
Re-implement this method within your sub-class such that it encapsulates all necessary information into a QVariant.
Best practice is to invoke the base class version of this method to take care of all content originating from underlying base classes.
A typical reimplementation in sub-classes might look like this:
Reimplemented from CTL::AbstractDataModel.
|
overridevirtual |
Passes parameter to this instance.
Encapsulate all necessary information into the passed QVariant and re-implement this method within your sub-class to parse it into your required format.
Best practice is to invoke the base class version of this method to take care of all content originating from underlying base classes.
A typical reimplementation in sub-classes might look like this:
Reimplemented from CTL::AbstractDataModel.