diff --git a/Source/Controllers/imstkRigidObjectController.h b/Source/Controllers/imstkRigidObjectController.h index ec47c7b86db2dda3cf3dfdf8eb70ad4db359a6d0..733ceb8a37b1dd208c4b2ee55eed9d01a7783ae6 100644 --- a/Source/Controllers/imstkRigidObjectController.h +++ b/Source/Controllers/imstkRigidObjectController.h @@ -105,6 +105,16 @@ public: int getSmoothingKernelSize() const { return m_smoothingKernelSize; } void setSmoothingKernelSize(const int kernelSize) { m_smoothingKernelSize = kernelSize; } + /// + /// \brief Return the currently applied force + /// + const Vec3d& getForce() const { return fS; } + + /// + /// \brief Return the currently applied torque + /// + const Vec3d& getTorque() const { return tS; } + public: /// /// \brief Update controlled scene object using latest tracking information