GETN_XYZRANGE

 

Name

GETN_XYZRANGE

Declaration

#define     GETN_XYZRANGE(_NODE_NAME, _NODE_LABEL, _NUM_DATA, _VALUE)                             octree_create_composite_range_node(&_tmpSubNode, &_tmpNode, #_NODE_NAME, _NODE_LABEL, _NUM_DATA, CRT_XYZ, _VALUE);

Remark

The macro allow user to select XYZRange as data

Parameters

_NODE_NAME
[input] The node name of the control
_NODE_LABEL
[input] Label of the control
_NUM_DATA
[input] The number of subrange in this data range
_VALUE
[input] Initial value of the DataRange. If not empty, function okutil_getn_update_ranges should be called.

Return

Examples

EX1

#include <GetNbox.h>
void GETN_XYZRANGE_ex1()
{
    GETN_BOX(trRoot)
    GETN_XYZRANGE(Input, "Input Data", 1, "")
    if ( GetNBox(trRoot) )
        out_tree(trRoot);
    return;
}

See Also

GETN_RANGE, GETN_XYRANGE, GETN_XYRANGE_COMPLEX, GETN_INTERACTIVE

Okutil_getn_update_ranges

header to Include

GetNBox.h

Reference