diff --git a/include/core/state_block/state_block.h b/include/core/state_block/state_block.h index 2572cc9b64a729f36496ac403fb18700846dc43c..3cbced5e7f2998a881fb2e116861e7b53779d676 100644 --- a/include/core/state_block/state_block.h +++ b/include/core/state_block/state_block.h @@ -182,9 +182,13 @@ public: bool isTransformable() const { return transformable_; - }; + } - virtual void transform(const VectorComposite& _transformation) { }; + void setTransformable(bool _trf = true) {transformable_ = _trf;} + + void setNonTransformable() {transformable_ = false;} + + virtual void transform(const VectorComposite& _transformation) {}; void plus(const Eigen::VectorXd& _dv);