5#ifndef BALL_VIEW_RENDERING_RENDERERS_VRMLRENDERER_H
6#define BALL_VIEW_RENDERING_RENDERERS_VRMLRENDERER_H
8#ifndef BALL_VIEW_RENDERING_RENDERERS_RENDERER_H
12#ifndef BALL_SYSTEM_FILE_H
16#ifndef BALL_MATHS_VECTOR3_H
20#ifndef BALL_MATHS_MATRIX44_H
117 {out_(data); current_indent_ += 1;}
120 {out_(data); current_indent_ -= 1;}
127 const String& rotation =
"");
138 float smallX, smallY, smallZ,
bigX, bigY, bigZ;
void renderTube_(const Tube &tube)
Render a tube.
void header_(const Vector3 &translation, const ColorRGBA &color, const String &rotation="")
void out_(const String &data)
String VRMLVector3(Vector3 input)
void outfinish_(const String &data)
void renderLine_(const Line &miniTube)
Render a line.
virtual bool init(const Stage &stage)
void renderMesh_(const Mesh &mesh)
Render a surface mesh.
void renderSphere_(const Sphere &sphere)
Render a sphere.
void outheader_(const String &data)
VRMLRenderer(const String &name)
VRMLRenderer()
Default constructor.
void VRMLColor(const ColorRGBA &color)
void renderTwoColoredTube_(const TwoColoredTube &tube)
Render a tube with two colors.
void setFileName(const String &name)
void renderTwoColoredLine_(const TwoColoredLine &miniTube)
Render a line with two colors.
String VRMLColorRGBA(const ColorRGBA &input)
virtual void clear()
Clear method.
virtual ~VRMLRenderer()
Destructor.