|
CTL
0.6.1
Computed Tomography Library
|


Public Member Functions | |
| AbstractDataModel2DOperation (std::shared_ptr< AbstractDataModel2D > lhs, std::shared_ptr< AbstractDataModel2D > rhs) | |
| QVariant | parameter () const override |
| void | setParameter (const QVariant ¶meter) override |
Public Member Functions inherited from CTL::AbstractDataModel2D | |
| int | type () const override |
| virtual float | valueAt (float x, float y) const =0 |
| virtual AbstractDataModel2D * | clone () const =0 |
| void | setParameter (const QString &name, const QVariant &value) |
| void | fromVariant (const QVariant &variant) override |
| QVariant | toVariant () const override |
| QString | name () const |
| void | setName (const QString &name) |
| Chunk2D< float > | sampleChunk (const SamplingRange &xRange, const SamplingRange &yRange, uint nbSamplesX, uint nbSamplesY) const |
Public Member Functions inherited from CTL::SerializationInterface | |
| virtual | ~SerializationInterface ()=default |
Protected Attributes | |
| std::shared_ptr< AbstractDataModel2D > | _lhs |
| std::shared_ptr< AbstractDataModel2D > | _rhs |
Additional Inherited Members | |
Public Types inherited from CTL::AbstractDataModel2D | |
| enum | { Type = 1000 } |
Public Types inherited from CTL::SerializationInterface | |
| enum | { Type = -1, UserType = 65536 } |
Related Functions inherited from CTL::AbstractDataModel2D | |
| std::shared_ptr< AbstractDataModel2D > | operator+ (std::shared_ptr< AbstractDataModel2D > lhs, std::shared_ptr< AbstractDataModel2D > rhs) |
| std::shared_ptr< AbstractDataModel2D > | operator- (std::shared_ptr< AbstractDataModel2D > lhs, std::shared_ptr< AbstractDataModel2D > rhs) |
| std::shared_ptr< AbstractDataModel2D > | operator * (std::shared_ptr< AbstractDataModel2D > lhs, std::shared_ptr< AbstractDataModel2D > rhs) |
| std::shared_ptr< AbstractDataModel2D > | operator/ (std::shared_ptr< AbstractDataModel2D > lhs, std::shared_ptr< AbstractDataModel2D > rhs) |
| std::shared_ptr< AbstractDataModel2D > & | operator+= (std::shared_ptr< AbstractDataModel2D > &lhs, const std::shared_ptr< AbstractDataModel2D > &rhs) |
| std::shared_ptr< AbstractDataModel2D > & | operator-= (std::shared_ptr< AbstractDataModel2D > &lhs, const std::shared_ptr< AbstractDataModel2D > &rhs) |
| std::shared_ptr< AbstractDataModel2D > & | operator *= (std::shared_ptr< AbstractDataModel2D > &lhs, const std::shared_ptr< AbstractDataModel2D > &rhs) |
| std::shared_ptr< AbstractDataModel2D > & | operator/= (std::shared_ptr< AbstractDataModel2D > &lhs, const std::shared_ptr< AbstractDataModel2D > &rhs) |
|
overridevirtual |
Returns the parameters of this model as a QVariant.
Default implementation returns an empty QVariant. Override in custom classes to encode all relevant information from the class' members. The returned QVariant must contain all information to fully specify the objects state. In particular, calling setParameter(parameter()) should not change the state of an object.
Reimplemented from CTL::AbstractDataModel2D.
|
overridevirtual |
Sets the parameters of this model based on data held in parameter.
Default implementation does nothing. Override in custom classes to extract all relevant information from parameter and set class members accordingly. A call to this method (given an appropriate input parameter) should prepare the full state of the object. In particular, calling setParameter(parameter()) should not change the state of an object.
Reimplemented from CTL::AbstractDataModel2D.
1.8.16