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