#include <ClSurface.hpp>
Definition at line 63 of file ClSurface.hpp.
 
◆ ClSurface()
      
        
          | lvr2::ClSurface::ClSurface | ( | floatArr & | points, | 
        
          |  |  | size_t | num_points, | 
        
          |  |  | int | device = 0 | 
        
          |  | ) |  |  | 
      
 
 
◆ ~ClSurface()
      
        
          | lvr2::ClSurface::~ClSurface | ( |  | ) |  | 
      
 
 
◆ calculateNormals()
      
        
          | void lvr2::ClSurface::calculateNormals | ( |  | ) |  | 
      
 
Starts calculation the normals on GPU. 
Definition at line 62 of file ClSurface.cpp.
 
 
◆ distances()
      
        
          | void lvr2::ClSurface::distances | ( | std::vector< QueryPoint< Vec > > & | query_points, | 
        
          |  |  | float | voxel_size | 
        
          |  | ) |  |  | 
      
 
 
◆ finalizeCl()
  
  | 
        
          | void lvr2::ClSurface::finalizeCl | ( |  | ) |  |  | private | 
 
 
◆ freeGPU()
      
        
          | void lvr2::ClSurface::freeGPU | ( |  | ) |  | 
      
 
 
◆ getDeviceInformation()
  
  | 
        
          | void lvr2::ClSurface::getDeviceInformation | ( | int | platform_id = 0, |  
          |  |  | int | device_id = 0 |  
          |  | ) |  |  |  | private | 
 
 
◆ getErrorString()
  
  | 
        
          | const char * lvr2::ClSurface::getErrorString | ( | cl_int | error | ) |  |  | private | 
 
 
◆ getNormals()
      
        
          | void lvr2::ClSurface::getNormals | ( | floatArr | output_normals | ) |  | 
      
 
Get the resulting normals of the normal calculation. After calling "start". 
- Parameters
- 
  
    | output_normals | PointArray as return value |  
 
Definition at line 177 of file ClSurface.cpp.
 
 
◆ init()
  
  | 
        
          | void lvr2::ClSurface::init | ( |  | ) |  |  | private | 
 
 
◆ initCl()
  
  | 
        
          | void lvr2::ClSurface::initCl | ( |  | ) |  |  | private | 
 
 
◆ initKdTree()
  
  | 
        
          | void lvr2::ClSurface::initKdTree | ( |  | ) |  |  | private | 
 
 
◆ loadEstimationKernel()
  
  | 
        
          | void lvr2::ClSurface::loadEstimationKernel | ( |  | ) |  |  | private | 
 
 
◆ loadInterpolationKernel()
  
  | 
        
          | void lvr2::ClSurface::loadInterpolationKernel | ( |  | ) |  |  | private | 
 
 
◆ setFlippoint()
      
        
          | void lvr2::ClSurface::setFlippoint | ( | float | v_x, | 
        
          |  |  | float | v_y, | 
        
          |  |  | float | v_z | 
        
          |  | ) |  |  | 
      
 
Set the viewpoint to orientate the normals. 
- Parameters
- 
  
    | v_x | Coordinate X axis |  | v_y | Coordinate Y axis |  | v_z | Coordinate Z axis |  
 
Definition at line 200 of file ClSurface.cpp.
 
 
◆ setKd()
      
        
          | void lvr2::ClSurface::setKd | ( | int | kd | ) |  | 
      
 
Set the number of k nearest neighbors k-neighborhood for distance. 
- Parameters
- 
  
    | k | The size of the used k-neighborhood |  
 
Definition at line 195 of file ClSurface.cpp.
 
 
◆ setKi()
      
        
          | void lvr2::ClSurface::setKi | ( | int | ki | ) |  | 
      
 
Set the number of k nearest neighbors k-neighborhood for interpolation. 
- Parameters
- 
  
    | k | The size of the used k-neighborhood |  
 
Definition at line 190 of file ClSurface.cpp.
 
 
◆ setKn()
      
        
          | void lvr2::ClSurface::setKn | ( | int | kn | ) |  | 
      
 
Set the number of k nearest neighbors k-neighborhood. 
- Parameters
- 
  
    | k | The size of the used k-neighborhood |  
 
Definition at line 185 of file ClSurface.cpp.
 
 
◆ setMethod()
      
        
          | void lvr2::ClSurface::setMethod | ( | std::string | method | ) |  | 
      
 
