Jamoma API  0.6.0.a19
TTSpatDBAPSource.h
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspSpatLib
4  *
5  * @brief The #TTSpatDBAPSource class provides an extended description of a source as compared to the #TTSpatSource class that it inherits from.
6  *
7  * @details It is extended to describe source width.
8  *
9  * @authors Trond Lossius, Timothy Place, Nils Peters,
10  *
11  * @copyright Copyright © 2011 by Trond Lossius, Nils Peters, and Timothy Place @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 
17 #ifndef __SPATDBAPSOURCE_H__
18 #define __SPATDBAPSOURCE_H__
19 
20 #include "TTDSP.h"
21 #include "TTSpatEntity.h"
22 
23 
24 class TTSpatDBAPSource : public TTSpatSource {
25 
26 public:
27 
28  TTSpatDBAPSource();
29  ~TTSpatDBAPSource();
30 
31  /** Width may be expressed in different ways? Typically a normalized coefficient (0.0 to 1.0)
32  */
33  void getWidth(TTFloat64& aWidth);
34 
35 
36  /** Width may be expressed in different ways? Typically a normalized coefficient (0.0 to 1.0)
37  */
38  void setWidth(TTFloat64 aWidth);
39 
40 
41 };
42 
43 
44 /** Pointer to a vector of #TTSpatEntity points.
45  @ingroup typedefs
46  */
47 typedef std::vector<TTSpatDBAPSource> TTSpatDBAPSourceVector;
48 
49 
50 
51 #endif // __SPATDBAPSOURCE_H__
The TTSpatSource class extends and specialise the TTSpatEntity class to provide attributes and method...
Definition: TTSpatEntity.h:86
TTSpatEntity describes the geometry of a point, and TTSpatSource and TTSpatSink specialise this furth...
Jamoma DSP Library.
double TTFloat64
64 bit floating point number
Definition: TTBase.h:188
std::vector< TTSpatDBAPSource > TTSpatDBAPSourceVector
Pointer to a vector of TTSpatEntity points.