title: Removing point clouds inside a given box
body: <p>I would like to implement a code where I can remove certain points of the point clouds inside a given box. This is what I have so far:</p>
  
  <pre><code>void removePoints(){
  
      pcl::CropBox&lt;pcl::PointXYZI&gt; boxFilter;
      float x_min = -0.15, y_min = -0.5, z_min = -0.7;
      float x_max = +1, y_max = +2, z_max = +5;
      boxFilter.setMin(Eigen::Vector4f(x_min, y_min, z_min, 1.0));
      boxFilter.setMax(Eigen::Vector4f(x_max, y_max, z_max, 1.0));
  
      boxFilter.setInputCloud(cloud);
      boxFilter.filter(*newCloud);
  
      viewer-&gt;removeAllPointClouds();
  
      cloudLabel=new int[newCloud-&gt;size()];
      memset(cloudLabel, 0, newCloud-&gt;size()*sizeof(int));
  
      ui-&gt;label_filename-&gt;setText(QString::fromStdString(pointcloudFileName));
      colorHandler.setInputCloud(newCloud);
      colorHandler.setLabel(cloudLabel);
      viewer-&gt;addPointCloud&lt;PointT&gt;(newCloud,colorHandler,"cloud",0);
  
  
      viewer-&gt;resetCamera();
      viewer-&gt;updatePointCloud&lt;PointT&gt;(newCloud,"cloud");
  
      ui-&gt;qvtkWidget-&gt;update();
  
  
      std::cout&lt;&lt;"Removal done"&lt;&lt;std::endl;
      viewer-&gt;addCube(x_min, x_max, y_min, y_max, z_min, z_max, 1, 0, 0, "cube");
      viewer-&gt;setShapeRenderingProperties(pcl::visualization::PCL_VISUALIZER_COLOR,
      0.7, 0.7, 0, "cube");
       viewer-&gt;setRepresentationToWireframeForAllActors();
  }
  </code></pre>
  
  <p>This code remove the points outside the box rather than the inside. Is there a way to inverse pcl::CropBox process?</p>