RInside Version 0.2.16
QtDensity Class Reference

#include <qtdensity.h>

Inheritance diagram for QtDensity:
Collaboration diagram for QtDensity:

Public Member Functions

 QtDensity (RInside &R)
 

Private Slots

void getBandwidth (int bw)
 
void getKernel (int kernel)
 
void getRandomDataCmd (QString txt)
 
void runRandomDataCmd (void)
 

Private Member Functions

void setupDisplay (void)
 
void plot (void)
 
void filterFile (void)
 

Private Attributes

QSvgWidget * m_svg
 
RInsidem_R
 
QString m_tempfile
 
QString m_svgfile
 
int m_bw
 
int m_kernel
 
QString m_cmd
 

Detailed Description

Definition at line 28 of file qtdensity.h.

Constructor & Destructor Documentation

◆ QtDensity()

QtDensity::QtDensity ( RInside R)

Definition at line 10 of file qtdensity.cpp.

References m_bw, m_cmd, m_kernel, m_R, m_svgfile, m_tempfile, RInside::parseEval(), and setupDisplay().

Here is the call graph for this function:

Member Function Documentation

◆ filterFile()

void QtDensity::filterFile ( void  )
private

Definition at line 131 of file qtdensity.cpp.

References m_svgfile, and m_tempfile.

Referenced by plot().

◆ getBandwidth

void QtDensity::getBandwidth ( int  bw)
privateslot

Definition at line 107 of file qtdensity.cpp.

References m_bw, and plot().

Referenced by setupDisplay().

Here is the call graph for this function:

◆ getKernel

void QtDensity::getKernel ( int  kernel)
privateslot

Definition at line 114 of file qtdensity.cpp.

References m_kernel, and plot().

Referenced by setupDisplay().

Here is the call graph for this function:

◆ getRandomDataCmd

void QtDensity::getRandomDataCmd ( QString  txt)
privateslot

Definition at line 121 of file qtdensity.cpp.

References m_cmd.

Referenced by setupDisplay().

◆ plot()

void QtDensity::plot ( void  )
private

Definition at line 94 of file qtdensity.cpp.

References filterFile(), m_bw, m_kernel, m_R, m_svg, m_svgfile, and RInside::parseEvalQ().

Referenced by getBandwidth(), getKernel(), and runRandomDataCmd().

Here is the call graph for this function:

◆ runRandomDataCmd

void QtDensity::runRandomDataCmd ( void  )
privateslot

Definition at line 125 of file qtdensity.cpp.

References m_cmd, m_R, RInside::parseEvalQNT(), and plot().

Referenced by setupDisplay().

Here is the call graph for this function:

◆ setupDisplay()

void QtDensity::setupDisplay ( void  )
private

Definition at line 21 of file qtdensity.cpp.

References getBandwidth(), getKernel(), getRandomDataCmd(), m_bw, m_cmd, m_svg, and runRandomDataCmd().

Referenced by QtDensity().

Here is the call graph for this function:

Member Data Documentation

◆ m_bw

int QtDensity::m_bw
private

Definition at line 50 of file qtdensity.h.

Referenced by getBandwidth(), plot(), QtDensity(), and setupDisplay().

◆ m_cmd

QString QtDensity::m_cmd
private

Definition at line 51 of file qtdensity.h.

Referenced by getRandomDataCmd(), QtDensity(), runRandomDataCmd(), and setupDisplay().

◆ m_kernel

int QtDensity::m_kernel
private

Definition at line 50 of file qtdensity.h.

Referenced by getKernel(), plot(), and QtDensity().

◆ m_R

RInside& QtDensity::m_R
private

Definition at line 47 of file qtdensity.h.

Referenced by plot(), QtDensity(), and runRandomDataCmd().

◆ m_svg

QSvgWidget* QtDensity::m_svg
private

Definition at line 46 of file qtdensity.h.

Referenced by plot(), and setupDisplay().

◆ m_svgfile

QString QtDensity::m_svgfile
private

Definition at line 49 of file qtdensity.h.

Referenced by filterFile(), plot(), and QtDensity().

◆ m_tempfile

QString QtDensity::m_tempfile
private

Definition at line 48 of file qtdensity.h.

Referenced by filterFile(), and QtDensity().


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