OpenDAFF C++ API  v1.7
Directional Audio File Format
Public Member Functions | Public Attributes | List of all members
DAFFPropertiesImpl Class Reference

Implements the interface of DAFFProperties. More...

#include <DAFFPropertiesImpl.h>

Inheritance diagram for DAFFPropertiesImpl:
DAFFProperties

Public Member Functions

 DAFFPropertiesImpl ()
 
 DAFFPropertiesImpl (const DAFFProperties *pProps)
 Copy constructor. More...
 
 ~DAFFPropertiesImpl ()
 
DAFFPropertiesImploperator= (const DAFFProperties &oProps)
 Assignment operator. More...
 
virtual int getFileFormatVersion () const
 Returns the DAFF version of the file format. More...
 
virtual int getContentType () const
 Returns the content type. More...
 
virtual int getQuantization () const
 Returns the quantization of the data elements. More...
 
virtual int getNumberOfChannels () const
 Returns the number of channels. More...
 
virtual int getNumberOfRecords () const
 Returns the overall number of records. More...
 
virtual std::string getChannelLabel (int iChannel) const
 Returns the label of a channel. More...
 
virtual int getAlphaPoints () const
 
virtual float getAlphaResolution () const
 
virtual float getAlphaStart () const
 
virtual float getAlphaEnd () const
 
virtual float getAlphaSpan () const
 
virtual int getBetaPoints () const
 
virtual float getBetaResolution () const
 
virtual float getBetaStart () const
 
virtual float getBetaEnd () const
 
virtual float getBetaSpan () const
 
virtual void getDefaultOrientation (DAFFOrientationYPR &o) const
 Returns the default orientation as stored in the file. More...
 
virtual void setDefaultOrientation ()
 Sets/alters the default orientation manually. More...
 
virtual void getOrientation (DAFFOrientationYPR &o) const
 Returns the current orientation of the object view. More...
 
virtual void setOrientation (const DAFFOrientationYPR &o)
 Sets the current orientation of the object view. More...
 
virtual bool coversFullAlphaRange () const
 Indicates whether the data covers the full alpha range [0°, 360°) More...
 
virtual bool coversFullBetaRange () const
 Indicates whether the data covers the full beta range [0°, 180°]. More...
 
virtual bool coversFullSphere () const
 Indicates whether the data covers the full sphere. More...
 
- Public Member Functions inherited from DAFFProperties
virtual ~DAFFProperties ()
 Destructor. More...
 

Public Attributes

int m_iFileFormatVersion
 
int m_iContentType
 
int m_iQuantization
 
int m_iNumChannels
 
int m_iNumRecords
 
int m_iAlphaPoints
 
int m_iBetaPoints
 
float m_fAlphaStart
 
float m_fAlphaEnd
 
float m_fAlphaResolution
 
float m_fBetaStart
 
float m_fBetaEnd
 
float m_fBetaResolution
 
DAFFOrientationYPRm_pOrientationDefault
 
DAFFSCTransformm_pTrans
 
std::vector< std::string > m_vChannelLabels
 

Detailed Description

Implements the interface of DAFFProperties.

Definition at line 22 of file DAFFPropertiesImpl.h.

Constructor & Destructor Documentation

DAFFPropertiesImpl::DAFFPropertiesImpl ( )
inline

Definition at line 26 of file DAFFPropertiesImpl.h.

DAFFPropertiesImpl::DAFFPropertiesImpl ( const DAFFProperties pProps)
inline

Copy constructor.

Definition at line 45 of file DAFFPropertiesImpl.h.

DAFFPropertiesImpl::~DAFFPropertiesImpl ( )
inline

Definition at line 51 of file DAFFPropertiesImpl.h.

Member Function Documentation

virtual bool DAFFPropertiesImpl::coversFullAlphaRange ( ) const
inlinevirtual

Indicates whether the data covers the full alpha range [0°, 360°)

Implements DAFFProperties.

Definition at line 220 of file DAFFPropertiesImpl.h.

virtual bool DAFFPropertiesImpl::coversFullBetaRange ( ) const
inlinevirtual

Indicates whether the data covers the full beta range [0°, 180°].

Implements DAFFProperties.

Definition at line 230 of file DAFFPropertiesImpl.h.

virtual bool DAFFPropertiesImpl::coversFullSphere ( ) const
inlinevirtual

Indicates whether the data covers the full sphere.

Implements DAFFProperties.

Definition at line 240 of file DAFFPropertiesImpl.h.

virtual float DAFFPropertiesImpl::getAlphaEnd ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 145 of file DAFFPropertiesImpl.h.

virtual int DAFFPropertiesImpl::getAlphaPoints ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 127 of file DAFFPropertiesImpl.h.

virtual float DAFFPropertiesImpl::getAlphaResolution ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 133 of file DAFFPropertiesImpl.h.

virtual float DAFFPropertiesImpl::getAlphaSpan ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 151 of file DAFFPropertiesImpl.h.

virtual float DAFFPropertiesImpl::getAlphaStart ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 139 of file DAFFPropertiesImpl.h.

virtual float DAFFPropertiesImpl::getBetaEnd ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 180 of file DAFFPropertiesImpl.h.

virtual int DAFFPropertiesImpl::getBetaPoints ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 162 of file DAFFPropertiesImpl.h.

