Points&Forces (survey)
Software tools facilitating the task of surveying architecture
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
a_element Class Reference

layer used by screen to draw vector graphics More...

#include <a_element.h>

+ Inheritance diagram for a_element:
+ Collaboration diagram for a_element:

Public Member Functions

 a_element ()
 
 ~a_element ()
 
virtual void clear ()
 
virtual std::string type () const
 
void setcanvas (a_canvas &can)
 
void reset ()
 
void render ()
 
void name (std::string &aname)
 
std::string name () const
 
bool empty () const
 
void empty (const bool code)
 
void flushlog ()
 
void color (double r, double g, double 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)
 
void greyscale (bool)
 set the scalar viewing mode to greyscale (1) or colour (0) More...
 
void zebra (bool)
 
bool greyscale () const
 get the scalar viewing mode More...
 
void steps (const int)
 
int steps () const
 
int thickness () const
 
vtkActor * actor ()
 
vtkPolyData * polydata ()
 
bool operator== (const std::string &s) const
 
bool operator!= (const std::string &s) const
 
void dxfout (std::ostream &o) const
 
void visibility (const int code)
 
bool isvisible () const
 
bool isnotvisible () const
 
void opacity (const double val)
 
void edges (const bool val)
 
void smooth (const bool val)
 
void relief (const a_point &p1, const a_point &p2)
 
void image (a_image &image)
 
void imageon ()
 
void imageoff ()
 
virtual void read (std::istream &in)
 
virtual void write (std::ostream &o) const
 
void open (const std::string &file)
 
void save (const std::string &file)
 
void save_transform (const std::string &file)
 
void open_scalars (const std::string &file)
 
void reset_mapper_clipping ()
 
void place (const double x, const double y, const double z)
 
void translate (const double x, const double y, const double z)
 
void origin (const double x, const double y, const double z)
 
void orient (const double pitch, const double roll, const double yaw)
 
void rotate (const double pitch, const double roll, const double yaw)
 
void scale (double s)
 
void scale (double s1, double s2, double s3)
 
a_point place () const
 
a_point origin () const
 
a_point orient () const
 
double scale () const
 
double small () const
 
void small (const double s)
 
a_point center () const
 
double size () const
 
double minx () const
 
double maxx () const
 
double miny () const
 
double maxy () const
 
double minz () const
 
double maxz () const
 

Static Public Member Functions

static const std::string help ()
 

Protected Member Functions

void logname ()
 
int addpoint (const a_point &p)
 
void log (std::ostringstream &text)
 

Protected Attributes

std::string name_
 
vtkActor * actor_
 
vtkPolyData * polydata_
 
a_canvascan_
 
a_imageimage_
 
double R_
 
double G_
 
double B_
 
int thickness_
 
bool empty_
 
std::vector< std::string > log0_
 
double small_
 

Friends

std::istream & operator>> (std::istream &i, a_element &l)
 
std::ostream & operator<< (std::ostream &o, const a_element &l)
 

Detailed Description

layer used by screen to draw vector graphics

Definition at line 38 of file a_element.h.

Constructor & Destructor Documentation

◆ a_element()

a_element::a_element ( )

Definition at line 32 of file a_element.cxx.

◆ ~a_element()

a_element::~a_element ( )

Definition at line 116 of file a_element.cxx.

+ Here is the call graph for this function:

Member Function Documentation

◆ actor()

vtkActor* a_element::actor ( )
inline

Definition at line 70 of file a_element.h.

+ Here is the caller graph for this function:

◆ addpoint()

int a_element::addpoint ( const a_point &  p)
protected

Definition at line 643 of file a_element.cxx.

+ Here is the caller graph for this function:

◆ B() [1/2]

double a_element::B ( ) const
inline

Definition at line 60 of file a_element.h.

◆ B() [2/2]

void a_element::B ( double  v)

Definition at line 216 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ center()

a_point a_element::center ( ) const

Definition at line 585 of file a_element.cxx.

◆ clear()

void a_element::clear ( )
virtual

Reimplemented in a_trianglecloud, a_pointcloud, and a_linecloud.

Definition at line 121 of file a_element.cxx.

+ Here is the caller graph for this function:

◆ color()

void a_element::color ( double  r,
double  g,
double  b 
)

Definition at line 180 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dxfout()

void a_element::dxfout ( std::ostream &  o) const

Definition at line 361 of file a_element.cxx.

◆ edges()

void a_element::edges ( const bool  val)

Definition at line 311 of file a_element.cxx.

+ Here is the call graph for this function:

◆ empty() [1/2]

bool a_element::empty ( ) const
inline

Definition at line 51 of file a_element.h.

+ Here is the caller graph for this function:

◆ empty() [2/2]

void a_element::empty ( const bool  code)
inline

