55#ifndef _SO_PICK_RAY_ELEMENT
56#define _SO_PICK_RAY_ELEMENT
98 virtual void print(FILE *fp)
const;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
This is the abstract base class for all state elements.
Element that stores the current ray to use for picking.
virtual SoElement * copyMatchInfo() const
Create and return a copy of this element.
virtual void init(SoState *state)
Initializes element.
static void initClass()
Initializes the SoPickRayElement class.
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.
virtual void print(FILE *fp) const
Prints element (for debugging)
virtual bool matches(const SoElement *elt) const
Always returns FALSE, since this element should never be a criterion for cache invalidation.
SbViewVolume volume
Ray as view volume.
virtual ~SoPickRayElement()
An SoState collects and holds state while traversing a scene graph.