40 #include <visp3/core/vpConfig.h> 42 #ifndef DOXYGEN_SHOULD_SKIP_THIS 44 #include <visp3/core/vpHomogeneousMatrix.h> 45 #include <visp3/robot/vpWireFrameSimulatorTypes.h> 49 #if defined(VISP_HAVE_COIN3D) 50 #include <Inventor/nodes/SoSeparator.h> 51 #include <Inventor/VRMLnodes/SoVRMLIndexedFaceSet.h> 52 #include <Inventor/VRMLnodes/SoVRMLIndexedLineSet.h> 53 #include <Inventor/VRMLnodes/SoVRMLCoordinate.h> 54 #include <Inventor/actions/SoWriteAction.h> 55 #include <Inventor/actions/SoSearchAction.h> 56 #include <Inventor/misc/SoChildList.h> 57 #include <Inventor/actions/SoGetMatrixAction.h> 58 #include <Inventor/actions/SoGetPrimitiveCountAction.h> 59 #include <Inventor/actions/SoToVRML2Action.h> 60 #include <Inventor/VRMLnodes/SoVRMLGroup.h> 61 #include <Inventor/VRMLnodes/SoVRMLShape.h> 66 typedef struct indexFaceSet
68 indexFaceSet() : nbPt(0), pt(), nbIndex(0), index() {};
70 std::vector<vpPoint> pt;
72 std::vector<int> index;
84 Model_3D getExtension(
const char* file);
85 void set_scene_wrl (
const char* str, Bound_scene *sc,
float factor);
86 void set_scene (
const char*, Bound_scene *,
float);
89 #if defined(VISP_HAVE_COIN3D) 90 void extractFaces(SoVRMLIndexedFaceSet* face_set, indexFaceSet *ifs);
91 void ifsToBound (Bound*, std::list<indexFaceSet*> &);
92 void destroyIfs(std::list<indexFaceSet*> &);
Implementation of an homogeneous matrix and operations on such kind of matrices.