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

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

#include <a_screenlayer.h>

+ Collaboration diagram for a_screenlayer:

Public Member Functions

 a_screenlayer ()
 
 ~a_screenlayer ()
 
void reset ()
 
void name (std::string aname)
 
std::string name () const
 
bool empty () const
 
void empty (bool code)
 
void color (float r, float g, float b)
 
void R (float v)
 
void G (float v)
 
void B (float v)
 
float R () const
 
float G () const
 
float B () const
 
void thickness (const int)
 
int thickness () const
 
vtkActor * actor ()
 
vtkActor * actor2 ()
 
vtkActor * surfaceactor ()
 
vtkPolyData * polydata ()
 
vtkPolyData * polydata2 ()
 
bool operator== (const std::string s) const
 
bool operator!= (const std::string s) const
 
void point (double x, double y, double z)
 
void point (double x[3])
 
void line (double x1, double y1, double z1, double x2, double y2, double z2)
 
void line (double x[6])
 
void vertex (double x, double y, double z)
 
void vertex (double x[3])
 
void endpolyline ()
 
void closepolyline ()
 
void surfacepoint (double x, double y, double z)
 
bool hassurface ()
 
bool surfaceready ()
 
void eraselastpoint ()
 
void eraselastline ()
 
void eraselastpolyline ()
 
void dxfout (std::ostream &o) const
 
void ptin (std::istream &in)
 
void ptout (std::ostream &o) const
 
void visibility (const int code)
 
bool isvisible () const
 
bool isnotvisible () const
 
void open (const std::string file)
 
void save (const std::string file)
 
void append (const a_screenlayer &)
 
void reset_mapper_clipping ()
 

Protected Attributes

std::string name_
 
vtkActor * actor_
 
vtkActor * actor2_
 
vtkActor * surface_actor_
 
vtkPolyData * polydata_
 
vtkPolyData * polydata2_
 
vtkPoints * surface_points_
 
vtkPoints * points_polyline_
 
float R_
 
float G_
 
float B_
 
int thickness_
 
bool empty_
 
bool has_points_
 
bool has_vertices_
 
bool has_lines_
 
bool has_polylines_
 
int number_of_surface_point_
 

Friends

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

Detailed Description

layer used by screen to draw vector graphics

Definition at line 30 of file a_screenlayer.h.

Constructor & Destructor Documentation

◆ a_screenlayer()

a_screenlayer::a_screenlayer ( )

Definition at line 26 of file a_screenlayer.cxx.

◆ ~a_screenlayer()

a_screenlayer::~a_screenlayer ( )

Definition at line 60 of file a_screenlayer.cxx.

Member Function Documentation

◆ actor()

vtkActor* a_screenlayer::actor ( )
inline

Definition at line 49 of file a_screenlayer.h.

+ Here is the caller graph for this function:

◆ actor2()

vtkActor* a_screenlayer::actor2 ( )
inline

Definition at line 50 of file a_screenlayer.h.

+ Here is the caller graph for this function:

◆ append()

void a_screenlayer::append ( const a_screenlayer l)

Definition at line 639 of file a_screenlayer.cxx.

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

◆ B() [1/2]

float a_screenlayer::B ( ) const
inline

Definition at line 46 of file a_screenlayer.h.

◆ B() [2/2]

void a_screenlayer::B ( float  v)

Definition at line 119 of file a_screenlayer.cxx.

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

◆ closepolyline()

void a_screenlayer::closepolyline ( )

Definition at line 254 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ color()

void a_screenlayer::color ( float  r,
float  g,
float  b 
)

Definition at line 83 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ dxfout()

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

Definition at line 365 of file a_screenlayer.cxx.

◆ empty() [1/2]

bool a_screenlayer::empty ( ) const
inline

Definition at line 38 of file a_screenlayer.h.

+ Here is the caller graph for this function:

◆ empty() [2/2]

void a_screenlayer::empty ( bool  code)
inline

Definition at line 39 of file a_screenlayer.h.

◆ endpolyline()

void a_screenlayer::endpolyline ( )

Definition at line 225 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ eraselastline()

void a_screenlayer::eraselastline ( )

Definition at line 329 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ eraselastpoint()

void a_screenlayer::eraselastpoint ( )

Definition at line 310 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ eraselastpolyline()

void a_screenlayer::eraselastpolyline ( )

Definition at line 347 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ G() [1/2]

float a_screenlayer::G ( ) const
inline

Definition at line 45 of file a_screenlayer.h.

◆ G() [2/2]

void a_screenlayer::G ( float  v)

Definition at line 107 of file a_screenlayer.cxx.

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

◆ hassurface()

bool a_screenlayer::hassurface ( )
inline

Definition at line 65 of file a_screenlayer.h.

+ Here is the caller graph for this function:

◆ isnotvisible()

bool a_screenlayer::isnotvisible ( ) const
inline

Definition at line 75 of file a_screenlayer.h.

◆ isvisible()

bool a_screenlayer::isvisible ( ) const
inline

Definition at line 74 of file a_screenlayer.h.

◆ line() [1/2]

void a_screenlayer::line ( double  x1,
double  y1,
double  z1,
double  x2,
double  y2,
double  z2 
)

Definition at line 193 of file a_screenlayer.cxx.

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

◆ line() [2/2]

void a_screenlayer::line ( double  x[6])

Definition at line 175 of file a_screenlayer.cxx.

◆ name() [1/2]

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

Definition at line 37 of file a_screenlayer.h.

