25#ifndef _SO_QT_COLLISION_VIEWER_
26#define _SO_QT_COLLISION_VIEWER_
35class SoCollisionViewerImpl;
141 SoCollisionViewerImpl* m_impl;
#define TRUE
Possible value of SbBool.
#define FALSE
Possible value of SbBool.
void SoQtCollisionViewerCB(void *userData, SoQtCollisionViewer *collisionViewer)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class to manage ...
int getNumSteps() const
Gets the number of steps to be used in the collision computation.
void removeCallback(SoQtCollisionViewerCB *f, void *ud=NULL)
Removes callback.
SbBool getCollisionDetection() const
Gets the collision detection active flag.
float getDistance() const
Gets the distance between the camera and the objects.
SbBool getZBufferOptimistation() const
Gets the Z buffer optimization active flag.
void setZBufferOptimization(SbBool value=TRUE, SbBool useZBufferOnly=FALSE)
Sets the Z buffer optimization active flag.
void setDistance(float distance)
Sets the distance between the camera and the objects.
SoQtCollisionViewer(SoQtViewer *viewer)
Constructor.
~SoQtCollisionViewer()
Destructor.
void addCallback(SoQtCollisionViewerCB *f, void *ud=NULL)
Adds callback.
void setCollisionDetection(SbBool value=TRUE)
Sets the collision detection active flag.
SoQtViewer * getViewer() const
Gets the original viewer.
void setNumSteps(int num_steps)
Sets the number of steps to be used in the collision computation.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Viewer component...