Activex controls in visual c, 3d graph control, Figure 3-1. activex 3d graph control – National Instruments Measurement Studio User Manual

Page 27

Advertising
background image

Chapter 3

Measurement Studio Visual C++ Class Libraries

Measurement Studio User Manual

3-2

ni.com

ActiveX Controls in Visual C++

ActiveX controls are specialized COM servers that implement a specific set
of interfaces. The Measurement Studio Visual C++ button, graph, knob,
numeric edit, slide, and 3D Graph are ActiveX controls. Measurement
Studio includes classes that provide native C++ interfaces to the ActiveX
controls. For example, the

CNiGraph

class provides an interface to the

CWGraph ActiveX graph control.

The Measurement Studio classes that provide interfaces to the
Measurement Studio ActiveX controls simplify using ActiveX controls in
Visual C++ interfaces and programs. The features that simplify this process
include overloaded functions, the ability to call the control from any thread,
and automatic data type translations.

3D Graph Control

Use the Measurement Studio ActiveX 3D graph control, as shown in
Figure 3-1, to plot three-dimensional data. The 3D graph is included only
in the Measurement Studio Enterprise package.

Figure 3-1. ActiveX 3D Graph Control

With the Measurement Studio ActiveX 3D graph control and the classes
that interface with the control, you can perform the following operations:

Plot three-dimensional data, including curves and surfaces.

Configure the control to render directly to OpenGL-enabled hardware
accelerator cards.

Advertising