GuiGraphCtrl
Engine/source/gui/editor/guiGraphCtrl.h
Public Types
Parent
Protected Attributes
mAutoPlot [MaxPlots]
mAutoPlotDelay [MaxPlots]
mAutoPlotLastDisplay [MaxPlots]
mGraphColor [MaxPlots]
mGraphData [MaxPlots]
mGraphType [MaxPlots]
Public Functions
addAutoPlot(S32 plotID, const char * variable, S32 update)
DECLARE_CATEGORY("Gui Other" )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that allows <a href="/coding/file/cmdgram_8cpp/#cmdgram_8cpp_1a5bafda9519252aa2d0fd038153f77dca">to</a> plot curve graphs." )
removeAutoPlot(S32 plotID)
setGraphType(S32 plotID, GraphType graphType)
Public Static Functions
Detailed Description
Public Types
Constants
Enumerator
- MaxPlots = 6
- MaxDataPoints = 200
GraphType
Enumerator
- Point
- Polyline
- Filled
- Bar
typedef GuiControl Parent
Protected Attributes
StringTableEntry mAutoPlot [MaxPlots]
U32 mAutoPlotDelay [MaxPlots]
SimTime mAutoPlotLastDisplay [MaxPlots]
GFXStateBlockRef mBlendSB
F32 mCenterY
LinearColorF mGraphColor [MaxPlots]
Vector< F32 > mGraphData [MaxPlots]
F32 mGraphMax [MaxPlots]
GraphType mGraphType [MaxPlots]
GFXStateBlockRef mSolidSB
Public Functions
GuiGraphCtrl()
addAutoPlot(S32 plotID, const char * variable, S32 update)
addDatum(S32 plotID, F32 v)
DECLARE_CATEGORY("Gui Other" )
DECLARE_CONOBJECT(GuiGraphCtrl )
DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that allows <a href="/coding/file/cmdgram_8cpp/#cmdgram_8cpp_1a5bafda9519252aa2d0fd038153f77dca">to</a> plot curve graphs." )
getDatum(S32 plotID, S32 samples)
getMax(S32 plotID)
onRender(Point2I offset, const RectI & updateRect)
Reimplemented from: GuiControl
removeAutoPlot(S32 plotID)
setGraphType(S32 plotID, GraphType graphType)
setMax(S32 plotID, F32 max)