19#include "Topology/EdgeSet.h"
53 DEF_VAR(
float, Radius, 0.003f,
"Cylinder radius");
54 DEF_VAR(
float, LineWidth, 1.f,
"Line width");
56 DEF_ENUM(EEdgeMode, RenderMode, EEdgeMode::LINE,
"");
#define DEF_INSTANCE_IN(T, name, desc)
#define DECLARE_CLASS(name)
virtual bool initializeGL() override
DEF_ENUM(EEdgeMode, RenderMode, EEdgeMode::LINE, "")
virtual void paintGL(const RenderParams &rparams) override
XBuffer< Vec3f > mVertexBuffer
XBuffer< TopologyModule::Edge > mIndexBuffer
DECLARE_ENUM(EEdgeMode, LINE=0, CYLINDER=1)
std::string caption() override
Return the caption.
GLWireframeVisualModule()
virtual void updateImpl() override
virtual void releaseGL() override
virtual void updateGL() override
DEF_VAR(float, LineWidth, 1.f, "Line width")
DEF_VAR(float, Radius, 0.003f, "Cylinder radius")
~GLWireframeVisualModule() override
This is an implementation of AdditiveCCD based on peridyno.