base class for plotting a persistence diagram using OpenGL
More...
#include <persistencediagramplotgl.h>
|
enum class | Type { Death
, Persistence
} |
|
using | ToolTipFunc = void(PickingEvent*, size_t) |
|
using | ToolTipCallbackHandle = std::shared_ptr<std::function<ToolTipFunc>> |
|
using | SelectionFunc = void(const BitSet&) |
|
using | SelectionCallbackHandle = std::shared_ptr<std::function<SelectionFunc>> |
|
|
| PersistenceDiagramPlotGL (Processor *processor=nullptr) |
|
void | plot (Image &dest, IndexBuffer *indices=nullptr, bool useAxisRanges=false) |
|
void | plot (Image &dest, const Image &src, IndexBuffer *indices=nullptr, bool useAxisRanges=false) |
|
void | plot (ImageOutport &dest, IndexBuffer *indices=nullptr, bool useAxisRanges=false) |
|
void | plot (ImageOutport &dest, ImageInport &src, IndexBuffer *indices=nullptr, bool useAxisRanges=false) |
|
void | plot (const ivec2 &start, const ivec2 &size, IndexBuffer *indices=nullptr, bool useAxisRanges=false) |
|
void | setXAxisLabel (const std::string &label) |
|
void | setYAxisLabel (const std::string &label) |
|
void | setXAxis (std::shared_ptr< const Column > col) |
|
void | setYAxis (std::shared_ptr< const Column > col, Type type=Type::Death) |
|
void | setXAxisData (std::shared_ptr< const BufferBase > buffer) |
|
void | setYAxisData (std::shared_ptr< const BufferBase > buffer) |
|
void | setColorData (std::shared_ptr< const BufferBase > buffer) |
|
void | setIndexColumn (std::shared_ptr< const TemplateColumn< uint32_t > > indexcol) |
|
void | setSelectedIndices (const BitSet &indices) |
|
ToolTipCallbackHandle | addToolTipCallback (std::function< ToolTipFunc > callback) |
|
SelectionCallbackHandle | addSelectionChangedCallback (std::function< SelectionFunc > callback) |
|
|
void | plot (const size2_t &dims, IndexBuffer *indices, bool useAxisRanges) |
|
void | renderLines (const size2_t &dims, const std::vector< uint32_t > &diagonalIndices, const std::vector< uint32_t > &indices) |
|
void | renderPoints (const size2_t &dims, const std::vector< uint32_t > &indices) |
|
void | renderAxis (const size2_t &dims) |
|
void | objectPicked (PickingEvent *p) |
|
uint32_t | getGlobalPickId (uint32_t localIndex) const |
|
|
Type | type = Type::Death |
|
std::shared_ptr< const BufferBase > | xAxis_ |
|
std::shared_ptr< const BufferBase > | yAxis_ |
|
std::shared_ptr< const BufferBase > | color_ |
|
std::shared_ptr< const TemplateColumn< uint32_t > > | indexColumn_ |
|
vec2 | minmaxX_ |
|
vec2 | minmaxY_ |
|
vec2 | minmaxC_ |
|
vec2 | minmaxR_ |
|
std::array< AxisRenderer, 2 > | axisRenderers_ |
|
PickingMapper | picking_ |
|
BitSet | selectedIndices_ |
|
std::set< uint32_t > | hoveredIndices_ |
|
Processor * | processor_ |
|
Dispatcher< ToolTipFunc > | tooltipCallback_ |
|
Dispatcher< SelectionFunc > | selectionChangedCallback_ |
|
base class for plotting a persistence diagram using OpenGL
The documentation for this class was generated from the following file:
- persistencediagramplotgl.h