| 158 | // Inlined definitions //////////////////////////////////////////////////// |
| 159 | |
| 160 | void UnstructuredVolumeGen::commit() |
| 161 | { |
| 162 | Builder::commit(); |
| 163 | |
| 164 | showCells = getParam<bool>("showCells", false); |
| 165 | densityScale = getParam<float>("densityScale", showCells ? 100.f : 3.f); |
| 166 | tfOpacityMap = getParam<std::string>( |
| 167 | "tf.opacityMap", showCells ? "opaque" : "linearInv"); |
| 168 | |
| 169 | addPlane = false; |
| 170 | } |
| 171 | |
| 172 | cpp::Group UnstructuredVolumeGen::buildGroup() const |
| 173 | { |
no test coverage detected