1#ifndef COIN_SORAYPICKACTION_H
2#define COIN_SORAYPICKACTION_H
27#include <Inventor/actions/SoPickAction.h>
48 static void initClass(
void);
50 void setPoint(
const SbVec2s & viewportPoint);
51 void setNormalizedPoint(
const SbVec2f & normpoint);
52 void setRadius(
const float radiusinpixels);
54 float neardistance = -1.0,
55 float fardistance = -1.0);
56 void setPickAll(
const SbBool flag);
57 SbBool isPickAll(
void)
const;
62 void computeWorldSpaceRay(
void);
63 SbBool hasWorldSpaceRay(
void)
const;
64 void setObjectSpace(
void);
65 void setObjectSpace(
const SbMatrix & matrix);
68 SbBool & front)
const;
71 SbBool intersect(
const SbVec3f & point)
const;
72 SbBool intersect(
const SbBox3f & box,
const SbBool usefullviewvolume = TRUE);
74 const SbBool usefullviewvolume = TRUE);
76 const SbLine & getLine(
void);
77 SbBool isBetweenPlanes(
const SbVec3f & intersection)
const;
86 class SoRayPickActionP * pimpl;
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition SbBox3f.h:37
The SbLine class represents a line in 3D space.
Definition SbLine.h:32
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition SbMatrix.h:37
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition SbVec2f.h:36
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition SbVec2s.h:37
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:37
The SbViewVolume class is a viewing volume in 3D space.
Definition SbViewVolume.h:41
The SbViewportRegion class is a viewport within a full window.
Definition SbViewportRegion.h:31
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoPickAction class is the base class for picking actions.
Definition SoPickAction.h:32
virtual void beginTraversal(SoNode *node)
Definition SoPickAction.cpp:120
The SoPickedPointList class is a container for pointers to SoPickedPoint objects.
Definition SoPickedPointList.h:31
The SoPickedPoint class is used for specifying picked points.
Definition SoPickedPoint.h:39
The SoRayPickAction class does ray intersection with scene graphs.
Definition SoRayPickAction.h:40
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen. 1.11.0