5 #ifndef BALL_VIEW_RENDERING_RENDERERS_XML3DRENDERER_H
6 #define BALL_VIEW_RENDERING_RENDERERS_XML3DRENDERER_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
24 #ifndef BALL_MATHS_SURFACE_H
85 virtual void setSize(
float width,
float height);
90 void setFileName(
const String& name)
94 void setOstream(std::ostream& out_stream);
98 { human_readable_ = state;}
102 {
return human_readable_;}
124 virtual bool renderOneRepresentation(
const Representation& representation);
134 virtual bool init(
Scene& scene);
139 virtual bool init(
const Stage& stage,
float width,
float height);
144 virtual bool finish();
146 void createXHTMLHeader();
148 void createXHTMLFooter();
150 void renderSphere_(
const Sphere& sphere);
152 void renderDisc_(
const Disc& disc);
154 void renderTube_(
const Tube& tube);
158 void renderMesh_(
const Mesh& mesh);
162 void renderLine_(
const Line& line);
164 void renderPoint_(
const Point& point);
167 void renderLabel_(
const Label&);
170 virtual void renderMultiLine_(
const MultiLine& line);
179 String trimFloatValue_(
float value);
183 void createSphereTemplate_();
215 #endif // BALL_VIEW_RENDERING_XML3DRENDERER_H
void setHumanReadable(bool state)
#define BALL_CREATE(name)
bool isHumanReadable() const
HashSet< const Mesh * > wireframes_
Index current_sphere_number_
Stage::Material rt_material_
HashSet< String > color_strings_
HashMap< String, Size > ColorMap
Index current_tube_number_
vector< ClippingPlane * > clipping_planes_
vector< const Representation * > representations_