Gui: redundant void 2
This commit is contained in:
@@ -242,7 +242,7 @@ public:
|
||||
|
||||
class SpaceNavigatorDevice : public Quarter::InputDevice {
|
||||
public:
|
||||
SpaceNavigatorDevice(void) {}
|
||||
SpaceNavigatorDevice() {}
|
||||
virtual ~SpaceNavigatorDevice() {}
|
||||
virtual const SoEvent* translateEvent(QEvent* event) {
|
||||
|
||||
@@ -1373,7 +1373,7 @@ void View3DInventorViewer::setEnabledNaviCube(bool on)
|
||||
naviCubeEnabled = on;
|
||||
}
|
||||
|
||||
bool View3DInventorViewer::isEnabledNaviCube(void) const
|
||||
bool View3DInventorViewer::isEnabledNaviCube() const
|
||||
{
|
||||
return naviCubeEnabled;
|
||||
}
|
||||
@@ -1417,7 +1417,7 @@ void View3DInventorViewer::setAxisCross(bool on)
|
||||
}
|
||||
}
|
||||
|
||||
bool View3DInventorViewer::hasAxisCross(void)
|
||||
bool View3DInventorViewer::hasAxisCross()
|
||||
{
|
||||
return axisGroup;
|
||||
}
|
||||
@@ -1451,7 +1451,7 @@ NavigationStyle* View3DInventorViewer::navigationStyle() const
|
||||
return this->navigation;
|
||||
}
|
||||
|
||||
SoDirectionalLight* View3DInventorViewer::getBacklight(void) const
|
||||
SoDirectionalLight* View3DInventorViewer::getBacklight() const
|
||||
{
|
||||
return this->backlight;
|
||||
}
|
||||
@@ -1461,7 +1461,7 @@ void View3DInventorViewer::setBacklight(SbBool on)
|
||||
this->backlight->on = on;
|
||||
}
|
||||
|
||||
SbBool View3DInventorViewer::isBacklight(void) const
|
||||
SbBool View3DInventorViewer::isBacklight() const
|
||||
{
|
||||
return this->backlight->on.getValue();
|
||||
}
|
||||
@@ -1710,7 +1710,7 @@ void View3DInventorViewer::setSelectionEnabled(const SbBool enable)
|
||||
static_cast<Gui::SoFCUnifiedSelection*>(root)->selectionRole.setValue(enable);
|
||||
}
|
||||
|
||||
SbBool View3DInventorViewer::isSelectionEnabled(void) const
|
||||
SbBool View3DInventorViewer::isSelectionEnabled() const
|
||||
{
|
||||
SoNode* root = getSceneGraph();
|
||||
return static_cast<Gui::SoFCUnifiedSelection*>(root)->selectionRole.getValue();
|
||||
@@ -2265,7 +2265,7 @@ void View3DInventorViewer::renderGLImage()
|
||||
// Documented in superclass. Overrides this method to be able to draw
|
||||
// the axis cross, if selected, and to keep a continuous animation
|
||||
// upon spin.
|
||||
void View3DInventorViewer::renderScene(void)
|
||||
void View3DInventorViewer::renderScene()
|
||||
{
|
||||
// Must set up the OpenGL viewport manually, as upon resize
|
||||
// operations, Coin won't set it up until the SoGLRenderAction is
|
||||
@@ -2905,7 +2905,7 @@ extern void oculusStop (void);
|
||||
void oculusSetTestScene(View3DInventorRiftViewer *window);
|
||||
#endif
|
||||
|
||||
void View3DInventorViewer::viewVR(void)
|
||||
void View3DInventorViewer::viewVR()
|
||||
{
|
||||
#if BUILD_VR
|
||||
if (oculusUp()) {
|
||||
@@ -3100,7 +3100,7 @@ View3DInventorViewer::setAnimationEnabled(const SbBool enable)
|
||||
*/
|
||||
|
||||
SbBool
|
||||
View3DInventorViewer::isAnimationEnabled(void) const
|
||||
View3DInventorViewer::isAnimationEnabled() const
|
||||
{
|
||||
return navigation->isAnimationEnabled();
|
||||
}
|
||||
@@ -3109,7 +3109,7 @@ View3DInventorViewer::isAnimationEnabled(void) const
|
||||
Query if the model in the viewer is currently in spinning mode after
|
||||
a user drag.
|
||||
*/
|
||||
SbBool View3DInventorViewer::isAnimating(void) const
|
||||
SbBool View3DInventorViewer::isAnimating() const
|
||||
{
|
||||
return navigation->isAnimating();
|
||||
}
|
||||
@@ -3123,7 +3123,7 @@ void View3DInventorViewer::startAnimating(const SbVec3f& axis, float velocity)
|
||||
navigation->startAnimating(axis, velocity);
|
||||
}
|
||||
|
||||
void View3DInventorViewer::stopAnimating(void)
|
||||
void View3DInventorViewer::stopAnimating()
|
||||
{
|
||||
navigation->stopAnimating();
|
||||
}
|
||||
@@ -3133,7 +3133,7 @@ void View3DInventorViewer::setPopupMenuEnabled(const SbBool on)
|
||||
navigation->setPopupMenuEnabled(on);
|
||||
}
|
||||
|
||||
SbBool View3DInventorViewer::isPopupMenuEnabled(void) const
|
||||
SbBool View3DInventorViewer::isPopupMenuEnabled() const
|
||||
{
|
||||
return navigation->isPopupMenuEnabled();
|
||||
}
|
||||
@@ -3161,7 +3161,7 @@ View3DInventorViewer::setFeedbackVisibility(const SbBool enable)
|
||||
*/
|
||||
|
||||
SbBool
|
||||
View3DInventorViewer::isFeedbackVisible(void) const
|
||||
View3DInventorViewer::isFeedbackVisible() const
|
||||
{
|
||||
return this->axiscrossEnabled;
|
||||
}
|
||||
@@ -3190,7 +3190,7 @@ View3DInventorViewer::setFeedbackSize(const int size)
|
||||
*/
|
||||
|
||||
int
|
||||
View3DInventorViewer::getFeedbackSize(void) const
|
||||
View3DInventorViewer::getFeedbackSize() const
|
||||
{
|
||||
return this->axiscrossSize;
|
||||
}
|
||||
@@ -3204,7 +3204,7 @@ void View3DInventorViewer::setCursorEnabled(SbBool /*enable*/)
|
||||
this->setCursorRepresentation(navigation->getViewingMode());
|
||||
}
|
||||
|
||||
void View3DInventorViewer::afterRealizeHook(void)
|
||||
void View3DInventorViewer::afterRealizeHook()
|
||||
{
|
||||
inherited::afterRealizeHook();
|
||||
this->setCursorRepresentation(navigation->getViewingMode());
|
||||
@@ -3223,7 +3223,7 @@ void View3DInventorViewer::setViewing(SbBool enable)
|
||||
inherited::setViewing(enable);
|
||||
}
|
||||
|
||||
void View3DInventorViewer::drawAxisCross(void)
|
||||
void View3DInventorViewer::drawAxisCross()
|
||||
{
|
||||
// FIXME: convert this to a superimposition scenegraph instead of
|
||||
// OpenGL calls. 20020603 mortene.
|
||||
@@ -3398,7 +3398,7 @@ void View3DInventorViewer::drawAxisCross(void)
|
||||
}
|
||||
|
||||
// Draw an arrow for the axis representation directly through OpenGL.
|
||||
void View3DInventorViewer::drawArrow(void)
|
||||
void View3DInventorViewer::drawArrow()
|
||||
{
|
||||
glDisable(GL_CULL_FACE);
|
||||
glBegin(GL_QUADS);
|
||||
@@ -3658,7 +3658,7 @@ void View3DInventorViewer::turnDeltaDimensionsOff()
|
||||
static_cast<SoSwitch*>(dimensionRoot->getChild(1))->whichChild = SO_SWITCH_NONE;
|
||||
}
|
||||
|
||||
PyObject *View3DInventorViewer::getPyObject(void)
|
||||
PyObject *View3DInventorViewer::getPyObject()
|
||||
{
|
||||
if (!_viewerPy)
|
||||
_viewerPy = new View3DInventorViewerPy(this);
|
||||
|
||||
Reference in New Issue
Block a user