Go to the documentation of this file.
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);
100 { human_readable_ = state;}
104 {
return human_readable_;}
141 virtual bool init(
const Stage& stage,
float width,
float height);
217 #endif // BALL_VIEW_RENDERING_XML3DRENDERER_H
void setOstream(std::ostream &out_stream)
Set a stream as output device.
vector< ClippingPlane * > clipping_planes_
void renderPoint_(const Point &)
Render a single point.
virtual void setSize(float width, float height)
Set the size of the display.
XML3DRenderer(const XML3DRenderer &renderer)
HashSet< String > color_strings_
String trimFloatValue_(float value)
const ColorRGBA & getColor_(const GeometricObject &object)
void renderTube_(const Tube &)
Render a tube.
void createTubeTransform_(const TwoColoredTube &tube)
void renderSphere_(const Sphere &sphere)
Render a sphere.
vector< const Representation * > representations_
Stage::Material rt_material_
void renderLabel_(const Label &)
String XML3DFinish(const String &object, const ColorRGBA &input)
String XML3DColorRGBA(const ColorRGBA &input, const String &name)
void renderMesh_(const Mesh &mesh)
Render a surface mesh.
HashSet< const Mesh * > wireframes_
void renderLine_(const Line &)
Render a line.
XML3DRenderer(std::ostream &name)
void setFileName(const String &name)
String getColorIndex_(const ColorRGBA &color)
HashMap< String, Size > ColorMap
void renderTwoColoredTube_(const TwoColoredTube &tube)
Render a tube with two colors.
virtual bool renderOneRepresentation(const Representation &representation)
XML3DRenderer()
Default constructor.
Index current_sphere_number_
void storeColor_(const GeometricObject &object)
void renderDisc_(const Disc &)
Render a disc.
String XML3DRaytracingMaterial(const Stage::Material &)
virtual void clear()
Clear method.
bool isHumanReadable() const
String XML3DVector3(Vector3 input)
virtual void renderMultiLine_(const MultiLine &line)
Render an illuminated line.
virtual ~XML3DRenderer()
Destructor.
virtual bool init(Scene &scene)
void setHumanReadable(bool state)
void renderTwoColoredLine_(const TwoColoredLine &)
Render a line with two colors.
#define BALL_CREATE(name)
String XML3DString(const String &input)
Index current_tube_number_
void createSphereTemplate_()
virtual bool init(const Stage &stage, float width, float height)
XML3DRenderer(const String &name)