OpenCPN Partial API docs
|
A specialized GribRecordSet that represents temporally interpolated weather data with isobar rendering optimizations. More...
#include <GribUIDialog.h>
Public Member Functions | |
GribTimelineRecordSet (unsigned int cnt) | |
Creates a timeline record set containing temporally interpolated GRIB records. | |
void | ClearCachedData () |
![]() | |
GribRecordSet (unsigned int id) | |
Creates an empty record set. | |
void | SetUnRefGribRecord (int i, GribRecord *pGR) |
Sets a GRIB record that this set owns and will be responsible for deleting. | |
void | RemoveGribRecords () |
Removes and deletes all GRIB records owned by this set. | |
Public Attributes | |
wxArrayPtrVoid * | m_IsobarArray [Idx_COUNT] |
Array of cached isobar calculations for each data type (wind, pressure, etc). | |
![]() | |
time_t | m_Reference_Time |
Reference time for this set of records. | |
unsigned int | m_ID |
Unique identifier for this record set. | |
GribRecord * | m_GribRecordPtrArray [Idx_COUNT] |
Array of pointers to GRIB records representing different meteorological parameters. | |
A specialized GribRecordSet that represents temporally interpolated weather data with isobar rendering optimizations.
While GribRecordSet simply holds meteorological parameters at a point in time, GribTimelineRecordSet provides:
This class is used when:
Definition at line 128 of file GribUIDialog.h.
GribTimelineRecordSet::GribTimelineRecordSet | ( | unsigned int | cnt | ) |
Creates a timeline record set containing temporally interpolated GRIB records.
Timeline record sets store cached data like isobar calculations to optimize rendering performance during animation playback.
cnt | Source GRIB file identifier used to trace record origins |
Definition at line 133 of file GribUIDialog.cpp.
GribTimelineRecordSet::~GribTimelineRecordSet | ( | ) |
Definition at line 138 of file GribUIDialog.cpp.
void GribTimelineRecordSet::ClearCachedData | ( | ) |
Definition at line 143 of file GribUIDialog.cpp.
wxArrayPtrVoid* GribTimelineRecordSet::m_IsobarArray[Idx_COUNT] |
Array of cached isobar calculations for each data type (wind, pressure, etc).
Each element is a pointer to a wxArrayPtrVoid containing IsoLine objects. Used to speed up rendering by avoiding recalculation of isobars.
Definition at line 153 of file GribUIDialog.h.