41#include <visp3/core/vpConfig.h>
43#ifdef VISP_HAVE_COIN3D_AND_GUI
45#include <visp3/ar/vpAR.h>
46#include <visp3/core/vpDebug.h>
47#include <visp3/core/vpTime.h>
50#include <Inventor/nodes/SoCone.h>
51#include <Inventor/nodes/SoCoordinate3.h>
52#include <Inventor/nodes/SoCylinder.h>
53#include <Inventor/nodes/SoIndexedFaceSet.h>
54#include <Inventor/nodes/SoPointLight.h>
55#include <Inventor/nodes/SoRotationXYZ.h>
56#include <Inventor/nodes/SoScale.h>
57#include <Inventor/nodes/SoTranslation.h>
59#include <Inventor/actions/SoWriteAction.h>
60#include <Inventor/nodes/SoDirectionalLight.h>
61#include <Inventor/nodes/SoDrawStyle.h>
62#include <Inventor/nodes/SoEnvironment.h>
63#include <Inventor/nodes/SoGroup.h>
64#include <Inventor/nodes/SoMaterial.h>
109 vpERROR_TRACE(
"The image size is different from the view size ");
115 for (
unsigned int i = 0; i < I.getHeight(); i++)
116 for (
unsigned int j = 0; j < I.getWidth(); j++)
131 vpERROR_TRACE(
"The image size is different from the view size ");
137 for (
unsigned int i = 0; i < I.getHeight(); i++) {
139 for (
unsigned int j = 0; j < I.getWidth(); j++)
142 image_background[i * I.getWidth() * 3 + k + 0] = I[I.getHeight() - i - 1][j].R;
143 image_background[i * I.getWidth() * 3 + k + 1] = I[I.getHeight() - i - 1][j].G;
144 image_background[i * I.getWidth() * 3 + k + 2] = I[I.getHeight() - i - 1][j].B;
150#elif !defined(VISP_BUILD_SHARED_LIBS)
void setImage(vpImage< unsigned char > &I)
void initInternalViewer(unsigned int width, unsigned int height, vpImageType type=grayImage)
error that can be emitted by ViSP classes.
@ dimensionError
Bad dimension.
Definition of the vpImage class member functions.
unsigned int internal_height
GLubyte * image_background
void kill()
perform some destruction
unsigned int internal_width
virtual void initInternalViewer(unsigned int nlig, unsigned int ncol)
initialize the camera view