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