45 #include <visp3/core/vpConfig.h>
47 #ifdef VISP_HAVE_COIN3D_AND_GUI
49 #include <visp3/ar/vpAR.h>
50 #include <visp3/core/vpTime.h>
54 #include <Inventor/nodes/SoCone.h>
55 #include <Inventor/nodes/SoCylinder.h>
56 #include <Inventor/nodes/SoPointLight.h>
57 #include <Inventor/nodes/SoCoordinate3.h>
58 #include <Inventor/nodes/SoIndexedFaceSet.h>
59 #include <Inventor/nodes/SoTranslation.h>
60 #include <Inventor/nodes/SoScale.h>
61 #include <Inventor/nodes/SoRotationXYZ.h>
63 #include <Inventor/nodes/SoDirectionalLight.h>
64 #include <Inventor/nodes/SoMaterial.h>
65 #include <Inventor/nodes/SoDrawStyle.h>
66 #include <Inventor/nodes/SoEnvironment.h>
67 #include <Inventor/nodes/SoGroup.h>
68 #include <Inventor/actions/SoWriteAction.h>
129 vpERROR_TRACE(
"The image size is different from the view size ");
137 for (
unsigned int i=0 ; i < I.
getHeight() ; i++)
138 for (
unsigned int j=0 ; j < I.
getWidth() ; j++)
159 vpERROR_TRACE(
"The image size is different from the view size ");
166 for (
unsigned int i=0 ; i <I.
getHeight() ; i++)
169 for (
unsigned int j=0 ; j <I.
getWidth() ; j++)
181 #elif !defined(VISP_BUILD_SHARED_LIBS)
183 void dummy_vpAR() {};
virtual void initInternalViewer(const unsigned int nlig, const unsigned int ncol)
initialize the camera view
void setImage(vpImage< unsigned char > &I)
void kill()
perform some destruction
unsigned int getWidth() const
void initInternalViewer(const unsigned int width, const unsigned int height, vpImageType type=grayImage)
error that can be emited by ViSP classes.
GLubyte * image_background
unsigned int internal_width
unsigned int getHeight() const
unsigned int internal_height