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
84 void setFileName(
const String& name)
88 void setOstream(std::ostream& out_stream);
92 { human_readable_ = state;}
96 {
return human_readable_;}
110 virtual bool renderOneRepresentation(
const Representation& representation);
123 virtual bool init(
const Stage& stage,
float width,
float height);
128 virtual bool finish();
130 void renderSphere_(
const Sphere& sphere);
132 void renderDisc_(
const Disc& disc);
134 void renderTube_(
const Tube& tube);
138 void renderMesh_(
const Mesh& mesh);
142 void renderLine_(
const Line& line);
144 void renderPoint_(
const Point& point);
147 void renderLabel_(
const Label&);
150 virtual void renderMultiLine_(
const MultiLine& line);
159 String trimFloatValue_(
float value);
181 #endif // BALL_VIEW_RENDERING_POVRENDERER_H
#define BALL_CREATE(name)
HashSet< String > color_strings_
vector< ClippingPlane * > clipping_planes_
HashSet< const Mesh * > wireframes_
vector< const Representation * > representations_
bool isHumanReadable() const
virtual bool init(Scene &scene)
void setHumanReadable(bool state)
HashMap< String, Size > ColorMap