/////////////////////////////////////////////////////////////////////////////////////////
| 89 | |
| 90 | ////////////////////////////////////////////////////////////////////////////////////////////// |
| 91 | void |
| 92 | pcl::modeler::PointsActorItem::updateImpl() |
| 93 | { |
| 94 | vtkSmartPointer<vtkDataArray> scalars; |
| 95 | cloud_mesh_->getColorScalarsFromField(scalars, color_scheme_); |
| 96 | poly_data_->GetPointData()->SetScalars(scalars); |
| 97 | |
| 98 | double minmax[2]; |
| 99 | scalars->GetRange(minmax); |
| 100 | actor_->GetMapper()->SetScalarRange(minmax); |
| 101 | } |
| 102 | |
| 103 | ////////////////////////////////////////////////////////////////////////////////////////////// |
| 104 | void |
nothing calls this directly
no test coverage detected