RotatingPlot.SetDrawingMode

Prototypes

void SetDrawingMode( int nMode )

Parameters

int nMode
A predefined constant specifying the desired mode. The valid values are OFF, TRANSPARENTMESH, OPAQUEMESH, BLOCKCOLORMESH, SMOOTHCOLORMESH, STACKEDCONTOURS, and STACKEDCONTOURSMESH.

Remarks

This method specifies the mode (technique) to use to draw a surface that is fitted to the data. The available modes are:

OFF
The surface is not drawn.

TRANSPARENTMESH
The surface is drawn as a wire mesh, but hidden line removal is not performed.

OPAQUEMESH
The surface is drawn as a wire mesh and hidden line removal is performed.

BLOCKCOLORMESH
The surface is drawn using a triangular decomposition of rectangles in which each rectangle receives a single color.

SMOOTHCOLORMESH
The surface is drawn using a triangular decomposition of rectangles in which each triangle receives a single color.

STACKEDCONTOURS
The surface is not drawn but the contour levels are drawn.

STACKEDCONTOURSMESH
This mode is a combination of the OPAQUEMESH and STACKEDCONTOURS modes.

Example
x = { 0 10 10  0 1 9 9 1 2 8 8 2 3 7 7 3 4 6 6 4 5 };
y = { 0  0 10 10 1 1 9 9 2 2 8 8 3 3 7 7 4 4 6 6 5 };
z = { 0  0  0  0 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 5 };
declare RotatingPlot plot = RotatingPlot.Create( "Pyramid", x, y, z, false );
plot.SetDrawingMode( OPAQUEMESH );
plot.ShowWindow();