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