Context data for a single channel being displayed within a WaveformArea.
More...
#include <WaveformArea.h>
|
| DisplayedChannel (StreamDescriptor stream, Session &session) |
|
YAML::Node | Serialize (IDTable &table) const |
| Serializes the configuration for this channel.
|
|
std::string | GetName () |
|
StreamDescriptor | GetStream () |
|
std::shared_ptr< Texture > | GetTexture () |
|
void | SetTexture (std::shared_ptr< Texture > tex) |
|
void | PrepareToRasterize (size_t x, size_t y) |
| Prepares to rasterize the waveform at the specified resolution.
|
|
bool | UpdateSize (ImVec2 newSize, MainWindow *top) |
| Handles a change in size of the displayed waveform. More...
|
|
AcceleratorBuffer< float > & | GetRasterizedWaveform () |
|
size_t | GetRasterizedX () |
| Return the X axis size of the rasterized waveform.
|
|
size_t | GetRasterizedY () |
| Return the Y axis size of the rasterized waveform.
|
|
| __attribute__ ((noinline)) std |
| Gets the pipeline for drawing uniform analog waveforms, creating it if necessary.
|
|
| __attribute__ ((noinline)) std |
| Gets the pipeline for drawing histogram waveforms, creating it if necessary.
|
|
| __attribute__ ((noinline)) std |
| Gets the pipeline for drawing sparse analog waveforms, creating it if necessary.
|
|
| __attribute__ ((noinline)) std |
| Gets the pipeline for drawing uniform digital waveforms, creating it if necessary.
|
|
| __attribute__ ((noinline)) std |
| Gets the pipeline for drawing sparse digital waveforms, creating it if necessary.
|
|
std::shared_ptr< ComputePipeline > | GetToneMapPipeline () |
|
bool | ZeroHoldFlagSet () |
|
bool | IsDensePacked () |
|
bool | ShouldFillUnder () |
|
bool | ZeroHoldCursorBehaviour () |
|
bool | ShouldMapDurations () |
|
bool | IsPersistenceEnabled () |
|
void | SetPersistenceEnabled (bool b) |
|
AcceleratorBuffer< uint32_t > & | GetIndexBuffer () |
|
void | SetYButtonPos (float y) |
|
float | GetYButtonPos () |
|
|
std::vector< PeakLabel > | m_peakLabels |
| Active labels for peaks associated with the current waveform.
|
|
std::string | m_colorRamp |
|
|
StreamDescriptor | m_stream |
|
Session & | m_session |
| Parent session object.
|
|
AcceleratorBuffer< float > | m_rasterizedWaveform |
| Buffer storing our rasterized waveform, prior to tone mapping.
|
|
AcceleratorBuffer< uint32_t > | m_indexBuffer |
| Buffer for X axis indexes (only used for sparse waveforms)
|
|
size_t | m_rasterizedX |
| X axis size of rasterized waveform.
|
|
size_t | m_rasterizedY |
| Y axis size of rasterized waveform.
|
|
std::shared_ptr< Texture > | m_texture |
| The texture storing our final rendered waveform.
|
|
size_t | m_cachedX |
| X axis size of the texture as of last UpdateSize() call.
|
|
size_t | m_cachedY |
| Y axis size of the texture as of last UpdateSize() call.
|
|
bool | m_persistenceEnabled |
| Persistence enable flag.
|
|
std::shared_ptr< ComputePipeline > | m_toneMapPipe |
| Compute pipeline for tone mapping fp32 images to RGBA.
|
|
std::shared_ptr< ComputePipeline > | m_uniformAnalogComputePipeline |
| Compute pipeline for rendering uniform analog waveforms.
|
|
std::shared_ptr< ComputePipeline > | m_histogramComputePipeline |
| Compute pipeline for rendering histogram waveforms.
|
|
std::shared_ptr< ComputePipeline > | m_sparseAnalogComputePipeline |
| Compute pipeline for rendering sparse analog waveforms.
|
|
std::shared_ptr< ComputePipeline > | m_uniformDigitalComputePipeline |
| Compute pipeline for rendering uniform digital waveforms.
|
|
std::shared_ptr< ComputePipeline > | m_sparseDigitalComputePipeline |
| Compute pipeline for rendering sparse digital waveforms.
|
|
float | m_yButtonPos |
| Y axis position of our button within the view.
|
|
std::unique_ptr< vk::raii::CommandPool > | m_utilCmdPool |
|
std::unique_ptr< vk::raii::CommandBuffer > | m_utilCmdBuffer |
|
Context data for a single channel being displayed within a WaveformArea.
◆ UpdateSize()
bool DisplayedChannel::UpdateSize |
( |
ImVec2 |
newSize, |
|
|
MainWindow * |
top |
|
) |
| |
Handles a change in size of the displayed waveform.
- Parameters
-
- Returns
- true if size has changed, false otherwise
The documentation for this class was generated from the following files: