FLDFget_node_data_veclen
FLDFset_node_data_veclen
Synopsis
get/set the number of subcomponents within one Node_Data component
INTEGER FLDFget_node_data_veclen (field, comp, veclen)
INTEGER field(OIDSIZ)
INTEGER comp
INTEGER veclen
INTEGER FLDFset_node_data_veclen (field, comp, veclen)
INTEGER field(OIDSIZ)
INTEGER comp
INTEGER veclen
Description
These routines set and get the veclen (number of subcomponents) within a single Node_Data Data_Array component. For example, an RGB image's veclen would be 3.
This veclen can be used to calculate the second index into the values[nvals][veclen] data array.
Note: veclens are often set as part of the FLDFset_node_data_comp routine rather than with FLDFset_node_data_veclen.
Parameters
field
The integer id of a field that contains a Node_Data subobject.
comp
An integer that specifies which component [0-n] of the Node_Data to use.
veclen
In FLDFget_node_data_veclen, veclen is the number of subcomponents that will be returned.
In FLDFset_node_data_veclen, veclen sets the number of subcomponents.
veclens are numbered from 1-n. Whether you actually need to set veclen if veclen=1 depends on how your functions are coded. AVS/Express modules and functions that manipulate Node_Data either assume veclen=1 or require that veclen be set.