25#ifndef _SO_XT_COLLISION_VIEWER_
26#define _SO_XT_COLLISION_VIEWER_
31#include <Inventor/Win/SoWinBeginStrict.h>
32#include <Inventor/SbBase.h>
38class SoCollisionViewerImpl;
151 SoCollisionViewerImpl* m_impl;
154#include <Inventor/Win/SoWinEndStrict.h>
<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 SoWinCollisionViewerCB(void *userData, SoWinCollisionViewer *collisionViewer)
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...