Definition at line 52 of file a_element.h.

◆ flushlog()

void a_element::flushlog ( )

Definition at line 132 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ G() [1/2]

double a_element::G ( ) const
inline

Definition at line 59 of file a_element.h.

◆ G() [2/2]

void a_element::G ( double  v)

Definition at line 205 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ greyscale() [1/2]

bool a_element::greyscale ( ) const

get the scalar viewing mode

Definition at line 274 of file a_element.cxx.

+ Here is the caller graph for this function:

◆ greyscale() [2/2]

void a_element::greyscale ( bool  g)

set the scalar viewing mode to greyscale (1) or colour (0)

Definition at line 257 of file a_element.cxx.

+ Here is the call graph for this function:

◆ help()

const std::string a_element::help ( )
static

Definition at line 66 of file a_element.cxx.

+ Here is the caller graph for this function:

◆ image()

void a_element::image ( a_image image)

Definition at line 365 of file a_element.cxx.

+ Here is the call graph for this function:

◆ imageoff()

void a_element::imageoff ( )

Definition at line 390 of file a_element.cxx.

+ Here is the call graph for this function:

◆ imageon()

void a_element::imageon ( )

Definition at line 379 of file a_element.cxx.

+ Here is the call graph for this function:

◆ isnotvisible()

bool a_element::isnotvisible ( ) const
inline

Definition at line 77 of file a_element.h.

◆ isvisible()

bool a_element::isvisible ( ) const
inline

Definition at line 76 of file a_element.h.

◆ log()

void a_element::log ( std::ostringstream &  text)
protected

Definition at line 155 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ logname()

void a_element::logname ( )
protected

Definition at line 109 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ maxx()

double a_element::maxx ( ) const

Definition at line 608 of file a_element.cxx.

◆ maxy()

double a_element::maxy ( ) const

Definition at line 622 of file a_element.cxx.

◆ maxz()

double a_element::maxz ( ) const

Definition at line 636 of file a_element.cxx.

◆ minx()

double a_element::minx ( ) const

Definition at line 601 of file a_element.cxx.

◆ miny()

double a_element::miny ( ) const

Definition at line 615 of file a_element.cxx.

◆ minz()

double a_element::minz ( ) const

Definition at line 629 of file a_element.cxx.

◆ name() [1/2]

std::string a_element::name ( ) const
inline

Definition at line 50 of file a_element.h.

◆ name() [2/2]

void a_element::name ( std::string &  aname)
inline

Definition at line 49 of file a_element.h.

+ Here is the caller graph for this function:

◆ opacity()

void a_element::opacity ( const double  val)

Definition at line 300 of file a_element.cxx.

+ Here is the call graph for this function:

◆ open()

void a_element::open ( const std::string &  file)

Definition at line 411 of file a_element.cxx.

+ Here is the call graph for this function:

◆ open_scalars()

void a_element::open_scalars ( const std::string &  file)

Definition at line 458 of file a_element.cxx.

+ Here is the call graph for this function:

◆ operator!=()

bool a_element::operator!= ( const std::string &  s) const
inline

Definition at line 73 of file a_element.h.

◆ operator==()

bool a_element::operator== ( const std::string &  s) const
inline

Definition at line 72 of file a_element.h.

◆ orient() [1/2]

a_point a_element::orient ( ) const

Definition at line 571 of file a_element.cxx.

◆ orient() [2/2]

void a_element::orient ( const double  pitch,
const double  roll,
const double  yaw 
)

Definition at line 524 of file a_element.cxx.

+ Here is the call graph for this function:

◆ origin() [1/2]

a_point a_element::origin ( ) const

Definition at line 564 of file a_element.cxx.

◆ origin() [2/2]

void a_element::origin ( const double  x,
const double  y,
const double  z 
)

Definition at line 516 of file a_element.cxx.

+ Here is the call graph for this function:

◆ place() [1/2]

a_point a_element::place ( ) const

Definition at line 557 of file a_element.cxx.

◆ place() [2/2]

void a_element::place ( const double  x,
const double  y,
const double  z 
)

Definition at line 498 of file a_element.cxx.

+ Here is the call graph for this function:

◆ polydata()

vtkPolyData* a_element::polydata ( )
inline

Definition at line 71 of file a_element.h.

+ Here is the caller graph for this function:

◆ R() [1/2]

double a_element::R ( ) const
inline

Definition at line 58 of file a_element.h.

◆ R() [2/2]

void a_element::R ( double  v)

Definition at line 194 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

virtual void a_element::read ( std::istream &  in)
inlinevirtual

Reimplemented in a_trianglecloud, a_pointcloud, a_linecloud, and a_axes.

Definition at line 89 of file a_element.h.

+ Here is the caller graph for this function:

◆ relief()

void a_element::relief ( const a_point &  p1,
const a_point &  p2 
)

