1 #ifndef COIN_SORAYPICKACTION_H 2 #define COIN_SORAYPICKACTION_H 36 #include <Inventor/actions/SoPickAction.h> 48 class SoRayPickActionP;
58 static void initClass(
void);
60 void setPoint(
const SbVec2s & viewportPoint);
61 void setNormalizedPoint(
const SbVec2f & normpoint);
62 void setRadius(
const float radiusinpixels);
64 float neardistance = -1.0,
65 float fardistance = -1.0);
66 void setPickAll(
const SbBool flag);
67 SbBool isPickAll(
void)
const;
72 void computeWorldSpaceRay(
void);
73 SbBool hasWorldSpaceRay(
void)
const;
74 void setObjectSpace(
void);
75 void setObjectSpace(
const SbMatrix & matrix);
78 SbBool & front)
const;
81 SbBool intersect(
const SbVec3f & point)
const;
82 SbBool intersect(
const SbBox3f & box,
const SbBool usefullviewvolume = TRUE);
84 const SbBool usefullviewvolume = TRUE);
86 const SbLine & getLine(
void);
87 SbBool isBetweenPlanes(
const SbVec3f & intersection)
const;
96 SbPimplPtr<SoRayPickActionP> pimpl;
103 #endif // !COIN_SORAYPICKACTION_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec2f.h:49
The SoRayPickAction class does ray intersection with scene graphs.For interaction with the scene grap...
Definition: SoRayPickAction.h:50
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.This box abstraction class ...
Definition: SbBox3f.h:46
The SoPickAction class is the base class for picking actions.The basis for all interaction features t...
Definition: SoPickAction.h:43
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
The SoPickedPointList class is a container for pointers to SoPickedPoint objects.This list class will...
Definition: SoPickedPointList.h:40
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:77
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:51
The SbLine class represents a line in 3D space.SbLine provides a way of specifying a directed line...
Definition: SbLine.h:41
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:46
The SbViewVolume class is a viewing volume in 3D space.This class contains the necessary information ...
Definition: SbViewVolume.h:50
The SoPickedPoint class is used for specifying picked points.It holds miscellaneous information about...
Definition: SoPickedPoint.h:48
virtual void beginTraversal(SoNode *node)
Definition: SoPickAction.cpp:133
The SbViewportRegion class is a viewport within a full window.The SbViewportRegion class contains inf...
Definition: SbViewportRegion.h:40
The SbVec2s class is a 2 dimensional vector with short integer coordinates.This vector class is used ...
Definition: SbVec2s.h:51