SoPickedPoint(constSoPickedPoint&pp)
Copy constructor.
~SoPickedPoint()
Destructor.
constSbVec3f&getPoint()constconstSbVec3f&getNormal()constconstSbVec4f&getTextureCoords()const
These return the intersection point and surface normal in world space, and the texture coordinates in
image space.
intgetMaterialIndex()const
Returns the index into the current set of materials of the material active at the intersection point.
Note that if the materials are interpolated between vertices, the index will correspond to the
material at one of the vertices.
SoPath*getPath()const
Returns the path to the object that was intersected.
SbBoolisOnGeometry()const
Returns whether the intersection is actually on the geometry of the character that was hit, as opposed
to being on the bounding box. The pick style (see SoPickStyle) affects this decision.
constSoDetail*getDetail(constSoNode*node=NULL)const
Returns the detail that corresponds to the given node in the path returned by getPath(). If the node
pointer is NULL (the default), the detail corresponding to the tail of the (full) path is returned.
constSbMatrixgetObjectToWorld(constSoNode*node=NULL)constconstSbMatrixgetWorldToObject(constSoNode*node=NULL)const
These return the transformation matrices between world space and the object space corresponding to the
given node in the path. If the node pointer is NULL (the default), the matrix corresponding to the
tail of the (full) path is returned.
constSbMatrixgetObjectToImage(constSoNode*node=NULL)constconstSbMatrixgetImageToObject(constSoNode*node=NULL)const
These return the texture transformation matrices between image space and the object space
corresponding to the given node in the path. If the node pointer is NULL (the default), the matrix
corresponding to the tail of the (full) path is returned.
constSbVec3fgetObjectPoint(constSoNode*node=NULL)constconstSbVec3fgetObjectNormal(constSoNode*node=NULL)constconstSbVec4fgetObjectTextureCoords(constSoNode*node=NULL)const
These return the intersection point, surface normal, and texture coordinates in the object space
corresponding to the given node in the path. If the node pointer is NULL (the default), the
information corresponding to the tail of the (full) path is returned.