|
| SOFA_ATTRIBUTE_REPLACED__TYPEMEMBER (RGBAColor, sofa::type::RGBAColor) |
|
| SOFA_ATTRIBUTE_REPLACED__TYPEMEMBER (Vector3, sofa::type::Vec3) |
|
| SOFA_ATTRIBUTE_REPLACED__TYPEMEMBER (Vec3f, sofa::type::Vec3f) |
|
| SOFA_ATTRIBUTE_REPLACED__TYPEMEMBER (Vec3i, sofa::type::Vec3i) |
|
| SOFA_ATTRIBUTE_REPLACED__TYPEMEMBER (Vec2i, sofa::type::Vec2i) |
|
| DrawToolGL () |
|
virtual | ~DrawToolGL () override |
|
void | init () override |
|
void | drawPoint (const type::Vec3 &p, const type::RGBAColor &c) override |
|
void | drawPoint (const type::Vec3 &p, const type::Vec3 &n, const type::RGBAColor &c) override |
|
virtual void | drawPoints (const std::vector< type::Vec3 > &points, float size, const type::RGBAColor &color) override |
|
virtual void | drawPoints (const std::vector< type::Vec3 > &points, float size, const std::vector< type::RGBAColor > &color) override |
|
void | drawLine (const type::Vec3 &p1, const type::Vec3 &p2, const type::RGBAColor &color) override |
|
void | drawInfiniteLine (const type::Vec3 &point, const type::Vec3 &direction, const type::RGBAColor &color) override |
|
virtual void | drawLines (const std::vector< type::Vec3 > &points, float size, const type::RGBAColor &color) override |
|
virtual void | drawLines (const std::vector< type::Vec3 > &points, float size, const std::vector< type::RGBAColor > &colors) override |
|
virtual void | drawLines (const std::vector< type::Vec3 > &points, const std::vector< type::Vec2i > &index, float size, const type::RGBAColor &color) override |
|
virtual void | drawLineStrip (const std::vector< type::Vec3 > &points, float size, const type::RGBAColor &color) override |
|
virtual void | drawLineLoop (const std::vector< type::Vec3 > &points, float size, const type::RGBAColor &color) override |
|
virtual void | drawDisk (float radius, double from, double to, int resolution, const type::RGBAColor &color) override |
|
virtual void | drawCircle (float radius, float lineThickness, int resolution, const type::RGBAColor &color) override |
|
void | drawTriangle (const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &normal) override |
|
void | drawTriangle (const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &normal, const type::RGBAColor &c) override |
|
void | drawTriangle (const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &normal, const type::RGBAColor &c1, const type::RGBAColor &c2, const type::RGBAColor &c3) override |
|
void | drawTriangle (const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &normal1, const type::Vec3 &normal2, const type::Vec3 &normal3, const type::RGBAColor &c1, const type::RGBAColor &c2, const type::RGBAColor &c3) override |
|
virtual void | drawTriangles (const std::vector< type::Vec3 > &points, const type::RGBAColor &color) override |
|
virtual void | drawTriangles (const std::vector< type::Vec3 > &points, const std::vector< type::RGBAColor > &color) override |
|
virtual void | drawTriangles (const std::vector< type::Vec3 > &points, const type::Vec3 &normal, const type::RGBAColor &color) override |
|
virtual void | drawTriangles (const std::vector< type::Vec3 > &points, const std::vector< type::Vec3i > &index, const std::vector< type::Vec3 > &normal, const type::RGBAColor &color) override |
|
virtual void | drawTriangles (const std::vector< type::Vec3 > &points, const std::vector< type::Vec3i > &index, const std::vector< type::Vec3 > &normal, const std::vector< type::RGBAColor > &color) override |
|
virtual void | drawTriangles (const std::vector< type::Vec3 > &points, const std::vector< type::Vec3 > &normal, const std::vector< type::RGBAColor > &color) override |
|
virtual void | drawTriangleStrip (const std::vector< type::Vec3 > &points, const std::vector< type::Vec3 > &normal, const type::RGBAColor &color) override |
|
virtual void | drawTriangleFan (const std::vector< type::Vec3 > &points, const std::vector< type::Vec3 > &normal, const type::RGBAColor &color) override |
|
void | drawFrame (const type::Vec3 &position, const Quaternion &orientation, const type::Vec3f &size) override |
|
void | drawFrame (const type::Vec3 &position, const Quaternion &orientation, const type::Vec3f &size, const type::RGBAColor &color) override |
|
virtual void | drawSpheres (const std::vector< type::Vec3 > &points, const std::vector< float > &radius, const type::RGBAColor &color) override |
|
virtual void | drawSpheres (const std::vector< type::Vec3 > &points, float radius, const type::RGBAColor &color) override |
|
virtual void | drawFakeSpheres (const std::vector< type::Vec3 > &points, const std::vector< float > &radius, const type::RGBAColor &color) override |
|
virtual void | drawFakeSpheres (const std::vector< type::Vec3 > &points, float radius, const type::RGBAColor &color) override |
|
void | drawCone (const type::Vec3 &p1, const type::Vec3 &p2, float radius1, float radius2, const type::RGBAColor &color, int subd=16) override |
|
void | drawCube (const float &radius, const type::RGBAColor &color, const int &subd=16) override |
| Draw a cube of size one centered on the current point. More...
|
|
void | drawCylinder (const type::Vec3 &p1, const type::Vec3 &p2, float radius, const type::RGBAColor &color, int subd=16) override |
|
void | drawCapsule (const type::Vec3 &p1, const type::Vec3 &p2, float radius, const type::RGBAColor &color, int subd=16) override |
|
void | drawArrow (const type::Vec3 &p1, const type::Vec3 &p2, float radius, const type::RGBAColor &color, int subd=16) override |
|
void | drawArrow (const type::Vec3 &p1, const type::Vec3 &p2, float radius, float coneLength, const type::RGBAColor &color, int subd=16) override |
|
void | drawArrow (const type::Vec3 &p1, const type::Vec3 &p2, float radius, float coneLength, float coneRadius, const type::RGBAColor &color, int subd=16) override |
|
void | drawCross (const type::Vec3 &p, float length, const type::RGBAColor &color) override |
| Draw a cross (3 lines) centered on p. More...
|
|
void | drawPlus (const float &radius, const type::RGBAColor &color, const int &subd=16) override |
| Draw a plus sign of size one centered on the current point. More...
|
|
void | drawQuad (const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &p4, const type::Vec3 &normal) override |
|
void | drawQuad (const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &p4, const type::Vec3 &normal, const type::RGBAColor &c) override |
|
void | drawQuad (const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &p4, const type::Vec3 &normal, const type::RGBAColor &c1, const type::RGBAColor &c2, const type::RGBAColor &c3, const type::RGBAColor &c4) override |
|
void | drawQuad (const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &p4, const type::Vec3 &normal1, const type::Vec3 &normal2, const type::Vec3 &normal3, const type::Vec3 &normal4, const type::RGBAColor &c1, const type::RGBAColor &c2, const type::RGBAColor &c3, const type::RGBAColor &c4) override |
|
virtual void | drawQuads (const std::vector< type::Vec3 > &points, const type::RGBAColor &color) override |
|
virtual void | drawQuads (const std::vector< type::Vec3 > &points, const std::vector< type::RGBAColor > &colors) override |
|
void | drawTetrahedron (const type::Vec3 &p0, const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::RGBAColor &color) override |
|
void | drawScaledTetrahedron (const type::Vec3 &p0, const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::RGBAColor &color, const float scale) override |
|
virtual void | drawTetrahedra (const std::vector< type::Vec3 > &points, const type::RGBAColor &color) override |
|
virtual void | drawScaledTetrahedra (const std::vector< type::Vec3 > &points, const type::RGBAColor &color, const float scale) override |
|
void | drawHexahedron (const type::Vec3 &p0, const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &p4, const type::Vec3 &p5, const type::Vec3 &p6, const type::Vec3 &p7, const type::RGBAColor &color) override |
|
virtual void | drawHexahedra (const std::vector< type::Vec3 > &points, const type::RGBAColor &color) override |
|
virtual void | drawScaledHexahedra (const std::vector< type::Vec3 > &points, const type::RGBAColor &color, const float scale) override |
|
void | drawSphere (const type::Vec3 &p, float radius) override |
|
void | drawSphere (const type::Vec3 &p, float radius, const type::RGBAColor &color) override |
|
void | drawEllipsoid (const type::Vec3 &p, const type::Vec3 &radii) override |
|
void | drawBoundingBox (const type::Vec3 &min, const type::Vec3 &max, float size=1.0) override |
|
void | draw3DText (const type::Vec3 &p, float scale, const type::RGBAColor &color, const char *text) override |
|
virtual void | draw3DText_Indices (const std::vector< type::Vec3 > &positions, float scale, const type::RGBAColor &color) override |
|
void | clear () override |
|
void | setMaterial (const type::RGBAColor &color) override |
|
void | resetMaterial (const type::RGBAColor &color) override |
|
void | resetMaterial () override |
|
void | pushMatrix () override |
|
void | popMatrix () override |
|
void | multMatrix (float *glTransform) override |
|
void | scale (float s) override |
|
void | translate (float x, float y, float z) override |
|
void | writeOverlayText (int x, int y, unsigned fontSize, const type::RGBAColor &color, const char *text) override |
| draw 2D text at position (x,y) from top-left corner More...
|
|
void | enablePolygonOffset (float factor, float units) override |
|
void | disablePolygonOffset () override |
| Remove variable depth offset for polygon drawing. More...
|
|
void | enableBlending () override |
|
void | disableBlending () override |
|
void | enableLighting () override |
|
void | disableLighting () override |
|
void | enableDepthTest () override |
|
void | disableDepthTest () override |
|
void | saveLastState () override |
|
void | restoreLastState () override |
|
void | readPixels (int x, int y, int w, int h, float *rgb, float *z=nullptr) override |
|
void | internalDrawSpheres (const type::vector< type::Vec3 > ¢ers, const float &radius, const unsigned int rings, const unsigned int sectors) |
|
void | internalDrawSphere (const type::Vec3 ¢er, const float &radius, const unsigned int rings, const unsigned int sectors) |
|
void | setLightingEnabled (bool _isAnabled) override |
|
bool | getLightEnabled () |
|
void | setPolygonMode (int _mode, bool _wireframe) override |
|
int | getPolygonMode () |
|
bool | getWireFrameEnabled () |
|
| DrawTool () |
|
virtual | ~DrawTool () |
|
| StateLifeCycle ()=delete |
|
| StateLifeCycle (const StateLifeCycle &)=delete |
|
| StateLifeCycle (DrawTool *drawTool) |
|
| ~StateLifeCycle () |
|
StateLifeCycle | makeStateLifeCycle () |
|