OEColorForceFieldLegendDisplayOptions

class OEColorForceFieldLegendDisplayOptions

This class represents OEColorForceFieldLegendDisplayOptions that encapsulates properties that determine how the legend of a color force field is depicted by the OEDrawColorForceFieldLegend function.

Constructors

OEColorForceFieldLegendDisplayOptions(unsigned int rows, unsigned int cols)

Creates an OEColorForceFieldLegendDisplayOptions object with the specified number of rows and columns..

rows
The number of rows in the legend.
cols
The number of columns in the legend.
OEColorForceFieldLegendDisplayOptions(const OEColorForceFieldLegendDisplayOptions &rhs)

Copy constructor.

operator=

OEColorForceFieldLegendDisplayOptions &
  operator=(const OEColorForceFieldLegendDisplayOptions &rhs)

Assignment operator.

NumCols

unsigned int NumCols() const

Returns the number of columns of the legend.

NumRows

unsigned int NumRows() const

Returns the number of rows of the legend.