30 m_pixelsPerFrame(480),
34 m_plotRGB(qRgb(0, 255, 0)),
35 m_gridRGB(qRgb(255, 255 ,255))
37 setObjectName(
"ScopeVisXY");
53 void ScopeVisXY::feed(
const SampleVector::const_iterator& cbegin,
const SampleVector::const_iterator& end,
bool positiveOnly)
56 SampleVector::const_iterator begin(cbegin);
63 int row =
m_rows * ((1.0 - y) / 2.0);
64 int col =
m_cols * ((1.0 + x) / 2.0);
89 std::this_thread::sleep_for(std::chrono::microseconds(5000));
124 std::vector<std::complex<float> >::const_iterator grIt =
m_graticule.begin();
128 int y = rows * ((1.0 - grIt->imag()) / 2.0);
129 int x = cols * ((1.0 + grIt->real()) / 2.0);
131 for (
int d = -4; d <= 4; ++d)
bool setDataColor(int intCol, int intRed, int intGreen, int intBlue)
virtual bool handleMessage(const Message &message)
Processing of a message. Returns true if message has actually been processed.
std::vector< int > m_graticuleCols
void setAlphaBlend(bool blnAlphaBlend)
void renderImage(unsigned char *objData)
std::vector< std::complex< float > > m_graticule
void getSize(int &intCols, int &intRows) const
ScopeVisXY(TVScreen *tvScreen)
int m_alphaReset
alpha channel of screen blanking (blackening) is 255 minus decay value [0:255]
void setPixelsPerFrame(int pixelsPerFrame)
std::vector< int > m_graticuleRows
int m_alphaTrace
this is the stroke value [0:255]
virtual void feed(const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly)
void addGraticulePoint(const std::complex< float > &z)
void calculateGraticule(int rows, int cols)
bool selectRow(int intLine)