1 #ifndef COIN_SOPICKEDPOINT_H 2 #define COIN_SOPICKEDPOINT_H 36 #include <Inventor/SbBasic.h> 37 #include <Inventor/SbVec3f.h> 38 #include <Inventor/SbVec4f.h> 39 #include <Inventor/lists/SoDetailList.h> 40 #include <Inventor/SbViewportRegion.h> 55 const SbVec3f &getPoint()
const;
56 const SbVec3f &getNormal()
const;
57 const SbVec4f &getTextureCoords()
const;
58 int getMaterialIndex()
const;
60 SbBool isOnGeometry()
const;
62 const SbMatrix &getObjectToWorld(
const SoNode *
const node = NULL)
const;
63 const SbMatrix &getWorldToObject(
const SoNode *
const node = NULL)
const;
64 const SbMatrix &getObjectToImage(
const SoNode *
const node = NULL)
const;
65 const SbMatrix &getImageToObject(
const SoNode *
const node = NULL)
const;
66 SbVec3f getObjectPoint(
const SoNode *
const node = NULL)
const;
67 SbVec3f getObjectNormal(
const SoNode *
const node = NULL)
const;
68 SbVec4f getObjectTextureCoords(
const SoNode *
const node = NULL)
const;
70 void setObjectNormal(
const SbVec3f &normal);
71 void setObjectTextureCoords(
const SbVec4f &texCoords);
72 void setMaterialIndex(
const int index);
79 SbVec4f texCoords, objTexCoords;
88 void applyMatrixAction(
const SoNode *
const node)
const;
91 #endif // !COIN_SOPICKEDPOINT_H The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition: SbVec4f.h:49
The SoGetMatrixAction class is an action for accumulating the transformation matrix of a subgraph...
Definition: SoGetMatrixAction.h:46
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:44
The SoPath class is a container class for traversal path descriptions.
Definition: SoPath.h:52
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:47
The SoPickedPoint class is used for specifying picked points.
Definition: SoPickedPoint.h:48
The SoDetailList class is a container for pointers to SoDetail objects.
Definition: SoDetailList.h:40
The SbViewportRegion class is a viewport within a full window.
Definition: SbViewportRegion.h:40
The SoDetail class is the superclass for all classes storing detailed information about particular sh...
Definition: SoDetail.h:39