VISR  0.12.0
Versatile Interactive Scene Renderer
visr::objectmodel::PointSourceExtent Class Reference

#include <point_source_extent.hpp>

Inheritance diagram for visr::objectmodel::PointSourceExtent:
visr::objectmodel::PointSourceWithDiffuseness visr::objectmodel::PointSource visr::objectmodel::Object

Public Member Functions

 PointSourceExtent ()=delete
 
 PointSourceExtent (ObjectId id)
 
virtual ~PointSourceExtent ()
 
ObjectTypeId type () const override
 
std::unique_ptr< Objectclone () const override
 
Coordinate width () const
 
Coordinate height () const
 
Coordinate depth () const
 
void setWidth (Coordinate newWidth)
 
void setHeight (Coordinate newHeight)
 
void setDepth (Coordinate newDepth)
 
- Public Member Functions inherited from visr::objectmodel::PointSourceWithDiffuseness
 PointSourceWithDiffuseness ()=delete
 
 PointSourceWithDiffuseness (ObjectId id)
 
virtual ~PointSourceWithDiffuseness ()
 
ObjectTypeId type () const
 
std::unique_ptr< Objectclone () const
 
Coordinate diffuseness () const
 
void setDiffuseness (Coordinate newDiffuseness)
 
- Public Member Functions inherited from visr::objectmodel::PointSource
 PointSource ()=delete
 
 PointSource (ObjectId id)
 
virtual ~PointSource ()
 
Coordinate x () const
 
Coordinate y () const
 
Coordinate z () const
 
bool channelLock () const
 
Coordinate channelLockDistance () const
 
void setChannelLock (Coordinate newDistance=cAlwaysChannelLock)
 
void unsetChannelLock ()
 
void setX (Coordinate newX)
 
void setY (Coordinate newY)
 
void setZ (Coordinate newZ)
 
- Public Member Functions inherited from visr::objectmodel::Object
 Object ()=delete
 
 Object (ObjectId id)
 
virtual ~Object ()=0
 
ObjectId id () const
 
GroupId groupId () const
 
void setGroupId (ObjectId newId)
 
LevelType level () const
 
void setLevel (LevelType newLevel)
 
Priority priority () const
 
void setPriority (Priority newPriority)
 
rbbl::ParametricIirCoefficientList< Coordinate > const & eqCoefficients () const
 
void setEqCoefficients (rbbl::ParametricIirCoefficientList< Coordinate > const &newCoeffs)
 
std::size_t numberOfChannels () const
 
ChannelIndex channelIndex (std::size_t index) const
 
void resetNumberOfChannels (std::size_t numChannels)
 
void setChannelIndex (std::size_t index, ChannelIndex channelIndex)
 

Additional Inherited Members

- Public Types inherited from visr::objectmodel::Object
using Coordinate = float
 
using Priority = unsigned char
 
using ChannelIndex = unsigned int
 
- Static Public Attributes inherited from visr::objectmodel::Object
static const ObjectId cInvalidObjectId = UINT_MAX
 
static const GroupId cDefaultGroupId = 0
 
static const ChannelIndex cInvalidChannelIndex = UINT_MAX
 
- Protected Attributes inherited from visr::objectmodel::PointSourceWithDiffuseness
Coordinate mDiffuseness
 

Constructor & Destructor Documentation

◆ PointSourceExtent() [1/2]

visr::objectmodel::PointSourceExtent::PointSourceExtent ( )
delete

◆ PointSourceExtent() [2/2]

visr::objectmodel::PointSourceExtent::PointSourceExtent ( ObjectId  id)
explicit

◆ ~PointSourceExtent()

visr::objectmodel::PointSourceExtent::~PointSourceExtent ( )
virtualdefault

Member Function Documentation

◆ clone()

std::unique_ptr< Object > visr::objectmodel::PointSourceExtent::clone ( ) const
overridevirtual

Clone function used to emulate 'virtual copy constructor' functionality. Must be implemented in every derived instantiated class.

Reimplemented from visr::objectmodel::PointSource.

◆ depth()

Coordinate visr::objectmodel::PointSourceExtent::depth ( ) const
inline

◆ height()

Coordinate visr::objectmodel::PointSourceExtent::height ( ) const
inline

◆ setDepth()

void visr::objectmodel::PointSourceExtent::setDepth ( Coordinate  newDepth)

◆ setHeight()

void visr::objectmodel::PointSourceExtent::setHeight ( Coordinate  newHeight)

◆ setWidth()

void visr::objectmodel::PointSourceExtent::setWidth ( Coordinate  newWidth)

◆ type()

ObjectTypeId visr::objectmodel::PointSourceExtent::type ( ) const
overridevirtual

Reimplemented from visr::objectmodel::PointSource.

◆ width()

Coordinate visr::objectmodel::PointSourceExtent::width ( ) const
inline

Width of the source extent, in degrees


The documentation for this class was generated from the following files: