Points&Forces (survey)
Software tools facilitating the task of surveying architecture
|
a vtk screen More...
#include <a_screen.h>
Classes | |
class | file_error |
class | filenotfound_error |
class | model_uni_not_found_error |
class | no_layer_error |
class | notallowed_error |
Public Member Functions | |
a_screen () | |
~a_screen () | |
virtual std::string | type () const |
void | logfile (a_text &text) |
void | outputfile (a_text &text) |
void | printout (const std::string text) |
void | printout (const bool val) |
bool | existlayer (const std::string &s) const |
bool | existlayer (const std::string &s, a_screenlayer *&) const |
virtual void | newlayer (const std::string &s) |
void | newlayer (const a_screenlayer &l) |
virtual void | setlayer (const std::string &s) |
virtual void | eraselayer (const std::string &s) |
void | setofflayer (const std::string &s) |
void | setonlayer (const std::string &s) |
const std::string | getlayer () const |
std::string | listlayers () |
void | color (float r, float g, float b) |
void | R (double v) |
void | G (double v) |
void | B (double v) |
double | R () const |
double | G () const |
double | B () const |
void | thickness (const int) |
int | thickness () const |
void | spotlight () |
void | sunlight () |
void | parallel_view () |
void | perspectia_view () |
bool | empty () const |
void | empty (bool code) |
virtual void | interact () |
void | getinteract () |
void | point (const a_point &p) |
void | point (double x, double y, double z) |
void | line (const a_point &p1, const a_point &p2) |
void | line (double x1, double y1, double z1, double x2, double y2, double z2) |
void | vertex (const a_point &p) |
void | vertex (double x, double y, double z) |
void | endpolyline () |
void | closepolyline () |
void | vertex0 (double x, double y, double z) |
void | endpolyline0 () |
void | closepolyline0 () |
void | surfacepoint (const a_point &p) |
void | surfacepoint (double x, double y, double z) |
void | eraselastpoint () |
void | eraselastline () |
void | eraselastpolyline () |
void | viewpoint (const a_point &pt) |
void | focalpoint (const a_point &pt) |
void | viewpoint (const double *pt) |
void | focalpoint (const double *pt) |
a_point | viewpoint () const |
a_point | focalpoint () const |
void | pan (const double *pt) |
void | azimuth (double x) |
void | elevation (double y) |
void | roll (double z) |
void | pitch (double u) |
void | yaw (double v) |
void | distance (double d) |
void | distance0 (double d) |
double | azimuth () const |
double | elevation () const |
double | roll () const |
double | distance () const |
void | background (double R, double G, double B) |
void | fullscreenon () |
void | fullscreenoff () |
void | cursor_show () |
void | cursor_hide () |
void | output_position () |
void | dxfin (const std::string &file) |
void | dxfout (const std::string &file) |
void | ptin (const std::string &file) |
void | ptout (const std::string &file) |
void | tifout (const std::string &file) |
void | jpgout (const std::string &file) |
void | pngout (const std::string &file) |
void | vrmlout (const std::string &file) |
void | vtkout (const std::string &file) |
void | ribout (const std::string &file) |
void | render () |
void | render_clip () |
void | reset () |
void | open (const std::string &file) |
void | save (const std::string &file) |
Static Public Member Functions | |
static const std::string | help () |
Protected Member Functions | |
void | point0 (double x, double y, double z) |
void | line0 (double x1, double y1, double z1, double x2, double y2, double z2) |
void | setlightoncameraposition () |
void | unroll () |
Protected Attributes | |
vtkPolyData * | data_ |
std::vector< a_screenlayer * > | layers_ |
a_screenlayer * | active_layer_ |
vtkRenderer * | ren_ |
vtkRenderWindow * | renWin_ |
vtkRenderWindowInteractor * | iren_ |
double | x0_ |
double | y0_ |
double | z0_ |
float | clip_ [2] |
bool | spotlight_ |
a_text | output_ |
a_text | log_ |
bool | empty_ |
bool | one_point_ |
Friends | |
std::istream & | operator>> (std::istream &i, a_screen &w) |
std::ostream & | operator<< (std::ostream &o, a_screen &w) |
a vtk screen
Definition at line 37 of file a_screen.h.
a_screen::a_screen | ( | ) |
a_screen::~a_screen | ( | ) |
|
inline |
Definition at line 115 of file a_screen.h.
void a_screen::azimuth | ( | double | x | ) |
Definition at line 608 of file a_screen.cxx.
|
inline |
Definition at line 68 of file a_screen.h.
|
inline |
void a_screen::background | ( | double | R, |
double | G, | ||
double | B | ||
) |
void a_screen::closepolyline | ( | ) |
void a_screen::closepolyline0 | ( | ) |
void a_screen::color | ( | float | r, |
float | g, | ||
float | b | ||
) |
|
inline |
Definition at line 124 of file a_screen.h.
|
inline |
Definition at line 123 of file a_screen.h.
double a_screen::distance | ( | ) | const |
Definition at line 669 of file a_screen.cxx.
void a_screen::distance | ( | double | d | ) |
Definition at line 660 of file a_screen.cxx.
void a_screen::distance0 | ( | double | d | ) |
void a_screen::dxfin | ( | const std::string & | file | ) |
void a_screen::dxfout | ( | const std::string & | file | ) |
Definition at line 879 of file a_screen.cxx.
|
inline |
Definition at line 116 of file a_screen.h.
void a_screen::elevation | ( | double | y | ) |
Definition at line 617 of file a_screen.cxx.
|
inline |
Definition at line 77 of file a_screen.h.
|
inline |
Definition at line 78 of file a_screen.h.
void a_screen::endpolyline | ( | ) |
void a_screen::endpolyline0 | ( | ) |
Definition at line 551 of file a_screen.cxx.
void a_screen::eraselastline | ( | ) |
void a_screen::eraselastpoint | ( | ) |
void a_screen::eraselastpolyline | ( | ) |
|
virtual |
bool a_screen::existlayer | ( | const std::string & | s | ) | const |
bool a_screen::existlayer | ( | const std::string & | s, |
a_screenlayer *& | p | ||
) | const |
Definition at line 232 of file a_screen.cxx.
a_point a_screen::focalpoint | ( | ) | const |
void a_screen::focalpoint | ( | const a_point & | pt | ) |
void a_screen::focalpoint | ( | const double * | pt | ) |
|
inline |
Definition at line 122 of file a_screen.h.
|
inline |
Definition at line 121 of file a_screen.h.
|
inline |
Definition at line 67 of file a_screen.h.
|
inline |
|
inline |
Definition at line 81 of file a_screen.h.
const std::string a_screen::getlayer | ( | ) | const |
|
static |
|
virtual |
Definition at line 417 of file a_screen.cxx.
void a_screen::jpgout | ( | const std::string & | file | ) |
void a_screen::line | ( | const a_point & | p1, |
const a_point & | p2 | ||
) |
void a_screen::line | ( | double | x1, |
double | y1, | ||
double | z1, | ||
double | x2, | ||
double | y2, | ||
double | z2 | ||
) |
|
protected |
Definition at line 541 of file a_screen.cxx.
std::string a_screen::listlayers | ( | ) |
Definition at line 295 of file a_screen.cxx.
|
inline |
Definition at line 44 of file a_screen.h.
void a_screen::newlayer | ( | const a_screenlayer & | l | ) |
|
virtual |
Definition at line 245 of file a_screen.cxx.
void a_screen::open | ( | const std::string & | file | ) |
Definition at line 1088 of file a_screen.cxx.
void a_screen::output_position | ( | ) |
|
inline |
Definition at line 45 of file a_screen.h.
void a_screen::pan | ( | const double * | pt | ) |
void a_screen::parallel_view | ( | ) |
Definition at line 403 of file a_screen.cxx.
void a_screen::perspectia_view | ( | ) |
Definition at line 410 of file a_screen.cxx.
void a_screen::pitch | ( | double | u | ) |
void a_screen::pngout | ( | const std::string & | file | ) |
void a_screen::point | ( | const a_point & | p | ) |
void a_screen::point | ( | double | x, |
double | y, | ||
double | z | ||
) |
|
protected |
Definition at line 536 of file a_screen.cxx.
|
inline |
Definition at line 49 of file a_screen.h.
|
inline |
Definition at line 48 of file a_screen.h.
void a_screen::ptin | ( | const std::string & | file | ) |
void a_screen::ptout | ( | const std::string & | file | ) |
|
inline |
Definition at line 66 of file a_screen.h.
|
inline |
|
inline |
Definition at line 139 of file a_screen.h.
void a_screen::render_clip | ( | ) |
void a_screen::reset | ( | ) |
void a_screen::ribout | ( | const std::string & | file | ) |
|
inline |
Definition at line 117 of file a_screen.h.
void a_screen::roll | ( | double | z | ) |
Definition at line 626 of file a_screen.cxx.
void a_screen::save | ( | const std::string & | file | ) |
Definition at line 1100 of file a_screen.cxx.
|
virtual |
Definition at line 306 of file a_screen.cxx.
|
protected |
void a_screen::setofflayer | ( | const std::string & | s | ) |
void a_screen::setonlayer | ( | const std::string & | s | ) |
void a_screen::spotlight | ( | ) |
Definition at line 380 of file a_screen.cxx.
void a_screen::sunlight | ( | ) |
void a_screen::surfacepoint | ( | const a_point & | p | ) |
Definition at line 561 of file a_screen.cxx.
void a_screen::surfacepoint | ( | double | x, |
double | y, | ||
double | z | ||
) |
|
inline |
void a_screen::thickness | ( | const int | t | ) |
void a_screen::tifout | ( | const std::string & | file | ) |
|
inlinevirtual |
|
protected |
void a_screen::vertex | ( | const a_point & | p | ) |
Definition at line 497 of file a_screen.cxx.
void a_screen::vertex | ( | double | x, |
double | y, | ||
double | z | ||
) |
void a_screen::vertex0 | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 546 of file a_screen.cxx.
a_point a_screen::viewpoint | ( | ) | const |
void a_screen::viewpoint | ( | const a_point & | pt | ) |
void a_screen::viewpoint | ( | const double * | pt | ) |
void a_screen::vrmlout | ( | const std::string & | file | ) |
Definition at line 964 of file a_screen.cxx.
void a_screen::vtkout | ( | const std::string & | file | ) |
Definition at line 974 of file a_screen.cxx.
void a_screen::yaw | ( | double | v | ) |
|
friend |
Definition at line 1080 of file a_screen.cxx.
|
friend |
Definition at line 1059 of file a_screen.cxx.
|
protected |
Definition at line 163 of file a_screen.h.
|
protected |
clipping range
Definition at line 175 of file a_screen.h.
|
protected |
Definition at line 161 of file a_screen.h.
|
protected |
Definition at line 182 of file a_screen.h.
|
protected |
Definition at line 166 of file a_screen.h.
|
protected |
Definition at line 162 of file a_screen.h.
|
protected |
where the text of the commands is sent
Definition at line 180 of file a_screen.h.
|
protected |
Definition at line 183 of file a_screen.h.
|
protected |
where the text results are sent
Definition at line 178 of file a_screen.h.
|
protected |
Definition at line 164 of file a_screen.h.
|
protected |
Definition at line 165 of file a_screen.h.
|
protected |
Definition at line 176 of file a_screen.h.
|
protected |
azimuth
Definition at line 169 of file a_screen.h.
|
protected |
elevation
Definition at line 171 of file a_screen.h.
|
protected |
roll
Definition at line 173 of file a_screen.h.