3DCoat
3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
|
Access to debugging like viewport-output. More...
#include <SDebugDraw.h>
Public Member Functions | |
template<class T > | |
DebugDraw & | operator+= (const T &) |
Output the geometry-objects to the viewport. More... | |
DebugDraw & | aabb (const AABB &) |
Drawing AABB . More... | |
DebugDraw & | color (const Color::value_t &d) |
Set current color for draw in the viewport. More... | |
Color | color () const |
Get current color of the viewport. More... | |
DebugDraw & | circle (const Vec3 &p, const Vec3 &normal, float radius) |
Drawing a 2D-circle like billboard. More... | |
DebugDraw & | layer (const std::string &name) |
Creates a named layer which contains all next drawing. More... | |
DebugDraw & | line (const Line3 &l) |
Drawing Line3 . More... | |
DebugDraw & | line (const Vec3 &a, const Vec3 &b) |
Drawing a line from point a to point b . More... | |
DebugDraw & | mesh (const Mesh &) |
Drawing Mesh . More... | |
DebugDraw & | note (const Vec3 &p, float v) |
Print a float value to the viewport. More... | |
DebugDraw & | note (const Vec3 &p, const std::string &s) |
Print a string to the viewport. More... | |
DebugDraw & | point (const Vec3 &) |
Light a point. More... | |
DebugDraw & | sphere (const Vec3 &p, float radius) |
Drawing a sphere. More... | |
DebugDraw & | triangle (const Vec3 &a, const Vec3 &b, const Vec3 &c) |
Drawing a triangle. More... | |
DebugDraw & | vector (const Vec3 &p, const Vec3 &v) |
Drawing a vector. More... | |
DebugDraw & | clear () |
Clear the viewport. More... | |
DebugDraw & | transform (const Mat4 &m) |
Set a transformation matrix to the viewport. More... | |
Mat4 | transform () const |
Get a current transformation matrix from the viewport. More... | |
Access to debugging like viewport-output.
Use this two lines for access to DebugDraw
:
DebugDraw & coat::scripto::DebugDraw::clear | ( | ) |
|
inline |
Set current color for draw in the viewport.
|
inline |
DebugDraw & coat::scripto::DebugDraw::layer | ( | const std::string & | name | ) |
Creates a named layer which contains all next drawing.
Drawing Mesh
.
References color(), and transform().
DebugDraw& coat::scripto::DebugDraw::operator+= | ( | const T & | ) |
Output the geometry-objects to the viewport.
Set a transformation matrix to the viewport.
|
inline |