Parallel Coordinate System with Time Series Data
PCSystem Class Reference

A PC system. Representing all parts of the Parallel Coordinate System including VP_Widgets, PC_Axis, PCLines. More...

#include <PCSystem.h>

Public Member Functions

 PCSystem (Calendar *calendarData, QVector2D offset)
 Constructor. More...
 
 ~PCSystem ()
 Destructor. More...
 
void update (int days)
 Updates the given days. More...
 
void draw (Painter2D *painter2D, QPainter *qPainter)
 Draws. More...
 
void handleMouseMoveEvent (QVector2D mousePos)
 Handles the mouse move event described by mousePos. More...
 
void handleMousePressEvent (QVector2D mousePos)
 Handles the mouse press event described by mousePos. More...
 
void handleMouseReleaseEvent ()
 Handles the mouse release event. More...
 
void updateVPWidgets (float timeLimit, float ratio)
 
void updateVPWidgetsVanishingPoint ()
 Updates the vp widgets vanishing point. More...
 

Public Attributes

std::vector< QLabel * > vp_labels
 
std::vector< QSlider * > vp_sliders
 
std::vector< MultiList * > vp_comboBox_innerAxes
 
std::vector< MultiList * > vp_comboBox_outerAxes
 

Detailed Description

A PC system. Representing all parts of the Parallel Coordinate System including VP_Widgets, PC_Axis, PCLines.

Author
Depner, Gamsjaeger
Date
05.06.2021

Constructor & Destructor Documentation

◆ PCSystem()

PCSystem::PCSystem ( Calendar calendarData,
QVector2D  offset 
)

Constructor.

Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
[in,out]calendarDataIf non-null, information describing the calendar.
offsetThe offset.

◆ ~PCSystem()

PCSystem::~PCSystem ( )

Destructor.

Author
Depner, Gamsjaeger
Date
05.06.2021

Member Function Documentation

◆ draw()

void PCSystem::draw ( Painter2D painter2D,
QPainter *  qPainter 
)

Draws.

draws the PCAxis

Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
[in,out]painter2DIf non-null, the painter 2D.
[in,out]qPainterIf non-null, the painter.

◆ handleMouseMoveEvent()

void PCSystem::handleMouseMoveEvent ( QVector2D  mousePos)

Handles the mouse move event described by mousePos.

Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
mousePosThe mouse position.

◆ handleMousePressEvent()

void PCSystem::handleMousePressEvent ( QVector2D  mousePos)

Handles the mouse press event described by mousePos.

Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
mousePosThe mouse position.

◆ handleMouseReleaseEvent()

void PCSystem::handleMouseReleaseEvent ( )

Handles the mouse release event.

Author
Depner, Gamsjaeger
Date
05.06.2021

◆ update()

void PCSystem::update ( int  days)

Updates the given days.

updates the PC_System acoording to the timestep days. The data set of Calendar at time point –Minimum Date + days– is used

Parameters
daysdays to add to the Minimum Date of Calendar
Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
daysThe days.

◆ updateVPWidgets()

void PCSystem::updateVPWidgets ( float  timeLimit,
float  ratio 
)

◆ updateVPWidgetsVanishingPoint()

void PCSystem::updateVPWidgetsVanishingPoint ( )

Updates the vp widgets vanishing point.

Author
Depner, Gamsjaeger
Date
05.06.2021

Member Data Documentation

◆ vp_comboBox_innerAxes

std::vector<MultiList*> PCSystem::vp_comboBox_innerAxes

◆ vp_comboBox_outerAxes

std::vector<MultiList*> PCSystem::vp_comboBox_outerAxes

◆ vp_labels

std::vector<QLabel*> PCSystem::vp_labels

◆ vp_sliders

std::vector<QSlider*> PCSystem::vp_sliders

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