Convert Data Type
Function
This Step is used to convert the input data type to the specified output data type by customizing the data types of the input and output ports.
Usage Scenario
This Step is a general data conversion Step, with no fixed usage scenarios. It can be connected with other Steps according to actual data-type conversion requirements.
Data Conversion Relationship
The conversion relationships between input data types and output data types are shown in the table below. You can configure the input data type and output data type according to the actual requirement.
Bool[] |
Number[] |
Index[] |
JsonValue[] |
Matrix4D[] |
Pose[] |
Pose2D[] |
Quaternion[] |
Shape2D[] |
Shape3D[] |
Size3D[] |
String[] |
Vector3D[] |
|
Bool[] |
- |
√ |
√ |
√ |
|||||||||
Number[] |
√ |
- |
√ |
√ |
√ |
||||||||
Index[] |
√ |
√ |
- |
√ |
|||||||||
JsonValue[] |
√ |
√ |
√ |
- |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
Matrix4D[] |
√ |
- |
√ |
||||||||||
Pose[] |
√ |
- |
√ |
||||||||||
Pose2D[] |
√ |
- |
√ |
||||||||||
Quaternion[] |
√ |
- |
√ |
||||||||||
Shape2D[] |
√ |
- |
√ |
||||||||||
Shape3D[] |
√ |
- |
√ |
||||||||||
Size3D[] |
√ |
- |
√ |
||||||||||
String[] |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
- |
√ |
Vector3D[] |
√ |
√ |
- |
Parameter Description
| Parameter | Description |
|---|---|
Input Data Type |
Parameter description: This parameter specifies the data type of the input port. The corresponding input port is generated based on the selection.
|
Output Data Type |
Parameter description: This parameter specifies the data type of the output port. The corresponding output port is generated based on the selection.
|
|
You should pay attention to the dependency relationship between input port and output port while using this Step:
|