NX Open C++ Reference Guide
|
Represents the Field Table class. More...
Represents the Field Table class.
A field (see Fields::Field ) defined in terms of tabular data involving one or more look-up independent columns and one or more dependent variables (see Fields::FieldVariable ) which depend on the look-up columns.
To obtain a instance of this class use Fields::FieldManager .
Created in NX6.0.0.
Interpolation type This enumeration has been deprecated use Fields::FieldEvaluator::InterpolationEnum instead.
void NXOpen::Fields::FieldTable::EditFieldTable | ( | const std::vector< NXOpen::Fields::FieldVariable * > & | indepVarArray, |
const std::vector< NXOpen::Fields::FieldVariable * > & | depVarArray, | ||
const std::vector< double > & | datapoints | ||
) |
Edit the table field.
Specifies the new array of Fields::FieldVariable s for independent and dependent variables, as well as the new double values.
Created in NX6.0.0.
License requirements : None
indepVarArray | independent variables to be associated with the field |
depVarArray | dependent expression fields to be associated with the formula field |
datapoints | row based array of double values representing the table; then number of points should equal the number of independent variables * the number of dependent variables * the number of rows. |
std::vector<double> NXOpen::Fields::FieldTable::GetData | ( | NXOpen::Fields::FieldVariable * | variable | ) |
Returns the values for the given Fields::FieldVariable in this Fields::FieldTable .
The input Fields::FieldVariable should be retrieved from the field using Fields::Field::GetIndependentVariables or Fields::Field::GetDependentVariables . The values are in the same Unit as specified on the Fields::FieldVariable .
variable | variable whose table values are to be returned |
NXOpen::Fields::FieldEvaluator::InterpolationEnum NXOpen::Fields::FieldTable::InterpolationMethod | ( | ) |
Returns the interpolation method used when this table data is evaluated.
Created in NX7.5.2.
License requirements : None
void NXOpen::Fields::FieldTable::LoadFromFile | ( | const NXString & | filename, |
NXOpen::Fields::FieldTable::LoadFileOption | loadFileOption | ||
) |
Populate the table from a file replacing or appending data
Created in NX6.0.1.
License requirements : None
filename | file to read rows from NOTE: The full Unicode character set is not supported for this parameter. |
loadFileOption | append or replace |
void NXOpen::Fields::FieldTable::SetInterpolation | ( | int | interpolationMethod | ) |
Specified interpolation method, this method was deprecated in NX7.5.2 please use Fields::FieldTable::InterpolationMethod and Fields::FieldTable::SetInterpolationMethod instead.
Created in NX6.0.0.
License requirements : None
interpolationMethod | specified interpolation method; Fields::FieldTable interpolation enum values for builtin methods. |
void NXOpen::Fields::FieldTable::SetInterpolationMethod | ( | NXOpen::Fields::FieldEvaluator::InterpolationEnum | interpolationMethod | ) |
Sets the interpolation method used when this table data is evaluated.
Created in NX7.5.2.
License requirements : None
interpolationMethod | the interpolation method |