PovState Class Reference

#include <povray.hh>

Public Member Functions

 PovState (const std::string &pov_file, const std::string &inc_file, const std::string &wdir)
void write_preamble ()
void write_postamble ()
void write_background (const Color &c)
void write_camera (float fov, float zdist)
void write_default_light ()
void write_fog (float zdist, float znear, float zfar, const Color &c, bool f)
void start_obj (const std::string &name, float tp, float lw, float ps)
void write_obj_tex (const std::string &name)
void end_obj ()
void write_sphere (const geom::Vec3 &p, float r, const Color &c, const std::string &name)
void write_cyl (const geom::Vec3 &p1, const geom::Vec3 &p2, float r, const Color &c, const std::string &name, bool open)
void write_merge_or_union (const std::string &name)
std::string write_coord (const geom::Vec3 &v)
std::string write_coord (float *v)
std::string write_norm (const geom::Vec3 &n)
std::string write_norm (float *n)
std::ostream & pov ()
std::ostream & inc ()

Data Fields

bool use_tf
geom::Transform tf

Detailed Description

Definition at line 35 of file povray.hh.


Constructor & Destructor Documentation

PovState ( const std::string &  pov_file,
const std::string &  inc_file,
const std::string &  wdir 
)

Member Function Documentation

void end_obj (  ) 
std::ostream& inc (  )  [inline]

Definition at line 62 of file povray.hh.

std::ostream& pov (  )  [inline]

Definition at line 61 of file povray.hh.

void start_obj ( const std::string &  name,
float  tp,
float  lw,
float  ps 
)
void write_background ( const Color c  ) 
void write_camera ( float  fov,
float  zdist 
)
std::string write_coord ( float *  v  ) 
std::string write_coord ( const geom::Vec3 v  ) 
void write_cyl ( const geom::Vec3 p1,
const geom::Vec3 p2,
float  r,
const Color c,
const std::string &  name,
bool  open 
)
void write_default_light (  ) 
void write_fog ( float  zdist,
float  znear,
float  zfar,
const Color c,
bool  f 
)
void write_merge_or_union ( const std::string &  name  ) 
std::string write_norm ( float *  n  ) 
std::string write_norm ( const geom::Vec3 n  ) 
void write_obj_tex ( const std::string &  name  ) 
void write_postamble (  ) 
void write_preamble (  ) 
void write_sphere ( const geom::Vec3 p,
float  r,
const Color c,
const std::string &  name 
)

Field Documentation

Definition at line 66 of file povray.hh.

bool use_tf

Definition at line 65 of file povray.hh.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 1 Mar 2018 for OpenStructure by  doxygen 1.6.1