1#ifndef COIN_SORAYPICKACTION_H
2#define COIN_SORAYPICKACTION_H
36#include <Inventor/actions/SoPickAction.h>
48class SoRayPickActionP;
60 void setPoint(
const SbVec2s & viewportPoint);
61 void setNormalizedPoint(
const SbVec2f & normpoint);
62 void setRadius(
const float radiusinpixels);
63 float getRadius(
void)
const;
65 float neardistance = -1.0,
66 float fardistance = -1.0);
67 void setPickAll(
const SbBool flag);
68 SbBool isPickAll(
void)
const;
73 void computeWorldSpaceRay(
void);
74 SbBool hasWorldSpaceRay(
void)
const;
75 void setObjectSpace(
void);
76 void setObjectSpace(
const SbMatrix & matrix);
79 SbBool & front)
const;
82 SbBool intersect(
const SbVec3f & point)
const;
83 SbBool intersect(
const SbBox3f & box,
const SbBool usefullviewvolume = TRUE);
85 const SbBool usefullviewvolume = TRUE);
87 const SbLine & getLine(
void);
88 SbBool isBetweenPlanes(
const SbVec3f & intersection)
const;
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition SbBox3f.h:46
The SbLine class represents a line in 3D space.
Definition SbLine.h:41
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition SbMatrix.h:47
Definition SbPimplPtr.h:55
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition SbVec2f.h:49
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition SbVec2s.h:51
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
The SbViewVolume class is a viewing volume in 3D space.
Definition SbViewVolume.h:50
The SbViewportRegion class is a viewport within a full window.
Definition SbViewportRegion.h:40
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoPickAction class is the base class for picking actions.
Definition SoPickAction.h:43
virtual void beginTraversal(SoNode *node)
Definition SoPickAction.cpp:136
static void initClass(void)
Definition SoPickAction.cpp:86
The SoPickedPointList class is a container for pointers to SoPickedPoint objects.
Definition SoPickedPointList.h:40
The SoPickedPoint class is used for specifying picked points.
Definition SoPickedPoint.h:48
The SoRayPickAction class does ray intersection with scene graphs.
Definition SoRayPickAction.h:50