25# include <Inventor/Qt/viewers/SoQtCollisionViewer.h>
27# include <Inventor/Win/viewers/SoWinCollisionViewer.h>
30#ifndef _SO_XT_COLLISION_VIEWER_
31#define _SO_XT_COLLISION_VIEWER_
33#include <Inventor/SbBase.h>
39class SoCollisionViewerImpl;
147 SoCollisionViewerImpl* m_impl;
<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 setNumSteps(int num_steps)
Sets the number of steps to be used in the collision computation.
void addCallback(SoXtCollisionViewerCB *f, void *ud=NULL)
Adds a callback.
SbBool getCollisionDetection() const
Gets the collision detection flag.
void setCollisionDetection(SbBool value=TRUE)
Sets the collision detection flag.
~SoXtCollisionViewer()
Destructor.
SoXtViewer * getViewer() const
Gets the original viewer.
void removeCallback(SoXtCollisionViewerCB *f, void *ud=NULL)
Removes the callback.
void setZBufferOptimization(SbBool value=TRUE, SbBool useZBufferOnly=FALSE)
Sets the Z buffer optimization flag.
SoXtCollisionViewer(SoXtViewer *viewer)
Constructor.
SbBool getZBufferOptimistation() const
Gets the Z buffer optimization flag.
float getDistance() const
Gets the distance between the camera and the objects.
void setDistance(float distance)
Sets the distance between the camera and the objects.
void SoXtCollisionViewerCB(void *userData, SoXtCollisionViewer *collisionViewer)
Viewer component lowest base class.