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

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

#include <a_linecloud.h>

+ Inheritance diagram for a_linecloud:
+ Collaboration diagram for a_linecloud:

Public Member Functions

 a_linecloud ()
 
 a_linecloud (const a_linecloud &c)
 
 ~a_linecloud ()
 
void clear ()
 
a_linecloudoperator+= (const a_linecloud &c)
 
virtual std::string type () const
 
int nl () const
 
void dxfout (std::ostream &o) const
 
void read (std::istream &in)
 
void write (std::ostream &o) const
 
void getline (const int ref, a_point &p1, a_point &p2) const
 
int addline (const a_point &p1, const a_point &p2)
 
void append (const a_linecloud &)
 
- Public Member Functions inherited from a_element
 a_element ()
 
 ~a_element ()
 
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 ()
 
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 ()
 
- Static Public Member Functions inherited from a_element
static const std::string help ()
 

Protected Attributes

bool has_lines_
 
- Protected Attributes inherited from a_element
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_
 

Additional Inherited Members

- Protected Member Functions inherited from a_element
void logname ()
 
int addpoint (const a_point &p)
 
void log (std::ostringstream &text)
 

Detailed Description

layer used by screen to draw vector graphics

Definition at line 29 of file a_linecloud.h.

Constructor & Destructor Documentation

◆ a_linecloud() [1/2]

a_linecloud::a_linecloud ( )

Definition at line 27 of file a_linecloud.cxx.

+ Here is the call graph for this function:

◆ a_linecloud() [2/2]

a_linecloud::a_linecloud ( const a_linecloud c)

Definition at line 40 of file a_linecloud.cxx.

+ Here is the call graph for this function:

◆ ~a_linecloud()

a_linecloud::~a_linecloud ( )

Definition at line 54 of file a_linecloud.cxx.

+ Here is the call graph for this function:

Member Function Documentation

◆ addline()

int a_linecloud::addline ( const a_point &  p1,
const a_point &  p2 
)

Definition at line 177 of file a_linecloud.cxx.

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

◆ append()

void a_linecloud::append ( const a_linecloud l)

Definition at line 188 of file a_linecloud.cxx.

◆ clear()

void a_linecloud::clear ( )
virtual

Reimplemented from a_element.

Definition at line 80 of file a_linecloud.cxx.

+ Here is the caller graph for this function:

◆ dxfout()

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

Definition at line 100 of file a_linecloud.cxx.

◆ getline()

void a_linecloud::getline ( const int  ref,
a_point &  p1,
a_point &  p2 
) const

Definition at line 158 of file a_linecloud.cxx.

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

◆ help()

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

Definition at line 59 of file a_linecloud.cxx.

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

◆ nl()

int a_linecloud::nl ( ) const

Definition at line 104 of file a_linecloud.cxx.

+ Here is the caller graph for this function:

◆ operator+=()

a_linecloud & a_linecloud::operator+= ( const a_linecloud c)

Definition at line 89 of file a_linecloud.cxx.

+ Here is the call graph for this function:

◆ read()

void a_linecloud::read ( std::istream &  in)
virtual

Reimplemented from a_element.

Definition at line 109 of file a_linecloud.cxx.

◆ type()

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

Reimplemented from a_element.

Definition at line 38 of file a_linecloud.h.

◆ write()

void a_linecloud::write ( std::ostream &  o) const
virtual

Reimplemented from a_element.

Definition at line 134 of file a_linecloud.cxx.

Member Data Documentation

◆ has_lines_

bool a_linecloud::has_lines_
protected

Definition at line 48 of file a_linecloud.h.


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