Visual Servoing Platform  version 3.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
vpViewer Class Reference

#include <visp3/ar/vpViewer.h>

+ Inheritance diagram for vpViewer:

Public Types

enum  vpViewerType { internalView, externalView }

Public Member Functions

 vpViewer (HWND parent, vpSimulator *simu, vpViewerType viewerType)
virtual ~vpViewer ()
void resize (int x, int y, bool fixed=false)
virtual void actualRedraw (void)


class vpSimulator

Detailed Description

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.

This class is only available if Coin3D and one of the GUI (SoWin, SoXT, SoQt) are installed.

Definition at line 117 of file vpViewer.h.

Member Enumeration Documentation


Definition at line 128 of file vpViewer.h.

Constructor & Destructor Documentation

vpViewer::vpViewer ( HWND  parent,
vpSimulator simu,
vpViewerType  viewerType 

Definition at line 55 of file vpViewer.cpp.

vpViewer::~vpViewer ( )

Definition at line 75 of file vpViewer.cpp.

Member Function Documentation

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 144 of file vpViewer.cpp.

Referenced by vpSimulator::initExternalViewer(), and vpSimulator::initInternalViewer().

Friends And Related Function Documentation

friend class vpSimulator

Definition at line 125 of file vpViewer.h.