Reads .rxp files.  
 More...
#include <RxpIO.hpp>
Reads .rxp files. 
Definition at line 52 of file RxpIO.hpp.
◆ read() [1/2]
  
  | 
        
          | ModelPtr lvr2::RxpIO::read | ( | std::string | filename | ) |  |  | virtual | 
 
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 
Implements lvr2::BaseIO.
Definition at line 44 of file RxpIO.cpp.
 
 
◆ read() [2/2]
      
        
          | ModelPtr lvr2::RxpIO::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 
Definition at line 49 of file RxpIO.cpp.
 
 
◆ save()
  
  | 
        
          | void lvr2::RxpIO::save | ( | std::string | filename | ) |  |  | virtual | 
 
 
The documentation for this class was generated from the following files: