title: PCL - error C2039: 'PointType' : is not a member of 'boost::shared_ptr<T>'
body: <p>I'm trying to implement some code from the pcl <a href="http://pointclouds.org/documentation/tutorials/narf_keypoint_extraction.php" rel="nofollow noreferrer">NARF tutorial</a></p>
  <p>But this code:</p>
  <pre><code>boost::shared_ptr&lt;pcl::RangeImage&gt; range_image_ptr (new pcl::RangeImage); 
  pcl::RangeImage&amp; range_image = *range_image_ptr;   
  range_image.createFromPointCloud (point_cloud, angular_resolution, pcl::deg2rad (360.0f), pcl::deg2rad (180.0f), scene_sensor_pose, coordinate_frame,oise_level, min_range, border_size);
  </code></pre>
  <p>always results in the following errors:</p>
  <blockquote>
  <p>error C2039: 'PointType' : is not a member of
  'boost::shared_ptr'    C:\CLibraries\PCL
  1.5.1\include\pcl-1.5\pcl\range_image\impl\range_image.hpp    193</p>
  <p>error C2039: 'points' : is not a member of
  'boost::shared_ptr'    C:\CLibraries\PCL
  1.5.1\include\pcl-1.5\pcl\range_image\impl\range_image.hpp    194</p>
  </blockquote>
  <p>Does anyone have an idea how to fix it?</p>