Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpViewer Class Reference

#include <vpViewer.h>

Inheritance diagram for vpViewer:

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

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.

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

Definition at line 114 of file vpViewer.h.

Member Enumeration Documentation

◆ vpViewerType

Enumerator
internalView 
externalView 

Definition at line 125 of file vpViewer.h.

Constructor & Destructor Documentation

◆ vpViewer()

BEGIN_VISP_NAMESPACE vpViewer::vpViewer ( HWND parent,
vpSimulator * simu,
vpViewerType type )

Definition at line 51 of file vpViewer.cpp.

References vpSimulator, and vpViewer().

Referenced by vpViewer().

◆ ~vpViewer()

vpViewer::~vpViewer ( )
virtual

Definition at line 69 of file vpViewer.cpp.

Member Function Documentation

◆ actualRedraw()

void vpViewer::actualRedraw ( void )
virtual

Definition at line 71 of file vpViewer.cpp.

References vpSimulator::grayImage, and internalView.

◆ resize()

void vpViewer::resize ( int x,
int y,
bool fixed = false )
Parameters
x: width
y: height
fixed: set as true to disable mouse window resizing

Definition at line 126 of file vpViewer.cpp.

◆ vpSimulator

friend class vpSimulator
friend

Definition at line 122 of file vpViewer.h.

References vpSimulator.

Referenced by vpSimulator, and vpViewer().