| 43 | } |
| 44 | |
| 45 | void Interpolation::SetUp() |
| 46 | { |
| 47 | Base::SetUp(); |
| 48 | |
| 49 | framebuffer = |
| 50 | cpp::FrameBuffer(imgSize.x, imgSize.y, frameBufferFormat, idBuffer); |
| 51 | |
| 52 | instances.clear(); |
| 53 | |
| 54 | auto builder = ospray::testing::newBuilder("interpolation"); |
| 55 | ospray::testing::setParam(builder, "rendererType", rendererType); |
| 56 | ospray::testing::setParam(builder, "useSubd", useSubd); |
| 57 | ospray::testing::setParam(builder, "attribute", attribute); |
| 58 | ospray::testing::setParam(builder, "interpolation", interpolation); |
| 59 | ospray::testing::commit(builder); |
| 60 | |
| 61 | world = ospray::testing::buildWorld(builder); |
| 62 | ospray::testing::release(builder); |
| 63 | } |
| 64 | |
| 65 | inline uint8_t to_uc(const float f) |
| 66 | { |
nothing calls this directly
no test coverage detected