Go to the documentation of this file.
3 #ifndef BALL_VIEW_RENDERING_RENDERERS_STLRENDERER_H
4 #define BALL_VIEW_RENDERING_RENDERERS_STLRENDERER_H
6 #ifndef BALL_VIEW_RENDERING_RENDERERS_RENDERER_H
10 #ifndef BALL_SYSTEM_FILE_H
14 #ifndef BALL_MATHS_VECTOR3_H
18 #ifndef BALL_MATHS_MATRIX44_H
107 {out_(data); current_indent_ += 1;}
110 {out_(data); current_indent_ -= 1;}
117 const String& rotation =
"");
131 #endif // BALL_VIEW_RENDERING_STLRENDERER_H
virtual bool init(const Stage &stage)
virtual ~STLRenderer()
Destructor.
String VRMLVector3(Vector3 input)
void outheader_(const String &data)
void setFileName(const String &name)
void header_(const Vector3 &translation, const ColorRGBA &color, const String &rotation="")
STLRenderer()
Default constructor.
void renderMesh_(const Mesh &mesh)
Render a surface mesh.
void renderLine_(const Line &tube)
Render a line.
virtual void clear()
Clear method.
void outfinish_(const String &data)
void out_(const String &data)
STLRenderer(const String &name)
void renderTwoColoredLine_(const TwoColoredLine &tube)
Render a line with two colors.
void renderTwoColoredTube_(const TwoColoredTube &tube)
Render a tube with two colors.
void renderTube_(const Tube &tube)
Render a tube.
void renderSphere_(const Sphere &sphere)
Render a sphere.