Class Graph¶
- Defined in File graph.h
Page Contents
Inheritance Relationships¶
Base Type¶
public nanogui::Widget
(Class Widget)
Class Documentation¶
-
class
nanogui::
Graph
¶ Simple graph widget for showing a function plot.
Inherits from nanogui::Widget
Public Functions
-
void
setCaption
(const std::string &caption)¶
-
const std::string &
header
() const¶
-
void
setHeader
(const std::string &header)¶
-
const VectorXf &
values
() const¶
-
VectorXf &
values
()¶
-
void
setValues
(const VectorXf &values)¶
-
virtual Vector2i
preferredSize
(NVGcontext *ctx) const¶ Compute the preferred size of the widget.
-
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