Visual Servoing Platform
version 3.1.0
|
#include <visp3/ar/vpViewer.h>
Public Types | |
enum | vpViewerType { internalView, externalView } |
Public Member Functions | |
vpViewer (HWND parent, vpSimulator *simu, vpViewerType type) | |
virtual | ~vpViewer () |
void | resize (int x, int y, bool fixed=false) |
virtual void | actualRedraw (void) |
Friends | |
class | vpSimulator |
Viewer used by the simulator.
Under Windows, the viewer is based either on SoWin or SoQt. Under Unix, the viewer is based on SoQt or SoXt.
Definition at line 117 of file vpViewer.h.
Enumerator | |
---|---|
internalView | |
externalView |
Definition at line 128 of file vpViewer.h.
vpViewer::vpViewer | ( | HWND | parent, |
vpSimulator * | simu, | ||
vpViewerType | type | ||
) |
Definition at line 55 of file vpViewer.cpp.
|
virtual |
Definition at line 74 of file vpViewer.cpp.
|
virtual |
Definition at line 76 of file vpViewer.cpp.
References vpSimulator::bufferView, vpSimulator::get, vpSimulator::getInternalHeight(), vpSimulator::getInternalWidth(), vpSimulator::grayImage, vpSimulator::image_background, internalView, and vpSimulator::typeImage.
void vpViewer::resize | ( | int | x, |
int | y, | ||
bool | fixed = false |
||
) |
x | : width |
y | : height |
fixed | : set as true to disable mouse window resizing |
Definition at line 131 of file vpViewer.cpp.
References vpSimulator::cMf, vpSimulator::getExternalCameraPosition(), vpPoseVector::load(), vpSimulator::moveInternalCamera(), vpPoseVector::print(), vpHomogeneousMatrix::save(), vpPoseVector::save(), and vpSimulator::setCameraPosition().
Referenced by vpSimulator::initExternalViewer(), and vpSimulator::initInternalViewer().
|
friend |
Definition at line 125 of file vpViewer.h.