19 #ifndef OST_GFX_POVRAY_HH
20 #define OST_GFX_POVRAY_HH
33 namespace ost {
namespace gfx {
37 PovState(
const std::string& pov_file,
const std::string& inc_file,
const std::string& wdir);
44 void write_fog(
float zdist,
float znear,
float zfar,
const Color& c,
bool f);
46 void start_obj(
const std::string& name,
float tp,
float lw,
float ps);
61 std::ostream&
pov() {
return pov_;}
62 std::ostream&
inc() {
return inc_;}
69 std::string pov_file_;
70 std::string inc_file_;
74 std::vector<std::string> obj_list_;
Three dimensional vector class, using Real precision.
PovState(const std::string &pov_file, const std::string &inc_file, const std::string &wdir)
void write_sphere(const geom::Vec3 &p, float r, const Color &c, const std::string &name)
void write_merge_or_union(const std::string &name)
void start_obj(const std::string &name, float tp, float lw, float ps)
void write_obj_tex(const std::string &name)
std::string write_coord(float *v)
std::string write_norm(const geom::Vec3 &n)
void write_background(const Color &c)
void write_cyl(const geom::Vec3 &p1, const geom::Vec3 &p2, float r, const Color &c, const std::string &name, bool open)
void write_fog(float zdist, float znear, float zfar, const Color &c, bool f)
void write_camera(float fov, float zdist)
std::string write_coord(const geom::Vec3 &v)
std::string write_norm(float *n)
void write_default_light()