7 #ifndef BALL_VIEW_RENDERING_RENDERERS_XML3DRENDERER_H
8 #define BALL_VIEW_RENDERING_RENDERERS_XML3DRENDERER_H
10 #ifndef BALL_VIEW_RENDERING_RENDERERS_RENDERER_H
14 #ifndef BALL_SYSTEM_FILE_H
18 #ifndef BALL_MATHS_VECTOR3_H
22 #ifndef BALL_MATHS_MATRIX44_H
26 #ifndef BALL_MATHS_SURFACE_H
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_();
209 #endif // BALL_VIEW_RENDERING_XML3DRENDERER_H
void setHumanReadable(bool state)
#define BALL_CREATE(name)
Stage::RaytracingMaterial rt_material_
bool isHumanReadable() const
HashSet< const Mesh * > wireframes_
HashSet< String > color_strings_
HashMap< String, Size > ColorMap
vector< ClippingPlane * > clipping_planes_
vector< const Representation * > representations_