#include <point_source.hpp>
◆ PointSource() [1/2]
visr::objectmodel::PointSource::PointSource |
( |
| ) |
|
|
delete |
◆ PointSource() [2/2]
visr::objectmodel::PointSource::PointSource |
( |
ObjectId |
id | ) |
|
|
explicit |
◆ ~PointSource()
visr::objectmodel::PointSource::~PointSource |
( |
| ) |
|
|
virtualdefault |
◆ channelLock()
bool visr::objectmodel::PointSource::channelLock |
( |
| ) |
const |
Query whether the "channel lock" feature is active. In this case, the sound source is moved to the nearest loudspeaker if the angular distance to the nearest loudspeaker is less than channelLockDistance().
◆ channelLockDistance()
Return the currently set channel lock distance (angular distance in degree). If the channel lock feature is inactive, 0 is returned. The "always lock" setting returns +inf.
◆ clone()
std::unique_ptr< Object > visr::objectmodel::PointSource::clone |
( |
| ) |
const |
|
overridevirtual |
◆ setChannelLock()
void visr::objectmodel::PointSource::setChannelLock |
( |
Coordinate |
newDistance = cAlwaysChannelLock | ) |
|
|
inline |
Set the channel lock distance. When called with a nonzero value, channel lock is automatically activated. A value >= 180 (degree) or the default value (+inf) corresponds to "always lock".
◆ setX()
void visr::objectmodel::PointSource::setX |
( |
Coordinate |
newX | ) |
|
◆ setY()
void visr::objectmodel::PointSource::setY |
( |
Coordinate |
newY | ) |
|
◆ setZ()
void visr::objectmodel::PointSource::setZ |
( |
Coordinate |
newZ | ) |
|
◆ type()
◆ unsetChannelLock()
void visr::objectmodel::PointSource::unsetChannelLock |
( |
| ) |
|
|
inline |
Deactivate the channel lock feature. This sets the lock distance to zero.
◆ x()
Coordinate visr::objectmodel::PointSource::x |
( |
| ) |
const |
|
inline |
◆ y()
Coordinate visr::objectmodel::PointSource::y |
( |
| ) |
const |
|
inline |
◆ z()
Coordinate visr::objectmodel::PointSource::z |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files:
- /var/lib/gitlab-runner/builds/a23a46af/0/s3a/VISR/src/libobjectmodel/point_source.hpp
- /var/lib/gitlab-runner/builds/a23a46af/0/s3a/VISR/src/libobjectmodel/point_source.cpp