7#ifndef BALL_VIEW_RENDERING_RENDERERS_POVRENDERER_H
8#define BALL_VIEW_RENDERING_RENDERERS_POVRENDERER_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
92 { human_readable_ = state;}
96 {
return human_readable_;}
118 using Renderer::init;
123 virtual bool init(
const Stage& stage,
float width,
float height);
#define BALL_CREATE(name)
HashMap class based on the STL map (containing serveral convenience functions)
bool isHumanReadable() const
virtual bool renderOneRepresentation(const Representation &representation)
void setFileName(const String &name)
void setOstream(std::ostream &out_stream)
Set a stream as output device.
void renderPoint_(const Point &point)
Render a single point.
void renderTwoColoredTube_(const TwoColoredTube &tube)
Render a tube with two colors.
vector< const Representation * > representations_
String POVFinish(const String &object, const ColorRGBA &input)
String getColorIndex_(const ColorRGBA &color)
POVRenderer(const String &name)
HashSet< const Mesh * > wireframes_
void storeColor_(const GeometricObject &object)
virtual ~POVRenderer()
Destructor.
void renderLabel_(const Label &)
HashSet< String > color_strings_
void renderTube_(const Tube &tube)
Render a tube.
void renderTwoColoredLine_(const TwoColoredLine &line)
Render a line with two colors.
POVRenderer(const POVRenderer &renderer)
virtual void clear()
Clear method.
String trimFloatValue_(float value)
virtual bool init(const Stage &stage, float width, float height)
void renderLine_(const Line &line)
Render a line.
HashMap< String, Size > ColorMap
String POVColorRGBA(const ColorRGBA &input)
String POVVector3(Vector3 input)
void renderDisc_(const Disc &disc)
Render a disc.
void setHumanReadable(bool state)
const ColorRGBA & getColor_(const GeometricObject &object)
vector< ClippingPlane * > clipping_planes_
virtual void renderMultiLine_(const MultiLine &line)
Render an illuminated line.
void renderSphere_(const Sphere &sphere)
Render a sphere.
POVRenderer()
Default constructor.
void renderMesh_(const Mesh &mesh)
Render a surface mesh.