virtual float DAFFPropertiesImpl::getBetaResolution ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 168 of file DAFFPropertiesImpl.h.

virtual float DAFFPropertiesImpl::getBetaSpan ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 186 of file DAFFPropertiesImpl.h.

virtual float DAFFPropertiesImpl::getBetaStart ( ) const
inlinevirtual

Implements DAFFProperties.

Definition at line 174 of file DAFFPropertiesImpl.h.

virtual std::string DAFFPropertiesImpl::getChannelLabel ( int  iChannel) const
inlinevirtual

Returns the label of a channel.

Implements DAFFProperties.

Definition at line 119 of file DAFFPropertiesImpl.h.

virtual int DAFFPropertiesImpl::getContentType ( ) const
inlinevirtual

Returns the content type.

Implements DAFFProperties.

Definition at line 95 of file DAFFPropertiesImpl.h.

virtual void DAFFPropertiesImpl::getDefaultOrientation ( DAFFOrientationYPR o) const
inlinevirtual

Returns the default orientation as stored in the file.

Implements DAFFProperties.

Definition at line 194 of file DAFFPropertiesImpl.h.

virtual int DAFFPropertiesImpl::getFileFormatVersion ( ) const
inlinevirtual

Returns the DAFF version of the file format.

Returns
File format version number (i.e. 170)

Implements DAFFProperties.

Definition at line 89 of file DAFFPropertiesImpl.h.

virtual int DAFFPropertiesImpl::getNumberOfChannels ( ) const
inlinevirtual

Returns the number of channels.

Implements DAFFProperties.

Definition at line 107 of file DAFFPropertiesImpl.h.

virtual int DAFFPropertiesImpl::getNumberOfRecords ( ) const
inlinevirtual

Returns the overall number of records.

Implements DAFFProperties.

Definition at line 113 of file DAFFPropertiesImpl.h.

virtual void DAFFPropertiesImpl::getOrientation ( DAFFOrientationYPR o) const
inlinevirtual

Returns the current orientation of the object view.

Implements DAFFProperties.

Definition at line 206 of file DAFFPropertiesImpl.h.

virtual int DAFFPropertiesImpl::getQuantization ( ) const
inlinevirtual

Returns the quantization of the data elements.

Implements DAFFProperties.

Definition at line 101 of file DAFFPropertiesImpl.h.

DAFFPropertiesImpl& DAFFPropertiesImpl::operator= ( const DAFFProperties oProps)
inline

Assignment operator.

Definition at line 57 of file DAFFPropertiesImpl.h.

virtual void DAFFPropertiesImpl::setDefaultOrientation ( )
inlinevirtual

Sets/alters the default orientation manually.

Implements DAFFProperties.

Definition at line 200 of file DAFFPropertiesImpl.h.

virtual void DAFFPropertiesImpl::setOrientation ( const DAFFOrientationYPR o)
inlinevirtual

Sets the current orientation of the object view.

Implements DAFFProperties.

Definition at line 212 of file DAFFPropertiesImpl.h.

Member Data Documentation

float DAFFPropertiesImpl::m_fAlphaEnd

Definition at line 255 of file DAFFPropertiesImpl.h.

float DAFFPropertiesImpl::m_fAlphaResolution

Definition at line 255 of file DAFFPropertiesImpl.h.

float DAFFPropertiesImpl::m_fAlphaStart

Definition at line 255 of file DAFFPropertiesImpl.h.

float DAFFPropertiesImpl::m_fBetaEnd

Definition at line 255 of file DAFFPropertiesImpl.h.

float DAFFPropertiesImpl::m_fBetaResolution

Definition at line 255 of file DAFFPropertiesImpl.h.

float DAFFPropertiesImpl::m_fBetaStart

Definition at line 255 of file DAFFPropertiesImpl.h.

int DAFFPropertiesImpl::m_iAlphaPoints

Definition at line 243 of file DAFFPropertiesImpl.h.

int DAFFPropertiesImpl::m_iBetaPoints

Definition at line 243 of file DAFFPropertiesImpl.h.

int DAFFPropertiesImpl::m_iContentType

Definition at line 243 of file DAFFPropertiesImpl.h.

int DAFFPropertiesImpl::m_iFileFormatVersion

Definition at line 243 of file DAFFPropertiesImpl.h.

int DAFFPropertiesImpl::m_iNumChannels

Definition at line 243 of file DAFFPropertiesImpl.h.

int DAFFPropertiesImpl::m_iNumRecords

Definition at line 243 of file DAFFPropertiesImpl.h.

int DAFFPropertiesImpl::m_iQuantization

Definition at line 243 of file DAFFPropertiesImpl.h.

DAFFOrientationYPR* DAFFPropertiesImpl::m_pOrientationDefault

Definition at line 262 of file DAFFPropertiesImpl.h.

DAFFSCTransform* DAFFPropertiesImpl::m_pTrans

Definition at line 263 of file DAFFPropertiesImpl.h.

std::vector<std::string> DAFFPropertiesImpl::m_vChannelLabels

Definition at line 264 of file DAFFPropertiesImpl.h.


The documentation for this class was generated from the following file:
OpenDAFF is a project from the Institute of Technical Acoustics, RWTH Aachen University, Germany.