Is there a way to add viewHelper in editor page

I have created a editor which can render pcd file and changed some CSS so menu can work in mobile also.
How can I add a viewHelper cube box so user can rotate or change the view of the file.
I have tried to run Orientation helper but getting GUI error.