CFEL - ASG Software Suite  2.5.0
CASS
Namespaces | Typedefs | Functions
pixeldetector_mask.cpp File Reference

contains definition of the mask of a pixeldetector More...

#include <tr1/functional>
#include <map>
#include <string>
#include <stdexcept>
#include <sstream>
#include <iostream>
#include "pixeldetector_mask.h"
#include "cass_settings.h"
#include "common_data.h"
#include "log.h"
+ Include dependency graph for pixeldetector_mask.cpp:

Go to the source code of this file.

Namespaces

 cass
 
 cass::pixeldetector
 

Typedefs

typedef pair< int, int > cass::pixeldetector::index_t
 an index within a matrix More...
 
typedef pair< float, float > cass::pixeldetector::indexf_t
 an index within a matrix but with with floating point precision More...
 

Functions

index_t cass::pixeldetector::operator+ (const index_t &lhs, const index_t &rhs)
 operates a plus on two indices More...
 
index_t cass::pixeldetector::operator- (const index_t &lhs, const index_t &rhs)
 operates a minus on two indices More...
 
index_t cass::pixeldetector::operator* (const index_t &lhs, const index_t &rhs)
 operates times on two indices More...
 
indexf_t cass::pixeldetector::operator/ (const indexf_t &lhs, const indexf_t &rhs)
 operates devides on two indices More...
 
bool cass::pixeldetector::operator< (const indexf_t &lhs, const indexf_t::first_type rhs)
 operates less of an indices to a scalar More...
 
index_t::first_type cass::pixeldetector::dot (const index_t &lhs, const index_t &rhs)
 calculate the scalar product of two indices More...
 
size_t cass::pixeldetector::TwoD2OneD (const index_t &matrixIndex, const size_t width)
 convert matrix index to linearised index More...
 
index_t cass::pixeldetector::OneD2TwoD (const size_t linearisedIndex, const size_t width)
 convert linearised index to matrixindex More...
 
void cass::pixeldetector::addCircle (CommonData &data, CASSSettings &s)
 add a circle to the mask More...
 
void cass::pixeldetector::addSquare (CommonData &data, CASSSettings &s)
 add a square element to the mask More...
 
void cass::pixeldetector::addEllipse (CommonData &data, CASSSettings &s)
 add a ellipsodial element to the mask More...
 
void cass::pixeldetector::addRing (CommonData &data, CASSSettings &s)
 add a ring More...
 
void cass::pixeldetector::addTriangle (CommonData &data, CASSSettings &s)
 add a triangluar element to the mask More...
 
void cass::pixeldetector::createCASSMask (CommonData &data, CASSSettings &s)
 create the mask More...
 

Detailed Description

contains definition of the mask of a pixeldetector

Author
Lutz Foucar

Definition in file pixeldetector_mask.cpp.