ImFusion SDK 4.3
GlPainter Class Reference

Public Member Functions

void clear ()
 
void addLine (const vec3f &start, const vec3f &end, const vec4f &startColor=vec4f(1.0f, 1.0f, 1.0f, 1.0f), const vec4f &endColor=vec4f(1.0f, 1.0f, 1.0f, 1.0f))
 
void addLines (const std::vector< std::pair< vec3f, vec3f > > lines)
 
void addPoint (const vec3f &point, const vec4f &color=vec4f(1.0f, 1.0f, 1.0f, 1.0f))
 
void addPoints (const std::vector< vec3f > &points, const std::vector< vec4f > &colors={})
 
void addCircle (const vec3f &center, float radius, const vec3f &normal=vec3f(0.0f, 0.0f, 1.0f), const vec4f color=vec4f(1.0f, 1.0f, 1.0f, 1.0f), int subdivisions=30)
 
void addRing (const vec3f &center, float outerRadius, float innerRadius, const vec3f &normal=vec3f(0.0f, 0.0f, 1.0f), const vec4f color=vec4f(1.0f, 1.0f, 1.0f, 1.0f), int subdivisions=30)
 
void addCross (const vec3f &center, float radius, float thickness, const vec3f &normal=vec3f(0.0f, 0.0f, 1.0f), const vec4f color=vec4f(1.0f, 1.0f, 1.0f, 1.0f))
 
void render ()
 
void renderInstanced (int instances)
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close