Go to the documentation of this file.
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_;}
123 virtual bool init(
const Stage& stage,
float width,
float height);
181 #endif // BALL_VIEW_RENDERING_POVRENDERER_H
void setOstream(std::ostream &out_stream)
Set a stream as output device.
void renderLine_(const Line &line)
Render a line.
void renderLabel_(const Label &)
void renderDisc_(const Disc &disc)
Render a disc.
void setFileName(const String &name)
void storeColor_(const GeometricObject &object)
HashSet< String > color_strings_
const ColorRGBA & getColor_(const GeometricObject &object)
String trimFloatValue_(float value)
void renderTwoColoredLine_(const TwoColoredLine &line)
Render a line with two colors.
POVRenderer(const POVRenderer &renderer)
virtual void renderMultiLine_(const MultiLine &line)
Render an illuminated line.
vector< const Representation * > representations_
String getColorIndex_(const ColorRGBA &color)
HashSet< const Mesh * > wireframes_
virtual bool renderOneRepresentation(const Representation &representation)
vector< ClippingPlane * > clipping_planes_
virtual ~POVRenderer()
Destructor.
POVRenderer(const String &name)
void renderTwoColoredTube_(const TwoColoredTube &tube)
Render a tube with two colors.
POVRenderer()
Default constructor.
String POVFinish(const String &object, const ColorRGBA &input)
String POVColorRGBA(const ColorRGBA &input)
HashMap< String, Size > ColorMap
void renderMesh_(const Mesh &mesh)
Render a surface mesh.
virtual bool init(const Stage &stage, float width, float height)
void renderTube_(const Tube &tube)
Render a tube.
virtual bool init(Scene &scene)
String POVVector3(Vector3 input)
void setHumanReadable(bool state)
virtual void clear()
Clear method.
void renderPoint_(const Point &point)
Render a single point.
void renderSphere_(const Sphere &sphere)
Render a sphere.
#define BALL_CREATE(name)
bool isHumanReadable() const