Class Graph¶
Defined in File graph.h
Page Contents
Inheritance Relationships¶
Base Type¶
public nanogui::Widget
(Class Widget)
Class Documentation¶
-
class
Graph
: public nanogui::Widget¶ Simple graph widget for showing a function plot.
Public Functions
-
void
setCaption
(const std::string &caption)¶
-
const std::string &
header
() const¶
-
void
setHeader
(const std::string &header)¶
-
virtual void
draw
(NVGcontext *ctx)¶ Draw the widget (and all child widgets)
-
virtual void
save
(Serializer &s) const¶ Save the state of the widget into the given Serializer instance.
-
virtual bool
load
(Serializer &s)¶ Restore the state of the widget from the given Serializer instance.
-
void