CAViewer::SetCompIndex

CAViewer class

Sets the component index values.

BOOL SetCompIndex(
  long XComp,
  long YComp,
  long ZComp = -1,
  long WComp = -1
  );

Parameters

XComp
The X component index.

YComp
The Y component index.

ZComp
The Z component index.

WComp
The W component index.

Return Value

Returns TRUE if the operation was successful; otherwise, FALSE.

Remarks

Each index value must be an integer between -1 and n-1, where n is the number of columns (that is, the extent of the c dimension of the array, where c is the current column dimension). If a value of -1 is used, that component is not included in the graph. Otherwise, the vector component is derived from the given array index.

In Vector Graph mode, data values are graphed as a sequence of <x, y, z, w> vectors, where each vector component is extracted from the array based on the component index values.

See Also

CAViewer::GetCompIndex, CAViewer::GetRowColDim