Set Method for normal calculation. 
- Parameters
- 
  
  
Definition at line 207 of file ClSurface.cpp.
 
 
◆ setReconstructionMode()
      
        
          | void lvr2::ClSurface::setReconstructionMode | ( | bool | mode = true | ) |  | 
      
 
Reconstuction Mode: Points stay in gpu until reconstruction is finished 
Definition at line 218 of file ClSurface.cpp.
 
 
◆ D_kd_tree_splits
  
  | 
        
          | cl_mem lvr2::ClSurface::D_kd_tree_splits |  | private | 
 
 
◆ D_kd_tree_values
  
  | 
        
          | cl_mem lvr2::ClSurface::D_kd_tree_values |  | private | 
 
 
◆ D_Normals
  
  | 
        
          | cl_mem lvr2::ClSurface::D_Normals |  | private | 
 
 
◆ D_V
  
  | 
        
          | cl_mem lvr2::ClSurface::D_V |  | private | 
 
 
◆ kd_tree_gen
  
  | 
        
          | boost::shared_ptr<LBKdTree> lvr2::ClSurface::kd_tree_gen |  | private | 
 
 
◆ kd_tree_splits
  
  | 
        
          | LBPointArray<unsigned char>* lvr2::ClSurface::kd_tree_splits |  | private | 
 
 
◆ kd_tree_values
◆ m_calc_method
  
  | 
        
          | int lvr2::ClSurface::m_calc_method |  | private | 
 
 
◆ m_command_queue
  
  | 
        
          | cl_command_queue lvr2::ClSurface::m_command_queue |  | private | 
 
 
◆ m_context
  
  | 
        
          | cl_context lvr2::ClSurface::m_context |  | private | 
 
 
◆ m_device_global_memory
  
  | 
        
          | cl_ulong lvr2::ClSurface::m_device_global_memory |  | private | 
 
 
◆ m_device_id
  
  | 
        
          | cl_device_id lvr2::ClSurface::m_device_id |  | private | 
 
 
◆ m_k
◆ m_kd
  
  | 
        
          | int lvr2::ClSurface::m_kd |  | private | 
 
 
◆ m_kernel_normal_estimation
  
  | 
        
          | cl_kernel lvr2::ClSurface::m_kernel_normal_estimation |  | private | 
 
 
◆ m_kernel_normal_interpolation
  
  | 
        
          | cl_kernel lvr2::ClSurface::m_kernel_normal_interpolation |  | private | 
 
 
◆ m_ki
  
  | 
        
          | int lvr2::ClSurface::m_ki |  | private | 
 
 
◆ m_mps
  
  | 
        
          | cl_uint lvr2::ClSurface::m_mps |  | private | 
 
 
◆ m_platform_id
  
  | 
        
          | cl_platform_id lvr2::ClSurface::m_platform_id |  | private | 
 
 
◆ m_program_es
  
  | 
        
          | cl_program lvr2::ClSurface::m_program_es |  | private | 
 
 
◆ m_program_in
  
  | 
        
          | cl_program lvr2::ClSurface::m_program_in |  | private | 
 
 
◆ m_reconstruction_mode
  
  | 
        
          | bool lvr2::ClSurface::m_reconstruction_mode |  | private | 
 
 
◆ m_ret
  
  | 
        
          | cl_int lvr2::ClSurface::m_ret |  | private | 
 
 
◆ m_threads_per_block
  
  | 
        
          | cl_uint lvr2::ClSurface::m_threads_per_block |  | private | 
 
 
◆ m_vx
  
  | 
        
          | float lvr2::ClSurface::m_vx |  | private | 
 
 
◆ m_vy
  
  | 
        
          | float lvr2::ClSurface::m_vy |  | private | 
 
 
◆ m_vz
  
  | 
        
          | float lvr2::ClSurface::m_vz |  | private | 
 
 
◆ NORMAL_ESTIMATION_KERNEL_STRING
  
  | 
        
          | const char* lvr2::ClSurface::NORMAL_ESTIMATION_KERNEL_STRING |  | private | 
 
 
◆ NORMAL_INTERPOLATION_KERNEL_STRING
  
  | 
        
          | const char* lvr2::ClSurface::NORMAL_INTERPOLATION_KERNEL_STRING |  | private | 
 
 
◆ Result_Normals
The documentation for this class was generated from the following files: