Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CPanelTendencyCurves.cpp File Reference
#include "CPanelTendencyCurves.hpp"
#include "core/CStringTools.hpp"
#include "core/memOps.hpp"
#include "core/utils.hpp"
#include "math/CGeometry.hpp"
#include "ui/graphics/DrawOneTendencyCurve.hpp"
#include "ui/gui/CCanvas.hpp"
#include <set>
#include <string>
Include dependency graph for CPanelTendencyCurves.cpp:

Classes

struct  ClickedValueY
 
class  CPrvDrawAllCurves
 
class  CPrvMotionTendencyCurve
 
class  CPrvDrawLegend
 

Functions

static bool prvSearchPointsInSegmentsTendencyCurve (const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > &points, const double xPulsed, double *xIntersection, double *yIntersection)
 
static void prvSearchPointsInTendencyCurve (SPrvPointsTendencyCurve *tendencyCurve, const double xPulsed)
 
static void prvSearchPointsInTendencyCurves (const std::shared_ptr< CCursorCurves > &cursorCurves, const double xPulsed)
 
static void prvAddLegend (CCanvas *canvas, const std::shared_ptr< CCursorCurves > &cursorCurves, const uint64_t legendPosition)
 

Variables

static constexpr double PRV_X_MIN_VIEW_TENDENCY_CURVE = 0.
 
static constexpr double PRV_Y_MIN_VIEW_TENDENCY_CURVE = 0.
 
static constexpr double PRV_X_MAX_VIEW_TENDENCY_CURVE = 10000.
 
static constexpr double PRV_Y_MAX_VIEW_TENDENCY_CURVE = 10000.
 
static iv::types::color PRV_COLORS_CURVES_RGB [CPanelTendencyCurves::MAX_CURVES]
 

Function Documentation

◆ prvAddLegend()

static void prvAddLegend ( CCanvas * canvas,
const std::shared_ptr< CCursorCurves > & cursorCurves,
const uint64_t legendPosition )
static

◆ prvSearchPointsInSegmentsTendencyCurve()

static bool prvSearchPointsInSegmentsTendencyCurve ( const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > & points,
const double xPulsed,
double * xIntersection,
double * yIntersection )
static

◆ prvSearchPointsInTendencyCurve()

static void prvSearchPointsInTendencyCurve ( SPrvPointsTendencyCurve * tendencyCurve,
const double xPulsed )
static

◆ prvSearchPointsInTendencyCurves()

static void prvSearchPointsInTendencyCurves ( const std::shared_ptr< CCursorCurves > & cursorCurves,
const double xPulsed )
static

Variable Documentation

◆ PRV_COLORS_CURVES_RGB

iv::types::color PRV_COLORS_CURVES_RGB[CPanelTendencyCurves::MAX_CURVES]
static
Initial value:
= {
constexpr iv::types::color TendencyCurveOne
Definition color.hpp:348
constexpr iv::types::color TendencyCurveThree
Definition color.hpp:350
constexpr iv::types::color TendencyCurveTwo
Definition color.hpp:349
constexpr iv::types::color TendencyCurveFour
Definition color.hpp:351
constexpr iv::types::color TendencyCurveFive
Definition color.hpp:352

◆ PRV_X_MAX_VIEW_TENDENCY_CURVE

double PRV_X_MAX_VIEW_TENDENCY_CURVE = 10000.
staticconstexpr

◆ PRV_X_MIN_VIEW_TENDENCY_CURVE

double PRV_X_MIN_VIEW_TENDENCY_CURVE = 0.
staticconstexpr

◆ PRV_Y_MAX_VIEW_TENDENCY_CURVE

double PRV_Y_MAX_VIEW_TENDENCY_CURVE = 10000.
staticconstexpr

◆ PRV_Y_MIN_VIEW_TENDENCY_CURVE

double PRV_Y_MIN_VIEW_TENDENCY_CURVE = 0.
staticconstexpr