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

#include <a_image.h>

+ Collaboration diagram for a_image:

Classes

class  file_error
 

Public Member Functions

 a_image (const std::string &image_file, const std::string &matrix_file)
 
 ~a_image ()
 
virtual std::string type () const
 
vtkTexture * texture () const
 
void image (const std::string &file_name)
 
void pmatrix (const std::string &file_name)
 
void gettcoords (vtkPoints *, vtkFloatArray *tcoords) const
 
void name (std::string aname)
 
std::string name () const
 
bool operator== (const std::string &s)
 
bool operator!= (const std::string &s)
 
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)
 

Static Public Member Functions

static const std::string help ()
 

Protected Member Functions

void file_exist (const std::string &name) const
 
void texture_coordinates (const double *x, float *tcoord) const
 

Protected Attributes

std::string name_
 
vtkTexture * texture_
 
int * bb_
 
a_pmat * p_
 

Friends

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

Detailed Description

Definition at line 32 of file a_image.h.

Constructor & Destructor Documentation

◆ a_image()

a_image::a_image ( const std::string &  image_file,
const std::string &  matrix_file 
)

Definition at line 43 of file a_image.cxx.

+ Here is the call graph for this function:

◆ ~a_image()

a_image::~a_image ( )

Definition at line 52 of file a_image.cxx.

Member Function Documentation

◆ file_exist()

void a_image::file_exist ( const std::string &  name) const
protected

Definition at line 75 of file a_image.cxx.

+ Here is the caller graph for this function:

◆ gettcoords()

void a_image::gettcoords ( vtkPoints *  points,
vtkFloatArray *  tcoords 
) const

Definition at line 131 of file a_image.cxx.

+ Here is the call graph for this function:

◆ help()

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

Definition at line 57 of file a_image.cxx.

+ Here is the caller graph for this function:

◆ image()

void a_image::image ( const std::string &  file_name)

Definition at line 83 of file a_image.cxx.

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

◆ name() [1/2]

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

Definition at line 44 of file a_image.h.

◆ name() [2/2]

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

Definition at line 43 of file a_image.h.

+ Here is the caller graph for this function:

◆ open()

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

◆ operator!=()

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

Definition at line 46 of file a_image.h.

◆ operator==()

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

Definition at line 45 of file a_image.h.

◆ pmatrix()

void a_image::pmatrix ( const std::string &  file_name)

Definition at line 105 of file a_image.cxx.

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

◆ read()

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

Definition at line 51 of file a_image.h.

◆ save()

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

◆ texture()

vtkTexture* a_image::texture ( ) const
inline

Definition at line 39 of file a_image.h.

+ Here is the caller graph for this function:

◆ texture_coordinates()

void a_image::texture_coordinates ( const double *  x,
float *  tcoord 
) const
protected

Definition at line 116 of file a_image.cxx.

+ Here is the caller graph for this function:

◆ type()

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

Definition at line 38 of file a_image.h.

+ Here is the caller graph for this function:

◆ write()

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

Definition at line 52 of file a_image.h.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

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

Member Data Documentation

◆ bb_

int* a_image::bb_
protected

Definition at line 63 of file a_image.h.

◆ name_

std::string a_image::name_
protected

Definition at line 61 of file a_image.h.

◆ p_

a_pmat* a_image::p_
protected

Definition at line 64 of file a_image.h.

◆ texture_

vtkTexture* a_image::texture_
protected

Definition at line 62 of file a_image.h.


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