Definition at line 343 of file a_element.cxx.

+ Here is the call graph for this function:

◆ render()

void a_element::render ( )

Definition at line 127 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset()

void a_element::reset ( )

Definition at line 168 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset_mapper_clipping()

void a_element::reset_mapper_clipping ( )

Definition at line 484 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rotate()

void a_element::rotate ( const double  pitch,
const double  roll,
const double  yaw 
)

Definition at line 533 of file a_element.cxx.

+ Here is the call graph for this function:

◆ save()

void a_element::save ( const std::string &  file)

Definition at line 420 of file a_element.cxx.

+ Here is the call graph for this function:

◆ save_transform()

void a_element::save_transform ( const std::string &  file)

Definition at line 429 of file a_element.cxx.

+ Here is the call graph for this function:

◆ scale() [1/3]

double a_element::scale ( ) const

Definition at line 578 of file a_element.cxx.

◆ scale() [2/3]

void a_element::scale ( double  s)

Definition at line 541 of file a_element.cxx.

+ Here is the call graph for this function:

◆ scale() [3/3]

void a_element::scale ( double  s1,
double  s2,
double  s3 
)

Definition at line 549 of file a_element.cxx.

+ Here is the call graph for this function:

◆ setcanvas()

void a_element::setcanvas ( a_canvas can)
inline

Definition at line 46 of file a_element.h.

+ Here is the caller graph for this function:

◆ size()

double a_element::size ( ) const

Definition at line 592 of file a_element.cxx.

◆ small() [1/2]

double a_element::small ( ) const
inline

Definition at line 109 of file a_element.h.

◆ small() [2/2]

void a_element::small ( const double  s)
inline

Definition at line 110 of file a_element.h.

◆ smooth()

void a_element::smooth ( const bool  val)

Definition at line 325 of file a_element.cxx.

+ Here is the call graph for this function:

◆ steps() [1/2]

int a_element::steps ( ) const

Definition at line 294 of file a_element.cxx.

◆ steps() [2/2]

void a_element::steps ( const int  st)

Definition at line 283 of file a_element.cxx.

+ Here is the call graph for this function:

◆ thickness() [1/2]

int a_element::thickness ( ) const
inline

Definition at line 69 of file a_element.h.

+ Here is the caller graph for this function:

◆ thickness() [2/2]

void a_element::thickness ( const int  v)

Definition at line 227 of file a_element.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ translate()

void a_element::translate ( const double  x,
const double  y,
const double  z 
)

Definition at line 506 of file a_element.cxx.

+ Here is the call graph for this function:

◆ type()

virtual std::string a_element::type ( ) const
inlinevirtual

Reimplemented in a_trianglecloud, a_pointcloud, a_linecloud, and a_axes.

Definition at line 44 of file a_element.h.

+ Here is the caller graph for this function:

◆ visibility()

void a_element::visibility ( const int  code)
inline

Definition at line 75 of file a_element.h.

+ Here is the call graph for this function:

◆ write()

virtual void a_element::write ( std::ostream &  o) const
inlinevirtual

Reimplemented in a_trianglecloud, a_pointcloud, a_linecloud, and a_axes.

Definition at line 90 of file a_element.h.

+ Here is the caller graph for this function:

◆ zebra()

void a_element::zebra ( bool  on)

Definition at line 240 of file a_element.cxx.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
const a_element l 
)
friend

Definition at line 405 of file a_element.cxx.

◆ operator>>

std::istream& operator>> ( std::istream &  i,
a_element l 
)
friend

Definition at line 399 of file a_element.cxx.

Member Data Documentation

◆ actor_

vtkActor* a_element::actor_
protected

Definition at line 124 of file a_element.h.

◆ B_

double a_element::B_
protected

Definition at line 130 of file a_element.h.

◆ can_

a_canvas* a_element::can_
protected

Definition at line 126 of file a_element.h.

◆ empty_

bool a_element::empty_
protected

Definition at line 132 of file a_element.h.

◆ G_

double a_element::G_
protected

Definition at line 129 of file a_element.h.

◆ image_

a_image* a_element::image_
protected

Definition at line 127 of file a_element.h.

◆ log0_

std::vector<std::string> a_element::log0_
protected

Definition at line 133 of file a_element.h.

◆ name_

std::string a_element::name_
protected

Definition at line 123 of file a_element.h.

◆ polydata_

vtkPolyData* a_element::polydata_
protected

Definition at line 125 of file a_element.h.

◆ R_

double a_element::R_
protected

Definition at line 128 of file a_element.h.

◆ small_

double a_element::small_
protected

Definition at line 135 of file a_element.h.

◆ thickness_

int a_element::thickness_
protected

Definition at line 131 of file a_element.h.


The documentation for this class was generated from the following files: