@@ -72,8 +72,6 @@ namespace SCIRun{
7272 // / Sets the selected View of the window to given up axis and view axis
7373 void setView (const glm::vec3& view, const glm::vec3& up);
7474
75- void setViewMat (glm::mat4 view);
76-
7775 // / Toggles the zoom controls on New Mouse Controls Inverted/Not Inverted
7876 void setZoomInverted (bool value);
7977
@@ -97,14 +95,14 @@ namespace SCIRun{
9795 float getAspect () {return static_cast <float >(mInterface .getScreenWidthPixels ()) /
9896 static_cast <float >(mInterface .getScreenHeightPixels ());}
9997
100- float getDistance () {return mArcLookAt ->getDistance ();}
101- void setDistance (float f) {mArcLookAt ->setDistance (f);}
98+ float getDistance () const {return mArcLookAt ->getDistance ();}
99+ void setDistance (const float f) {mArcLookAt ->setDistance (f);}
102100
103- glm::vec3 getLookAt () {return mArcLookAt ->getLookAt ();}
104- void setLookAt (glm::vec3 v) {mArcLookAt ->setLookAt (v);}
101+ glm::vec3 getLookAt () const {return mArcLookAt ->getLookAt ();}
102+ void setLookAt (const glm::vec3 v) {mArcLookAt ->setLookAt (v);}
105103
106- glm::quat getRotation () {return mArcLookAt ->getRotation ();}
107- void setRotation (glm::quat q) {mArcLookAt ->setRotation (q);}
104+ glm::quat getRotation () const {return mArcLookAt ->getRotation ();}
105+ void setRotation (const glm::quat q) {mArcLookAt ->setRotation (q);}
108106
109107 void setLockZoom (bool lock) {lockZoom_ = lock;}
110108 void setLockPanning (bool lock) {lockPanning_ = lock;}
0 commit comments