24 #include "vtkPolyData.h"
25 #include "vtkRenderer.h"
26 #include "vtkRenderWindow.h"
27 #include "vtkRenderWindowInteractor.h"
43 virtual std::string
type()
const {
return "a_screen";}
44 inline void logfile(a_text& text) {
log_ <<
"setlogfile" << std::endl;
log_ = text;}
50 static const std::string
help();
54 virtual void newlayer(
const std::string& s);
56 virtual void setlayer(
const std::string& s);
62 void color(
float r,
float g,
float b);
82 void point(
const a_point& p);
83 void point(
double x,
double y,
double z);
84 void line(
const a_point& p1,
const a_point& p2);
85 void line(
double x1,
double y1,
double z1,
86 double x2,
double y2,
double z2);
87 void vertex(
const a_point& p);
88 void vertex(
double x,
double y,
double z);
91 void vertex0(
double x,
double y,
double z);
107 void pan(
const double *
pt);
111 void pitch(
double u);
128 void dxfin(
const std::string& file);
129 void dxfout(
const std::string& file);
130 void ptin(
const std::string& file);
131 void ptout(
const std::string& file);
132 void tifout(
const std::string& file);
133 void jpgout(
const std::string& file);
134 void pngout(
const std::string& file);
135 void vrmlout(
const std::string& file);
136 void vtkout(
const std::string& file);
137 void ribout(
const std::string& file);
146 void open(
const std::string& file);
147 void save(
const std::string& file);
185 void point0(
double x,
double y,
double z);
186 void line0(
double x1,
double y1,
double z1,
187 double x2,
double y2,
double z2);
virtual void eraselayer(const std::string &s)
void point(const a_point &p)
static const std::string help()
friend std::istream & operator>>(std::istream &i, a_screen &w)
void printout(const std::string text)
std::vector< a_screenlayer * > layers_
void printout(const bool val)
void vertex0(double x, double y, double z)
void vrmlout(const std::string &file)
a_point viewpoint() const
void jpgout(const std::string &file)
void setofflayer(const std::string &s)
void point0(double x, double y, double z)
const std::string getlayer() const
void pan(const double *pt)
void setonlayer(const std::string &s)
void line(const a_point &p1, const a_point &p2)
void line0(double x1, double y1, double z1, double x2, double y2, double z2)
void color(float r, float g, float b)
void tifout(const std::string &file)
virtual void newlayer(const std::string &s)
friend std::ostream & operator<<(std::ostream &o, a_screen &w)
void ptout(const std::string &file)
virtual std::string type() const
void save(const std::string &file)
vtkRenderWindowInteractor * iren_
a_point focalpoint() const
void setlightoncameraposition()
void vertex(const a_point &p)
bool existlayer(const std::string &s) const
void outputfile(a_text &text)
void ribout(const std::string &file)
virtual void setlayer(const std::string &s)
void open(const std::string &file)
a_screenlayer * active_layer_
void dxfin(const std::string &file)
void pngout(const std::string &file)
void dxfout(const std::string &file)
void background(double R, double G, double B)
void ptin(const std::string &file)
void logfile(a_text &text)
void vtkout(const std::string &file)
void surfacepoint(const a_point &p)
vtkRenderWindow * renWin_
layer used by screen to draw vector graphics
void thickness(const int)
double v(const uint32_t step, const uint32_t n)