| 272 | } |
| 273 | |
| 274 | double LinkedScene::boundSampleInterval( double time, size_t &floorIndex, size_t &ceilIndex ) const |
| 275 | { |
| 276 | if (!m_sampled) |
| 277 | { |
| 278 | throw Exception( "boundSampleInterval not supported: LinkedScene is pointing to a non-sampled scene!" ); |
| 279 | } |
| 280 | if ( m_linkedScene ) |
| 281 | { |
| 282 | if ( m_timeRemapped ) |
| 283 | { |
| 284 | return static_cast<const SampledSceneInterface*>(m_mainScene.get())->attributeSampleInterval( timeLinkAttribute, time, floorIndex, ceilIndex ); |
| 285 | } |
| 286 | else |
| 287 | { |
| 288 | return static_cast<const SampledSceneInterface*>(m_linkedScene.get())->boundSampleInterval(time,floorIndex,ceilIndex); |
| 289 | } |
| 290 | } |
| 291 | else |
| 292 | { |
| 293 | return static_cast<const SampledSceneInterface*>(m_mainScene.get())->boundSampleInterval(time,floorIndex,ceilIndex); |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | Imath::Box3d LinkedScene::readBoundAtSample( size_t sampleIndex ) const |
| 298 | { |
nothing calls this directly
no test coverage detected