OpenCPN Partial API docs
Loading...
Searching...
No Matches
GribTimelineRecordSet Class Reference

A specialized GribRecordSet that represents temporally interpolated weather data with isobar rendering optimizations. More...

#include <GribUIDialog.h>

Inheritance diagram for GribTimelineRecordSet:
GribRecordSet

Public Member Functions

 GribTimelineRecordSet (unsigned int cnt)
 Creates a timeline record set containing temporally interpolated GRIB records.
 
void ClearCachedData ()
 
- Public Member Functions inherited from GribRecordSet
 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).
 
- Public Attributes inherited from GribRecordSet
time_t m_Reference_Time
 Reference time for this set of records.
 
unsigned int m_ID
 Unique identifier for this record set.
 
GribRecordm_GribRecordPtrArray [Idx_COUNT]
 Array of pointers to GRIB records representing different meteorological parameters.
 

Detailed Description

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:

  1. Temporally interpolated records between two time points.
  2. Cached calculations for visualization (e.g., isobars).

This class is used when:

  • Displaying weather conditions between available GRIB timestamps.
  • Animating weather evolution over time.
  • Rendering isobars, isotherms, and other derived visualizations.
See also
GribRecordSet for basic parameter storage.
GetTimeLineRecordSet() for how interpolation is performed.

Definition at line 128 of file GribUIDialog.h.

Constructor & Destructor Documentation

◆ GribTimelineRecordSet()

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.

Parameters
cntSource GRIB file identifier used to trace record origins

Definition at line 133 of file GribUIDialog.cpp.

◆ ~GribTimelineRecordSet()

GribTimelineRecordSet::~GribTimelineRecordSet ( )

Definition at line 138 of file GribUIDialog.cpp.

Member Function Documentation

◆ ClearCachedData()

void GribTimelineRecordSet::ClearCachedData ( )

Definition at line 143 of file GribUIDialog.cpp.

Member Data Documentation

◆ m_IsobarArray

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.


The documentation for this class was generated from the following files: