Class RxpIO

Inheritance Relationships

Base Type

Class Documentation

class RxpIO : public lvr2::ModelIOBase

Reads .rxp files.

Public Functions

virtual ModelPtr read(std::string filename)

Reads .rxp files.

Parameters:

filename – the path to file that should be read

Returns:

returns a ModelPtr with the pointcloud data or if it was unable to read the file it returns an empty ModelPtr

ModelPtr read(std::string filename, int reduction_factor, const Transformd &transform)

Reads .rxp files.

Parameters:
  • filename – the path to file that should be read

  • reduction_factor – only saves a point if (point_number % reduction_factor == 0). So it only saves every reduction_factor th point. If reduction factor is 1, every point will be saved and if it is smaller than 1 it will be set to 1 automatically.

  • transform – every Point will be transformed with the given tranformation matrix before it is put into the pointcloud

Returns:

returns a ModelPtr with the pointcloud data or if it was unable to read the file it returns an empty ModelPtr

virtual void save(std::string filename)

This function is not supported and will do nothing.