55#ifndef _SO_PICKED_POINT_ 
   56#define _SO_PICKED_POINT_ 
  218    int                 getNodeIndex(
const SoNode *node) 
const;
 
  221    void                getMatrix(
const SoNode *node) 
const;
 
 
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
 
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
 
Class for representing a viewport.
 
Maintains a list of instances of details.
 
Base class for describing detail information about a shape node.
 
Computes transformation matrix for subgraph.
 
Abstract base class for all database nodes.
 
Path that points to a list of hierarchical nodes.
 
Represents point on surface of picked object.
 
SbMatrix getImageToObject(const SoNode *node=NULL) const
 
const SbVec3f & getPoint() const
These return the intersection point and surface normal in world space, and the texture coordinates in...
 
const SbVec4f & getTextureCoords() const
These return the intersection point and surface normal in world space, and the texture coordinates in...
 
const SbVec3f & getNormal() const
These return the intersection point and surface normal in world space, and the texture coordinates in...
 
void setObjectTextureCoords(const SbVec4f &texCoords)
Sets the texture coordinates in object space.
 
bool isOnGeometry() const
Returns whether the intersection is actually on the geometry of the character that was hit,...
 
SbMatrix getObjectToWorld(const SoNode *node=NULL) const
 
SbMatrix getObjectToImage(const SoNode *node=NULL) const
 
SoPickedPoint(const SoPath *path, SoState *state, const SbVec3f &objSpacePoint)
Copy constructor.
 
const SoDetail * getDetail(const SoNode *node=NULL) const
The following methods all take a pointer to a node in the returned path.
 
void setObjectNormal(const SbVec3f &normal)
NOTE: these methods should be called ONLY by the node that causes the SoPickedPoint instance to be cr...
 
SbVec4f getObjectTextureCoords(const SoNode *node=NULL) const
 
SbVec3f getObjectNormal(const SoNode *node=NULL) const
 
~SoPickedPoint()
Destructor.
 
int getMaterialIndex() const
Returns the index into the current set of materials of the material active at the intersection point.
 
SbVec3f getObjectPoint(const SoNode *node=NULL) const
 
SbMatrix getWorldToObject(const SoNode *node=NULL) const
 
SoPickedPoint * copy() const
Returns an instance that is a copy of this instance.
 
SoPath * getPath() const
Returns the path to the object that was intersected.
 
void setDetail(SoDetail *detail, SoNode *node)
Sets the detail corresponding to the given node in the path.
 
SoPickedPoint(const SoPickedPoint &pp)
Copy constructor.
 
void setMaterialIndex(int index)
Sets the material index.
 
An SoState collects and holds state while traversing a scene graph.