A structure to hold a "shallow" copy of a SampleEngine structure It contains only the data from a SampleEngine which is required to render the grain visualiser.
More...
#include <GrainVisualiser.h>
A structure to hold a "shallow" copy of a SampleEngine structure It contains only the data from a SampleEngine which is required to render the grain visualiser.
◆ analysisResultsAreValid()
| bool krotos::SampleEngineShallow::analysisResultsAreValid |
( |
| ) |
|
|
inline |
◆ getAnalysisCoefficients()
◆ getGrainArray()
| std::vector< Grain > & krotos::SampleEngineShallow::getGrainArray |
( |
| ) |
|
|
inline |
◆ getGrainDescriptionByZ()
| std::vector< AudioDescriptor > & krotos::SampleEngineShallow::getGrainDescriptionByZ |
( |
| ) |
|
|
inline |
◆ shallowCopy()
| void krotos::SampleEngineShallow::shallowCopy |
( |
SampleEngine * | sampleEngine | ) |
|
Make a shallow copy of a sample engine This might have been this class's constructor, but I want to leave the way open to allow copying data to an already created class, to allow for comparison of existing data with incoming (especially background grains), and then skipping the data copy if no change It may well turn out that comparing takes longer than copyinhg though!
- Parameters
-
| sampleEngine | Pointer to the sample engine we wish to copy from |
◆ shouldRegenerateDisplayCache()
| bool krotos::SampleEngineShallow::shouldRegenerateDisplayCache |
( |
| ) |
|
|
inline |
◆ m_analysisCoefficients
◆ m_analysisResultsAreValid
| bool krotos::SampleEngineShallow::m_analysisResultsAreValid {false} |
|
private |
◆ m_grainDescriptionByZ
| std::vector<AudioDescriptor> krotos::SampleEngineShallow::m_grainDescriptionByZ |
|
private |
◆ m_grains
| std::vector<Grain> krotos::SampleEngineShallow::m_grains |
◆ m_shouldRegenerateDisplayCache
| bool krotos::SampleEngineShallow::m_shouldRegenerateDisplayCache {false} |
|
private |
The documentation for this class was generated from the following files: