Rise
The Vieneo Province
Loading...
Searching...
No Matches
WeatherRadarModel::Scanner Class Reference

#include <WeatherRadarModel.h>

Collaboration diagram for WeatherRadarModel::Scanner:
[legend]

Public Member Functions

void Reset ()
const std::array< Beam, Bearings > & Beams () const
int Bearing () const
int Direction () const
template<class Sampler>
void Update (Input in, double elapsed, Sampler sample, Display &out)

Private Member Functions

template<class Sampler>
void Acquire (const Input &in, Sampler &sample)
template<class Sampler>
void AcquireLook (const Input &in, Sampler &sample, Beam &beam, Point ray, Point up, const std::array< Sample, Gates > &profile, double tilt)
void Prepare (const Input &in, Display &out) const

Static Private Member Functions

static Point Direction (const Input &in, double degrees)
static Quad Geometry (const Beam &beam, int begin, int end, double radius, uint32_t color)

Private Attributes

std::array< Beam, Bearings > beams {}
bool running =false
Input previous {}
double clock =0
double pending =0
double sourceAge =0
int bearing =0
int direction =1

Detailed Description

Definition at line 151 of file WeatherRadarModel.h.

Member Function Documentation

◆ Acquire()

template<class Sampler>
void WeatherRadarModel::Scanner::Acquire ( const Input & in,
Sampler & sample )
inlineprivate

Definition at line 171 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AcquireLook()

template<class Sampler>
void WeatherRadarModel::Scanner::AcquireLook ( const Input & in,
Sampler & sample,
Beam & beam,
Point ray,
Point up,
const std::array< Sample, Gates > & profile,
double tilt )
inlineprivate

Definition at line 208 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Beams()

const std::array< Beam, Bearings > & WeatherRadarModel::Scanner::Beams ( ) const
inline

Definition at line 334 of file WeatherRadarModel.h.

◆ Bearing()

int WeatherRadarModel::Scanner::Bearing ( ) const
inline

Definition at line 335 of file WeatherRadarModel.h.

◆ Direction() [1/2]

int WeatherRadarModel::Scanner::Direction ( ) const
inline

Definition at line 336 of file WeatherRadarModel.h.

◆ Direction() [2/2]

Point WeatherRadarModel::Scanner::Direction ( const Input & in,
double degrees )
inlinestaticprivate

Definition at line 159 of file WeatherRadarModel.h.

Here is the caller graph for this function:

◆ Geometry()

Quad WeatherRadarModel::Scanner::Geometry ( const Beam & beam,
int begin,
int end,
double radius,
uint32_t color )
inlinestaticprivate

Definition at line 161 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Prepare()

void WeatherRadarModel::Scanner::Prepare ( const Input & in,
Display & out ) const
inlineprivate

Definition at line 300 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reset()

void WeatherRadarModel::Scanner::Reset ( )
inline

Definition at line 333 of file WeatherRadarModel.h.

Here is the caller graph for this function:

◆ Update()

template<class Sampler>
void WeatherRadarModel::Scanner::Update ( Input in,
double elapsed,
Sampler sample,
Display & out )
inline

Definition at line 337 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ beams

std::array<Beam,Bearings> WeatherRadarModel::Scanner::beams {}
private

Definition at line 153 of file WeatherRadarModel.h.

◆ bearing

int WeatherRadarModel::Scanner::bearing =0
private

Definition at line 157 of file WeatherRadarModel.h.

◆ clock

double WeatherRadarModel::Scanner::clock =0
private

Definition at line 156 of file WeatherRadarModel.h.

◆ direction

int WeatherRadarModel::Scanner::direction =1
private

Definition at line 157 of file WeatherRadarModel.h.

◆ pending

double WeatherRadarModel::Scanner::pending =0
private

Definition at line 156 of file WeatherRadarModel.h.

◆ previous

Input WeatherRadarModel::Scanner::previous {}
private

Definition at line 155 of file WeatherRadarModel.h.

◆ running

bool WeatherRadarModel::Scanner::running =false
private

Definition at line 154 of file WeatherRadarModel.h.

◆ sourceAge

double WeatherRadarModel::Scanner::sourceAge =0
private

Definition at line 156 of file WeatherRadarModel.h.


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