47 #include <visp3/core/vpConfig.h> 49 #ifdef VISP_HAVE_COIN3D_AND_GUI 51 #include <visp3/ar/vpAR.h> 52 #include <visp3/core/vpTime.h> 55 #include <Inventor/nodes/SoCone.h> 56 #include <Inventor/nodes/SoCoordinate3.h> 57 #include <Inventor/nodes/SoCylinder.h> 58 #include <Inventor/nodes/SoIndexedFaceSet.h> 59 #include <Inventor/nodes/SoPointLight.h> 60 #include <Inventor/nodes/SoRotationXYZ.h> 61 #include <Inventor/nodes/SoScale.h> 62 #include <Inventor/nodes/SoTranslation.h> 64 #include <Inventor/actions/SoWriteAction.h> 65 #include <Inventor/nodes/SoDirectionalLight.h> 66 #include <Inventor/nodes/SoDrawStyle.h> 67 #include <Inventor/nodes/SoEnvironment.h> 68 #include <Inventor/nodes/SoGroup.h> 69 #include <Inventor/nodes/SoMaterial.h> 114 vpERROR_TRACE(
"The image size is different from the view size ");
120 for (
unsigned int i = 0; i < I.
getHeight(); i++)
121 for (
unsigned int j = 0; j < I.
getWidth(); j++)
137 vpERROR_TRACE(
"The image size is different from the view size ");
143 for (
unsigned int i = 0; i < I.
getHeight(); i++) {
145 for (
unsigned int j = 0; j < I.
getWidth(); j++)
156 #elif !defined(VISP_BUILD_SHARED_LIBS) 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