| 390 | } |
| 391 | |
| 392 | double LinkedScene::transformSampleInterval( double time, size_t &floorIndex, size_t &ceilIndex ) const |
| 393 | { |
| 394 | if (!m_sampled) |
| 395 | { |
| 396 | throw Exception( "transformSampleInterval not supported: LinkedScene is pointing to a non-sampled scene!" ); |
| 397 | } |
| 398 | if ( m_linkedScene && !m_atLink ) |
| 399 | { |
| 400 | if ( m_timeRemapped ) |
| 401 | { |
| 402 | return static_cast<const SampledSceneInterface*>(m_mainScene.get())->attributeSampleInterval( timeLinkAttribute, time, floorIndex, ceilIndex ); |
| 403 | } |
| 404 | else |
| 405 | { |
| 406 | return static_cast<const SampledSceneInterface*>(m_linkedScene.get())->transformSampleInterval(time,floorIndex,ceilIndex); |
| 407 | } |
| 408 | } |
| 409 | else |
| 410 | { |
| 411 | return static_cast<const SampledSceneInterface*>(m_mainScene.get())->transformSampleInterval(time,floorIndex,ceilIndex); |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | ConstDataPtr LinkedScene::readTransformAtSample( size_t sampleIndex ) const |
| 416 | { |
nothing calls this directly
no test coverage detected