Open Inventor Reference
|
Element that stores the current ray to use for picking. More...
#include <Inventor/elements/SoPickRayElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual SbBool | matches (const SoElement *elt) const |
Always returns FALSE, since this element should never be a criterion for cache invalidation. | |
virtual SoElement * | copyMatchInfo () const |
Create and return a copy of this element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
Static Public Member Functions | |
static void | set (SoState *state, const SbViewVolume &volume) |
Sets the picking ray. | |
static const SbViewVolume & | get (SoState *state) |
Returns the current picking ray view volume from the state. | |
static void | initClass () |
Initializes the SoPickRayElement class. | |
Protected Member Functions | |
virtual | ~SoPickRayElement () |
Protected Attributes | |
SbViewVolume | volume |
Ray as view volume. |
It contains the world space ray information in terms of an SbViewVolume. The projection point and view direction of the volume represent the ray itself. The width (which equals the height) represents the diameter of the picking circle in the near plane. The near and far planes represent the distances to the near and far planes between which valid intersections must lie.
Definition at line 76 of file SoPickRayElement.h.
virtual SoPickRayElement::~SoPickRayElement | ( | ) | [protected, virtual] |
static const SbViewVolume& SoPickRayElement::get | ( | SoState * | state | ) | [static] |
static void SoPickRayElement::initClass | ( | ) | [static] |
Reimplemented from SoElement.
Implements SoElement.
virtual void SoPickRayElement::print | ( | FILE * | fp | ) | const [virtual] |
Reimplemented from SoElement.
static void SoPickRayElement::set | ( | SoState * | state, |
const SbViewVolume & | volume | ||
) | [static] |
SbViewVolume SoPickRayElement::volume [protected] |
Definition at line 105 of file SoPickRayElement.h.