| 2186 | } |
| 2187 | |
| 2188 | void Viewer::initClippingPlaneObject_() |
| 2189 | { |
| 2190 | std::shared_ptr<Mesh> plane = std::make_shared<Mesh>( makePlane() ); |
| 2191 | clippingPlaneObject = std::make_shared<ObjectMesh>(); |
| 2192 | clippingPlaneObject->setMesh( plane ); |
| 2193 | clippingPlaneObject->setName( "Clipping plane obj" ); |
| 2194 | clippingPlaneObject->setVisible( false ); |
| 2195 | clippingPlaneObject->setFrontColor( Color( Vector4f::diagonal( 0.2f ) ), false ); |
| 2196 | clippingPlaneObject->setBackColor( Color( Vector4f::diagonal( 0.2f ) ) ); |
| 2197 | } |
| 2198 | |
| 2199 | void Viewer::initRotationCenterObject_() |
| 2200 | { |
nothing calls this directly
no test coverage detected