30#ifndef _SO_XT_COLLISION_VIEWER_
31#define _SO_XT_COLLISION_VIEWER_
39class SoCollisionViewerImpl;
146 SoCollisionViewerImpl* m_impl;
#define TRUE
Possible value of SbBool.
#define FALSE
Possible value of SbBool.
#define SoXtCollisionViewerCB
void SoXtCollisionViewerCB(void *userData, SoXtCollisionViewer *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 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.
Viewer component lowest base class.