Content


NTL
Core
CPropertyTransform

CPropertyTransform



Class describing single state property of type Transform.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CPropertyTransform :public virtual IPropertyTransform, public CProperty
{
public:
    using FGetter = Transform(*)(IClass *parent);
    using FSetter = bool(*)(IClass *parent, Transform value);
public:
    // IProperty getters 
    String getPreview() override;
    String getPreview(const String &state) override;
    bool isChanged() override;

    // IProperty setters 
    IProperty *setChanged(const bool value) override;

    // IProperty methods 
    bool Copy(IProperty *dest) override;
    void Save(Variant &dest) override;
    void Load(const Variant &src) override;
    void Export(std::wofstream &f, const String &shift, const String &control) override;

    // IPropertyTransform getters 
    Transform getValue() override;

    bool isAllowedTx() const override;
    bool isAllowedTy() const override;
    bool isAllowedTz() const override;
    bool isAllowedRx() const override;
    bool isAllowedRy() const override;
    bool isAllowedRz() const override;
    bool isAllowedSx() const override;
    bool isAllowedSy() const override;
    bool isAllowedSz() const override;
    bool isAllowedRotateOrder() const override;
    bool isAllowedTransformOrder() const override;

    bool hasMinTx() const override;
    bool hasMinTy() const override;
    bool hasMinTz() const override;
    bool hasMinRx() const override;
    bool hasMinRy() const override;
    bool hasMinRz() const override;
    bool hasMinSx() const override;
    bool hasMinSy() const override;
    bool hasMinSz() const override;

    bool hasMaxTx() const override;
    bool hasMaxTy() const override;
    bool hasMaxTz() const override;
    bool hasMaxRx() const override;
    bool hasMaxRy() const override;
    bool hasMaxRz() const override;
    bool hasMaxSx() const override;
    bool hasMaxSy() const override;
    bool hasMaxSz() const override;

    float getMinTx() const override;
    float getMinTy() const override;
    float getMinTz() const override;
    float getMinRx() const override;
    float getMinRy() const override;
    float getMinRz() const override;
    float getMinSx() const override;
    float getMinSy() const override;
    float getMinSz() const override;

    float getMaxTx() const override;
    float getMaxTy() const override;
    float getMaxTz() const override;
    float getMaxRx() const override;
    float getMaxRy() const override;
    float getMaxRz() const override;
    float getMaxSx() const override;
    float getMaxSy() const override;
    float getMaxSz() const override;

    // IPropertyTransform setters 
    bool setValue(const Transform value) override;

    IPropertyTransform *setAllowedTx(const bool value) override;
    IPropertyTransform *setAllowedTy(const bool value) override;
    IPropertyTransform *setAllowedTz(const bool value) override;
    IPropertyTransform *setAllowedRx(const bool value) override;
    IPropertyTransform *setAllowedRy(const bool value) override;
    IPropertyTransform *setAllowedRz(const bool value) override;
    IPropertyTransform *setAllowedSx(const bool value) override;
    IPropertyTransform *setAllowedSy(const bool value) override;
    IPropertyTransform *setAllowedSz(const bool value) override;
    IPropertyTransform *setAllowedRotateOrder(const bool value) override;
    IPropertyTransform *setAllowedTransformOrder(const bool value) override;

    IPropertyTransform *setHasMinTx(const bool value) override;
    IPropertyTransform *setHasMinTy(const bool value) override;
    IPropertyTransform *setHasMinTz(const bool value) override;
    IPropertyTransform *setHasMinRx(const bool value) override;
    IPropertyTransform *setHasMinRy(const bool value) override;
    IPropertyTransform *setHasMinRz(const bool value) override;
    IPropertyTransform *setHasMinSx(const bool value) override;
    IPropertyTransform *setHasMinSy(const bool value) override;
    IPropertyTransform *setHasMinSz(const bool value) override;

    IPropertyTransform *setHasMaxTx(const bool value) override;
    IPropertyTransform *setHasMaxTy(const bool value) override;
    IPropertyTransform *setHasMaxTz(const bool value) override;
    IPropertyTransform *setHasMaxRx(const bool value) override;
    IPropertyTransform *setHasMaxRy(const bool value) override;
    IPropertyTransform *setHasMaxRz(const bool value) override;
    IPropertyTransform *setHasMaxSx(const bool value) override;
    IPropertyTransform *setHasMaxSy(const bool value) override;
    IPropertyTransform *setHasMaxSz(const bool value) override;

    IPropertyTransform *setMinTx(const float value) override;
    IPropertyTransform *setMinTy(const float value) override;
    IPropertyTransform *setMinTz(const float value) override;
    IPropertyTransform *setMinRx(const float value) override;
    IPropertyTransform *setMinRy(const float value) override;
    IPropertyTransform *setMinRz(const float value) override;
    IPropertyTransform *setMinSx(const float value) override;
    IPropertyTransform *setMinSy(const float value) override;
    IPropertyTransform *setMinSz(const float value) override;

    IPropertyTransform *setMaxTx(const float value) override;
    IPropertyTransform *setMaxTy(const float value) override;
    IPropertyTransform *setMaxTz(const float value) override;
    IPropertyTransform *setMaxRx(const float value) override;
    IPropertyTransform *setMaxRy(const float value) override;
    IPropertyTransform *setMaxRz(const float value) override;
    IPropertyTransform *setMaxSx(const float value) override;
    IPropertyTransform *setMaxSy(const float value) override;
    IPropertyTransform *setMaxSz(const float value) override;

    CPropertyTransform(IPropertyList *list, IClass *parent, const String &name, const bool read_only, FSkip skip, FGetter getter, FSetter setter); // See parent class constructor for more information 
};
Namespace: nitisa
Include: Nitisa/Package/Properties/PropertyTransform.h