MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
DtAssistantPlot::TimeScaleDraw Class Reference

Custom QwtScaleDraw for displaying x axis values as times. More...

+ Inheritance diagram for DtAssistantPlot::TimeScaleDraw:
+ Collaboration diagram for DtAssistantPlot::TimeScaleDraw:

Public Member Functions

 TimeScaleDraw ()
 CTOR Instantiates a new TimeScaleDraw.
virtual void setBaseTime (MAKRti::DtU64 baseTime)
 Sets the reference time to use for labeling The precision required to accurately use DtU64's for time coordinates are not offered by the QPointF class, so all points must be relative to the given base time.
virtual QwtText label (double val) const
 Converts the given value to the axis label.

Private Attributes

MAKRti::DtU64 myBaseTime

Detailed Description

Custom QwtScaleDraw for displaying x axis values as times.

Constructor & Destructor Documentation

DtAssistantPlot::TimeScaleDraw::TimeScaleDraw ( )

CTOR Instantiates a new TimeScaleDraw.

Member Function Documentation

virtual QwtText DtAssistantPlot::TimeScaleDraw::label ( double  val) const
virtual

Converts the given value to the axis label.

virtual void DtAssistantPlot::TimeScaleDraw::setBaseTime ( MAKRti::DtU64  baseTime)
virtual

Sets the reference time to use for labeling The precision required to accurately use DtU64's for time coordinates are not offered by the QPointF class, so all points must be relative to the given base time.

Parameters
baseTimethe reference time to use for labeling.

Member Data Documentation

MAKRti::DtU64 DtAssistantPlot::TimeScaleDraw::myBaseTime
private

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

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)