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 87 virtual void setSize(
float width,
float height);
93 void setFileName(
const String& name);
96 void setOstream(std::ostream& out_stream);
100 { human_readable_ = state;}
104 {
return human_readable_;}
126 virtual bool renderOneRepresentation(
const Representation& representation);
136 virtual bool init(
Scene& scene);
141 virtual bool init(
const Stage& stage,
float width,
float height);
146 virtual bool finish();
148 void createXHTMLHeader();
150 void createXHTMLFooter();
152 void renderSphere_(
const Sphere& sphere);
154 void renderDisc_(
const Disc& );
156 void renderTube_(
const Tube& );
160 void renderMesh_(
const Mesh& mesh);
164 void renderLine_(
const Line& );
166 void renderPoint_(
const Point& );
169 void renderLabel_(
const Label&);
172 virtual void renderMultiLine_(
const MultiLine& line);
181 String trimFloatValue_(
float value);
185 void createSphereTemplate_();
217 #endif // BALL_VIEW_RENDERING_XML3DRENDERER_H
Index current_tube_number_
Stage::Material rt_material_
HashSet< String > color_strings_
HashMap< String, Size > ColorMap
vector< ClippingPlane * > clipping_planes_
HashSet< const Mesh * > wireframes_
void setHumanReadable(bool state)
Index current_sphere_number_
vector< const Representation * > representations_
bool isHumanReadable() const
#define BALL_CREATE(name)