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_trianglecloud Class Reference

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

#include <a_trianglecloud.h>

+ Inheritance diagram for a_trianglecloud:
+ Collaboration diagram for a_trianglecloud:

Public Member Functions

 a_trianglecloud ()
 
 a_trianglecloud (const a_trianglecloud &c)
 
 ~a_trianglecloud ()
 
void clear ()
 
void eraselasttriangle ()
 
a_trianglecloudoperator+= (const a_trianglecloud &c)
 
virtual std::string type () const
 
int nt () const
 
void dxfout (std::ostream &o) const
 
void read (std::istream &in)
 
void write (std::ostream &o) const
 
void gettriangle (const int ref, a_point &p1, a_point &p2, a_point &p3) const
 
int addtriangle (const a_point &p1, const a_point &p2, const a_point &p3)
 
void append (const a_trianglecloud &)
 
void reset_mapper_clipping ()
 
- 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_triangles_
 
- 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 31 of file a_trianglecloud.h.

Constructor & Destructor Documentation

◆ a_trianglecloud() [1/2]

a_trianglecloud::a_trianglecloud ( )

Definition at line 24 of file a_trianglecloud.cxx.

+ Here is the call graph for this function:

◆ a_trianglecloud() [2/2]

a_trianglecloud::a_trianglecloud ( const a_trianglecloud c)

Definition at line 37 of file a_trianglecloud.cxx.

+ Here is the call graph for this function:

◆ ~a_trianglecloud()

a_trianglecloud::~a_trianglecloud ( )

Definition at line 51 of file a_trianglecloud.cxx.

+ Here is the call graph for this function:

Member Function Documentation

◆ addtriangle()

int a_trianglecloud::addtriangle ( const a_point &  p1,
const a_point &  p2,
const a_point &  p3 
)

Definition at line 203 of file a_trianglecloud.cxx.

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

◆ append()

void a_trianglecloud::append ( const a_trianglecloud l)

Definition at line 222 of file a_trianglecloud.cxx.

◆ clear()

void a_trianglecloud::clear ( )
virtual

Reimplemented from a_element.

Definition at line 76 of file a_trianglecloud.cxx.

+ Here is the caller graph for this function:

◆ dxfout()

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

Definition at line 104 of file a_trianglecloud.cxx.

◆ eraselasttriangle()

void a_trianglecloud::eraselasttriangle ( )

Definition at line 213 of file a_trianglecloud.cxx.

+ Here is the call graph for this function:

◆ gettriangle()

void a_trianglecloud::gettriangle ( const int  ref,
a_point &  p1,
a_point &  p2,
a_point &  p3 
) const

Definition at line 179 of file a_trianglecloud.cxx.

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

◆ help()

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

Definition at line 56 of file a_trianglecloud.cxx.

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

◆ nt()

int a_trianglecloud::nt ( ) const

Definition at line 99 of file a_trianglecloud.cxx.

+ Here is the caller graph for this function:

◆ operator+=()

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

Definition at line 88 of file a_trianglecloud.cxx.

+ Here is the call graph for this function:

◆ read()

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

Reimplemented from a_element.

Definition at line 108 of file a_trianglecloud.cxx.

◆ reset_mapper_clipping()

void a_trianglecloud::reset_mapper_clipping ( )

Definition at line 227 of file a_trianglecloud.cxx.

+ Here is the call graph for this function:

◆ type()

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

Reimplemented from a_element.

Definition at line 41 of file a_trianglecloud.h.

◆ write()

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

Reimplemented from a_element.

Definition at line 131 of file a_trianglecloud.cxx.

Member Data Documentation

◆ has_triangles_

bool a_trianglecloud::has_triangles_
protected

Definition at line 54 of file a_trianglecloud.h.


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