MCPcopy Create free account
hub / github.com/RenderKit/ospray / commit

Method commit

apps/common/ospray_testing/builders/UnstructuredVolumeGen.cpp:160–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158// Inlined definitions ////////////////////////////////////////////////////
159
160void 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
172cpp::Group UnstructuredVolumeGen::buildGroup() const
173{

Callers 2

buildGroupMethod · 0.45
buildWorldMethod · 0.45

Calls 1

commitFunction · 0.50

Tested by

no test coverage detected