| 1007 | } |
| 1008 | |
| 1009 | double LinkedScene::objectSampleInterval( double time, size_t &floorIndex, size_t &ceilIndex ) const |
| 1010 | { |
| 1011 | if (!m_sampled) |
| 1012 | { |
| 1013 | throw Exception( "objectSampleInterval not supported: LinkedScene is pointing to a non-sampled scene!" ); |
| 1014 | } |
| 1015 | if ( m_linkedScene ) |
| 1016 | { |
| 1017 | if ( m_timeRemapped ) |
| 1018 | { |
| 1019 | return static_cast<const SampledSceneInterface*>(m_mainScene.get())->attributeSampleInterval( timeLinkAttribute, time, floorIndex, ceilIndex ); |
| 1020 | } |
| 1021 | else |
| 1022 | { |
| 1023 | return static_cast<const SampledSceneInterface*>(m_linkedScene.get())->objectSampleInterval(time,floorIndex,ceilIndex); |
| 1024 | } |
| 1025 | } |
| 1026 | else |
| 1027 | { |
| 1028 | return static_cast<const SampledSceneInterface*>(m_mainScene.get())->objectSampleInterval(time,floorIndex,ceilIndex); |
| 1029 | } |
| 1030 | } |
| 1031 | |
| 1032 | ConstObjectPtr LinkedScene::readObjectAtSample( size_t sampleIndex, const Canceller *canceller ) const |
| 1033 | { |
nothing calls this directly
no test coverage detected