ImageViewerControl PTZ control

Hi all,

I noticed the embedded PTZ control in the ImageViewerControl behaves not the same way the SmartClient does (uncontrollable movements). According to the SDK, ImageViewer uses PTZCenter command with click events.

Is there a way to get the same look and feel of the Smart Client in the ImageViewer? (also the arrow instead of the crosshair).

Regards,

Michael

The Virtual Joystick in the Smart Client is Smart Client code which is not exposed in the MIP SDK.

-That unfortunately means there is no easy way.

If you need a virtual joystick functionality in your application you will have to develop it yourself. This will be possible, the functionality you need is in the PTZandPresets sample, it is in the “continues move” section of the sample.

For clarification let me add. When using the ImageViewerControl clicking directly in the control you will be using click to center functionality. You can explore the same in the Smart client if you go in to settings (Gear icon) and on the Application tab set ‘Default PTZ click mode’ to Click-to-center. Historically this was the way PTZ work till the Virtual Joystick was invented / developed.

Is there a way to do our own on-click events? For example if we have a custom ptz that you guys don’t support and we wanted to capture our own on-click events from the activex and send them to the camera directly?

You should not use activeX in a Smart Client plugin.