1 #ifndef COIN_SOPICKEDPOINT_H 2 #define COIN_SOPICKEDPOINT_H 27 #include <Inventor/SbBasic.h> 28 #include <Inventor/SbVec3f.h> 29 #include <Inventor/SbVec4f.h> 30 #include <Inventor/lists/SoDetailList.h> 31 #include <Inventor/SbViewportRegion.h> 46 const SbVec3f &getPoint()
const;
47 const SbVec3f &getNormal()
const;
48 const SbVec4f &getTextureCoords()
const;
49 int getMaterialIndex()
const;
51 SbBool isOnGeometry()
const;
53 const SbMatrix &getObjectToWorld(
const SoNode *
const node = NULL)
const;
54 const SbMatrix &getWorldToObject(
const SoNode *
const node = NULL)
const;
55 const SbMatrix &getObjectToImage(
const SoNode *
const node = NULL)
const;
56 const SbMatrix &getImageToObject(
const SoNode *
const node = NULL)
const;
57 SbVec3f getObjectPoint(
const SoNode *
const node = NULL)
const;
58 SbVec3f getObjectNormal(
const SoNode *
const node = NULL)
const;
59 SbVec4f getObjectTextureCoords(
const SoNode *
const node = NULL)
const;
61 void setObjectNormal(
const SbVec3f &normal);
62 void setObjectTextureCoords(
const SbVec4f &texCoords);
63 void setMaterialIndex(
const int index);
70 SbVec4f texCoords, objTexCoords;
79 void applyMatrixAction(
const SoNode *
const node)
const;
82 #endif // !COIN_SOPICKEDPOINT_H The SbVec4f class is a 4 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec4f.h:40
The SoGetMatrixAction class is an action for accumulating the transformation matrix of a subgraph...
Definition: SoGetMatrixAction.h:37
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:43
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:37
The SoPickedPoint class is used for specifying picked points.It holds miscellaneous information about...
Definition: SoPickedPoint.h:39
The SoDetailList class is a container for pointers to SoDetail objects.This list class will delete th...
Definition: SoDetailList.h:31
The SbViewportRegion class is a viewport within a full window.The SbViewportRegion class contains inf...
Definition: SbViewportRegion.h:31
The SoDetail class is the superclass for all classes storing detailed information about particular sh...
Definition: SoDetail.h:30