GetDataDoubleNumber
Description
GetDataDoubleNumber returns the number of parameters to be displayed in the tree.
Syntax
GetDataDoubleNumber(unsigned int& ounDataDoubleNb);
Parameters
Output
ounDataDoubleNb: number of parameters returned.
Example
To get a full example of the API use, download the .Plugin
#define OPT_PLUGIN_NO_ERROR 0
std::vector
OPT_HOA_API int GetDataDoubleNumber(unsigned int& ounDataDoubleNb)
{
// Check if input and output vector are not empty
ounDataDoubleNb = (unsigned int)gvDisplayData.size();
return OPT_PLUGIN_NO_ERROR;
}