Jamoma API  0.6.0.a19
Rose3D.h
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspTrajectoryLib
4  *
5  * @brief Rose Function Unit in 3D for Jamoma DSP
6  *
7  * @details see http://mathworld.wolfram.com/Rose.html for details @n
8  *
9  * @authors Nils Peters
10  *
11  * @copyright Copyright © 2011 by Nils Peters @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 __ROSE_3D_H__
18 #define __ROSE_3D_H__
19 
20 #include "TTDSP.h"
21 
22 
23 class Rose3D : TTAudioObjectBase {
24  TTCLASS_SETUP(Rose3D)
25 
26 protected:
27 
28  TTFloat64 mA, mB, mC, mDeltaX, mDeltaY, mDeltaZ;
29 
30  /** A standard audio processing method as used by Jamoma DSP objects.
31  @param inputs The input vector that is to be processed.
32  @param outputs The resulting windowed vector.
33  @return #TTErr error code if the method fails to execute, else #kTTErrNone.
34  */
35  TTErr processAudio(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs);
36 
37  TTErr setA(const TTValue& value);
38  TTErr setB(const TTValue& value);
39  TTErr setC(const TTValue& value);
40  TTErr setDeltaX(const TTValue& value);
41  TTErr setDeltaY(const TTValue& value);
42  TTErr setDeltaZ(const TTValue& value);
43 };
44 
45 
46 #endif // __Rose3D_H__
TTAudioObjectBase is the base class for all audio generating and processing objects in Jamoma DSP...
Jamoma DSP Library.
double TTFloat64
64 bit floating point number
Definition: TTBase.h:188
#define TTCLASS_SETUP(className)
TODO Doxygen: need more comments here.
Definition: TTFoundation.h:54
A simple container for an array of TTAudioSignal pointers.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
[doxygenAppendixC_copyExample]
Definition: TTValue.h:34