PCLLoad¶
- MLModule¶
genre
author
package
dll
definition
see also
inherits from
keywords
Purpose¶
This module loads a point cloud from a given file into memory and provides it at the output connector. The type of the point cloud can be selected and whether the file shall be loaded automatically or not. See pcl::PCDReader, pcl::PLYReader and pcl::ASCIIReader for details.
Windows¶
Default Panel¶
Output Fields¶
outputPCLObject0¶
- name: outputPCLObject0, type: MLBase¶
The connector where the created point cloud is provided to other modules. This module does not set up any indices in the output base object.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For additional parameter information see pcl::PCDReader and pcl::PLYReader.
Visible Fields¶
Status¶
- name: status, type: String, persistent: no¶
see PCLModule.status
Full File Path¶
- name: fullFilePath, type: String¶
The absolute file path from which the point cloud shall be loaded. It must end with a suffix recognized by the loader. Currently “.ply” and “.pcd” are supported or, if
Load Raw ASCIIis on, the suffix specified inRaw ASCIIFile Extension.
Output Point Cloud Type¶
- name: outputPointCloudType, type: Enum, default: ML_PCL_POINT_XYZ¶
Output Point Cloud Typeis a selector for the desired type of the load point cloud. All supported types in the MeVisLab PCL binding are shown.
Load Raw ASCII¶
- name: loadRawASCII, type: Bool, default: FALSE¶
If
Load Raw ASCIIis off then PLY and PCD files can be loaded; ifLoad Raw ASCIIis on then raw ASCII files can be loaded if the format of point data fields inRaw ASCIIFile Point Fieldsexplicitly describes the format of point lines and the file. The file extension has to be set correctly inRaw ASCIIFile Extension. Then the file is read line by line and its ASCII values are converted to points. For the format and other requirements of point data in the file seeRaw ASCIIFile Point Fields.
Raw ASCIIFile Extension¶
- name: rawASCIIFileExtension, type: String, default: .txt¶
The extension of the file to be loaded if
Load Raw ASCIIis on.
Raw ASCIIFile Point Fields¶
- name: rawASCIIFilePointFields, type: String, default: x y z normal_x normal_y normal_z intensity¶
Describes the format of any point line in the file to be read if
Load Raw ASCIIis on. As separator characters for points spaces, comma, horizontal tabs and carriage return are accepted. Point field values which are not in the stored file will be left on its default value. Each lines in the read file will be associated to a created point as long as it is not marked with a preceeding #. Files with a non matching number of fields are not read, and their corresponding points are left on default values.Read as uint32-values:
label
rgba
Read as uint8-values:
r
g
b
a
boundary_point
All other members are read as float and are named as the corresponding fields of pcl points. As a hint have a look at
PCLInfo.pointStructure. If you need to skip a parameter then specify a name which does not appear as point member, for example dummy or so.
Auto Load¶
- name: autoLoad, type: Bool, default: FALSE¶
If enabled then a file load is tried whenever the file name if not empty and the
Full File Pathchanges; if disabled thenLoadmust be triggered to perform loading.
Load¶
- name: load, type: Trigger¶
Performs the actual file load operation.
Success¶
- name: fileIOHasSucceeded, type: Bool, persistent: no¶
This flag is reset to false on any parameter change, only after a successful load operation it is set to true. It can be used to check whether the lastmost load operation has been completed successfully.