Add visual indication for the rotation center

This commit is contained in:
Rexbas
2023-07-08 22:48:56 +02:00
parent 2559d7e7b6
commit 7fe3e1bd5d
4 changed files with 76 additions and 4 deletions

View File

@@ -172,6 +172,8 @@ public:
void setOrbitStyle(OrbitStyle style);
OrbitStyle getOrbitStyle() const;
SbVec3f getRotationCenter(SbBool&) const;
protected:
void initialize();
void finalize();
@@ -187,7 +189,6 @@ protected:
SbBool seekToPoint(const SbVec2s screenpos);
void seekToPoint(const SbVec3f& scenepos);
SbBool lookAtPoint(const SbVec2s screenpos);
SbVec3f getRotationCenter(SbBool*) const;
void reorientCamera(SoCamera * camera, const SbRotation & rot);
void panCamera(SoCamera * camera,