Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::TimePlotBuffer Struct Reference

Public Member Functions

 TimePlotBuffer (int max_size=2000)
 
void add_point (float x, float y)
 
void erase ()
 

Data Fields

int max_size
 
int offset
 
ImVector< ImVec2 > data
 

Detailed Description

Definition at line 26 of file gui.cpp.

Constructor & Destructor Documentation

◆ TimePlotBuffer()

brenta::TimePlotBuffer::TimePlotBuffer ( int  max_size = 2000)
inline

Definition at line 32 of file gui.cpp.

Member Function Documentation

◆ add_point()

void brenta::TimePlotBuffer::add_point ( float  x,
float  y 
)
inline

Definition at line 39 of file gui.cpp.

◆ erase()

void brenta::TimePlotBuffer::erase ( )
inline

Definition at line 49 of file gui.cpp.

Field Documentation

◆ data

ImVector<ImVec2> brenta::TimePlotBuffer::data

Definition at line 30 of file gui.cpp.

◆ max_size

int brenta::TimePlotBuffer::max_size

Definition at line 28 of file gui.cpp.

◆ offset

int brenta::TimePlotBuffer::offset

Definition at line 29 of file gui.cpp.


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