◆ name() [2/2]

void a_screenlayer::name ( std::string  aname)
inline

Definition at line 36 of file a_screenlayer.h.

+ Here is the caller graph for this function:

◆ open()

void a_screenlayer::open ( const std::string  file)

Definition at line 627 of file a_screenlayer.cxx.

◆ operator!=()

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

Definition at line 55 of file a_screenlayer.h.

◆ operator==()

bool a_screenlayer::operator== ( const std::string  s) const
inline

Definition at line 54 of file a_screenlayer.h.

◆ point() [1/2]

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

Definition at line 159 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ point() [2/2]

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

Definition at line 142 of file a_screenlayer.cxx.

◆ polydata()

vtkPolyData* a_screenlayer::polydata ( )
inline

Definition at line 52 of file a_screenlayer.h.

◆ polydata2()

vtkPolyData* a_screenlayer::polydata2 ( )
inline

Definition at line 53 of file a_screenlayer.h.

◆ ptin()

void a_screenlayer::ptin ( std::istream &  in)

Definition at line 482 of file a_screenlayer.cxx.

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

◆ ptout()

void a_screenlayer::ptout ( std::ostream &  o) const

Definition at line 494 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ R() [1/2]

float a_screenlayer::R ( ) const
inline

Definition at line 44 of file a_screenlayer.h.

◆ R() [2/2]

void a_screenlayer::R ( float  v)

Definition at line 95 of file a_screenlayer.cxx.

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

◆ reset()

void a_screenlayer::reset ( )

Definition at line 66 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ reset_mapper_clipping()

void a_screenlayer::reset_mapper_clipping ( )

Definition at line 703 of file a_screenlayer.cxx.

◆ save()

void a_screenlayer::save ( const std::string  file)

Definition at line 633 of file a_screenlayer.cxx.

◆ surfaceactor()

vtkActor* a_screenlayer::surfaceactor ( )
inline

Definition at line 51 of file a_screenlayer.h.

+ Here is the caller graph for this function:

◆ surfacepoint()

void a_screenlayer::surfacepoint ( double  x,
double  y,
double  z 
)

Definition at line 284 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ surfaceready()

bool a_screenlayer::surfaceready ( )
inline

Definition at line 66 of file a_screenlayer.h.

+ Here is the caller graph for this function:

◆ thickness() [1/2]

int a_screenlayer::thickness ( ) const
inline

Definition at line 48 of file a_screenlayer.h.

+ Here is the caller graph for this function:

◆ thickness() [2/2]

void a_screenlayer::thickness ( const int  v)

Definition at line 131 of file a_screenlayer.cxx.

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

◆ vertex() [1/2]

void a_screenlayer::vertex ( double  x,
double  y,
double  z 
)

Definition at line 211 of file a_screenlayer.cxx.

+ Here is the caller graph for this function:

◆ vertex() [2/2]

void a_screenlayer::vertex ( double  x[3])

Definition at line 218 of file a_screenlayer.cxx.

◆ visibility()

void a_screenlayer::visibility ( const int  code)
inline

Definition at line 73 of file a_screenlayer.h.

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 560 of file a_screenlayer.cxx.

◆ operator>>

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

Definition at line 520 of file a_screenlayer.cxx.

Member Data Documentation

◆ actor2_

vtkActor* a_screenlayer::actor2_
protected

Definition at line 89 of file a_screenlayer.h.

◆ actor_

vtkActor* a_screenlayer::actor_
protected

Definition at line 88 of file a_screenlayer.h.

◆ B_

float a_screenlayer::B_
protected

Definition at line 97 of file a_screenlayer.h.

◆ empty_

bool a_screenlayer::empty_
protected

Definition at line 99 of file a_screenlayer.h.

◆ G_

float a_screenlayer::G_
protected

Definition at line 96 of file a_screenlayer.h.

◆ has_lines_

bool a_screenlayer::has_lines_
protected

Definition at line 102 of file a_screenlayer.h.

◆ has_points_

bool a_screenlayer::has_points_
protected

Definition at line 100 of file a_screenlayer.h.

◆ has_polylines_

bool a_screenlayer::has_polylines_
protected

Definition at line 103 of file a_screenlayer.h.

◆ has_vertices_

bool a_screenlayer::has_vertices_
protected

Definition at line 101 of file a_screenlayer.h.

◆ name_

std::string a_screenlayer::name_
protected

Definition at line 87 of file a_screenlayer.h.

◆ number_of_surface_point_

int a_screenlayer::number_of_surface_point_
protected

Definition at line 104 of file a_screenlayer.h.

◆ points_polyline_

vtkPoints* a_screenlayer::points_polyline_
protected

Definition at line 94 of file a_screenlayer.h.

◆ polydata2_

vtkPolyData* a_screenlayer::polydata2_
protected

Definition at line 92 of file a_screenlayer.h.

◆ polydata_

vtkPolyData* a_screenlayer::polydata_
protected

Definition at line 91 of file a_screenlayer.h.

◆ R_

float a_screenlayer::R_
protected

Definition at line 95 of file a_screenlayer.h.

◆ surface_actor_

vtkActor* a_screenlayer::surface_actor_
protected

Definition at line 90 of file a_screenlayer.h.

◆ surface_points_

vtkPoints* a_screenlayer::surface_points_
protected

Definition at line 93 of file a_screenlayer.h.

◆ thickness_

int a_screenlayer::thickness_
protected

Definition at line 98 of file a_screenlayer.h.


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