Class Cuboid
Defined in File point_viz.h
Class Documentation
-
class Cuboid
Manages the state of a single cuboid.
Public Functions
-
Cuboid(const mat4d &transform, const vec4f &rgba)
Constructor to initialize a cuboid.
- Parameters:
transform[in] – 4x4 matrix representing a transform defining the cuboid
rgba[in] – 4x1 float matrix representing cuboid color in RGBA format
-
void update_from(const Cuboid &other)
Updates this cuboid’s state with the state of other, accounting for prior changes to this objects’s state.
- Parameters:
other[in] – the object to update the state from.
-
void clear()
Clear dirty flags.
Resets any changes since the last call to PointViz::update()
-
void dirty()
Set all dirty flags.
Re-sets everything so the object is always redrawn.
Friends
- friend class impl::GLCuboid
-
Cuboid(const mat4d &transform, const vec4f &rgba)