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

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

#include <a_pointcloud.h>

+ Inheritance diagram for a_pointcloud:
+ Collaboration diagram for a_pointcloud:

Public Member Functions

 a_pointcloud ()
 
 ~a_pointcloud ()
 
void clear ()
 
virtual std::string type () const
 
void point (double x, double y, double z)
 
void point (double x[3])
 
void point (const a_point &p)
 
int np () const
 
void eraselastpoint ()
 
void dxfout (std::ostream &o) const
 
virtual void read (std::istream &in)
 
virtual void write (std::ostream &o) const
 
void append (const a_pointcloud &)
 
std::vector< a_point > cloud () const
 
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_points_
 
- 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_pointcloud.h.

Constructor & Destructor Documentation

◆ a_pointcloud()

a_pointcloud::a_pointcloud ( )

Definition at line 24 of file a_pointcloud.cxx.

+ Here is the call graph for this function:

◆ ~a_pointcloud()

a_pointcloud::~a_pointcloud ( )

Definition at line 34 of file a_pointcloud.cxx.

Member Function Documentation

◆ append()

void a_pointcloud::append ( const a_pointcloud l)

Definition at line 182 of file a_pointcloud.cxx.

+ Here is the call graph for this function:

◆ clear()

void a_pointcloud::clear ( )
virtual

Reimplemented from a_element.

Definition at line 202 of file a_pointcloud.cxx.

◆ cloud()

std::vector< a_point > a_pointcloud::cloud ( ) const

Definition at line 127 of file a_pointcloud.cxx.

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

◆ dxfout()

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

Definition at line 103 of file a_pointcloud.cxx.

◆ eraselastpoint()

void a_pointcloud::eraselastpoint ( )

Definition at line 84 of file a_pointcloud.cxx.

+ Here is the call graph for this function:

◆ help()

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

Definition at line 38 of file a_pointcloud.cxx.

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

◆ np()

int a_pointcloud::np ( ) const

Definition at line 59 of file a_pointcloud.cxx.

◆ point() [1/3]

void a_pointcloud::point ( const a_point &  p)

Definition at line 79 of file a_pointcloud.cxx.

+ Here is the call graph for this function:

◆ point() [2/3]

void a_pointcloud::point ( double  x,
double  y,
double  z 
)

Definition at line 64 of file a_pointcloud.cxx.

+ Here is the caller graph for this function:

◆ point() [3/3]

void a_pointcloud::point ( double  x[3])

Definition at line 74 of file a_pointcloud.cxx.

+ Here is the call graph for this function:

◆ read()

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

Reimplemented from a_element.

Definition at line 150 of file a_pointcloud.cxx.

+ Here is the call graph for this function:

◆ reset_mapper_clipping()

void a_pointcloud::reset_mapper_clipping ( )

Definition at line 211 of file a_pointcloud.cxx.

+ Here is the call graph for this function:

◆ type()

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

Reimplemented from a_element.

Definition at line 38 of file a_pointcloud.h.

+ Here is the caller graph for this function:

◆ write()

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

Reimplemented from a_element.

Definition at line 162 of file a_pointcloud.cxx.

Member Data Documentation

◆ has_points_

bool a_pointcloud::has_points_
protected

Definition at line 52 of file a_pointcloud.h.


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